Siduction Forum
Siduction Forum => Upgrade Warnings => Topic started by: Xaver on 2018/09/15, 13:35:21
-
At present upgrades of sane are a little confusing.
sane-utils (1.0.27-1) will remove libsane (1.0.25-4.1). Solution: Put sane-utils on hold until libsane will be upgraded to (1.0.27-...).
Current system upgrade will remove xsane. I could not find out why. So I put xsane on hold. The upgrade list did not change, but no removal of xsane anymore.
After the upgrade xsane still works fine.
Now I have marked xsane as unhold again and it is not indicated to be removed anymore.
Strange.
-
Thats easy - the debian maintainer create a mess and some people discuss how to solve - the solution is easy:
apt-mark hold xsane
and let the utils go. And wait a year or so - thats why we stick with the release name 'Patience' 8)
-
Xsaver: Seems to be resolved now. I can't remember exactly what I did but I think I installed libsane1 which removed libsane. If xsane gets removed just reinstall it after installing libsane1.
Anyway simple-scan still works so you're not without a scanning tool.
-
Yes libsane1 replaced libsane...found that out as well.
-
@clubex @DeepDayze
Thank you. It was just my fault to hang on to libsane.
I have missed, that libsane should be replaced by libsane1.
The debian developers have done a good job indeed.
Upgrades and Xsane work fine without any problems now.
-
erm - a good job is some kind different - it was bullshit and it remains bullshit.
Just see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908681
And no - the maintainer did not a good job.
-
@ melmarker
Ohh! Seems that I have been a little too humble.
P.S.: Do you have an idea, why my last post is in bold letters, allthough I have not formatted it in bold?
Also I wonder, why I cannot modify my first post of 'Kernel 4.18 –> X does not start in VirtualBox' anymore. It should be marked as solved.
-
@ [font=droidsansbold][size=1em]clubex @ [/size][/font][font=droidsansbold][size=1em]DeepDayze[/size][/font]
[font=droidsansbold]
The answer is dead easy - just don't use the visual editor - it is broken for years and was never fixed upstream
second: Limitation of smf - rights are not fine grained enough. If we would allow changes after a certain amount of time, we would allow deletion of old posts too - not the best idea.
-
i was a bit creative and built the sane stack against a new libsane instead of libsane1 - it might be that i "forget" some breaks/replaces - in that case just install the needed packages with:
apt install libsane libsane-common libsane1-
-
Sorry – I have thought that libsane1 has solved the issue, but it has not.
Again Xsane and several other packages (colord gnome-color-manager libkf5sane5 libsane1 sane-utils tellico xsane) will be removed.
Interim solution: # apt-mark hold xsane sane-utils
-
@Xaver,
let the packages go and reinstall them after that.
Here @melmarkers suggestion
apt install libsane libsane-common libsane1-
did the trick!
-
@Xaver,
let the packages go and reinstall them after that.
Here @melmarkers suggestion
apt install libsane libsane-common libsane1-
did the trick!
Sorry, not if you have libsane1 installed.
LANG=C apt install libsane libsane-common libsane1-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libsane1
The following NEW packages will be installed:
libsane
The following packages will be upgraded:
libsane-common
1 upgraded, 1 newly installed, 1 to remove and 5 not upgraded.
Need to get 0 B/2759 kB of archives.
After this operation, 202 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 364540 files and directories currently installed.)
Preparing to unpack .../libsane_1.0.27-2~1_amd64.deb ...
Unpacking libsane:amd64 (1.0.27-2~1) ...
dpkg: error processing archive /var/cache/apt/archives/libsane_1.0.27-2~1_amd64.deb (--unpack):
trying to overwrite '/lib/udev/hwdb.d/20-sane.hwdb', which is also in package libsane1:amd64 1.0.27-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libsane_1.0.27-2~1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
LANG=C apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
hplip hplip-gui kolourpaint libkf5sane5 libsane1 printer-driver-postscript-hp sane sane-utils xsane
The following packages will be upgraded:
kompare kpart5-kompare libgnutls30 libkomparediff2-5 libkompareinterface5 libsane-common
6 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
Need to get 1814 kB/2398 kB of archives.
After this operation, 25.8 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
-
Libsane1 has been removed by @melmarkers apt command!
Look at the minus sign! :)
-
see above , sorry i was not fast enough with my edit.
-
I had no issues with this . . . until today!
On update of libsane-common to 1.0.27-2~1 :
The following packages will be REMOVED:
colord (1.4.3-3.1)
hplip (3.17.10+repack0-7.1)
hplip-gui (3.17.10+repack0-7.1)
iscan (2.30.1-1~usb0.1.ltdl7)
iscan-plugin-gt-x750 (2.1.2-1)
kdegraphics (4:17.08.3+5.102)
kolourpaint (4:18.04.0-1)
kolourpaint4 (4:18.04.0-1)
libkf5sane5 (17.08.3-1)
libsane1 (1.0.27-1)
sane (1.0.14-13.1)
sane-utils (1.0.27-2~1)
xsane (0.999-5)
-
On my system the problem seems to be solved now. I have run
# apt install libsane libsane-common libsane1-
# apt --fix-broken install (removed gnome-color-manager tellico xsane)
# apt upgrade && apt full-upgrade
# apt install tellico gnome-color-manager xsane
Everything seems to be ok so far.