Am 06.11.21 um 18:32 schrieb Ralph Little:
Hi, Looking at the PPA package details for sane-fit and sane-releases for the focal distro, I see libsane-common listed. ...... Another thing that you can try is to remove all the sane packages and install from fresh.
This seems to be no good idea, as it will remove my desktop: $ LC_ALL=C sudo apt -s remove libsane-common libsane1 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: colord-data djvulibre-bin gir1.2-goocanvas-2.0 hplip-data libalgorithm-c3-perl libapache-pom-java libbcprov-java libbit-vector-perl libcarp-clan-perl libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl libcolord-gtk1 libcolorhug2 libcommons-lang3-java libcommons-parent-java libconfig-general-perl libdata-optlist-perl libdate-calc-perl libdate-calc-xs-perl libdevel-globaldestruction-perl libdist-checkconflicts-perl libemail-date-format-perl libeval-closure-perl libexception-class-perl libfilesys-df-perl libgoocanvas-2.0-9 libgoocanvas-2.0-common libgoocanvas2-perl libgraphics-tiff-perl libgraphicsmagick++-q16-12 libgsound0 libgtk3-imageview-perl libgtk3-simplelist-perl libgtksourceviewmm-3.0-0v5 libgtkspellmm-3.0-0v5 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3 libhpmud0 libieee1284-3 libimage-magick-perl libimage-magick-q16-perl libimage-png-libpng-perl libipc-shareable-perl liblog-dispatch-perl liblog-log4perl-perl libmime-lite-perl libmime-types-perl libmro-compat-perl libnamespace-autoclean-perl libossp-uuid-perl libossp-uuid16 libparams-util-perl libparams-validationcompiler-perl libpdf-builder-perl libproc-processtable-perl librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 libsane-hpaio libset-intspan-perl libsnmp-base libsnmp35 libspecio-perl libsub-exporter-perl libsub-install-perl libtiff-tools libxml++2.6-2v5 libxstring-perl pdf2djvu pdftk pdftk-java printer-driver-hpcups printer-driver-postscript-hp python3-dbus.mainloop.pyqt5 python3-notify2 python3-renderpm python3-reportlab python3-reportlab-accel rygel snmp unpaper xsane-common Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: <<<<< =========================== <<<< colord gimagereader gnome-control-center gscan2pdf hplip hplip-gui iscan iscan-network-nt libimage-sane-perl libsane-common libsane1 sane-utils simple-scan ubuntu-desktop ubuntu-desktop-minimal xsane <<<<< =========================== <<<< 0 upgraded, 0 newly installed, 16 to remove and 1 not upgraded. Remv ubuntu-desktop [1.450.2] Remv ubuntu-desktop-minimal [1.450.2] Remv gnome-control-center [1:3.36.5-0ubuntu3] Remv colord [1.4.4-2] Remv gimagereader [3.3.1-1build1] Remv gscan2pdf [2.12.3-0~ppa2focal] Remv hplip-gui [3.20.3+dfsg0-2] Remv hplip [3.20.3+dfsg0-2] Remv iscan-network-nt [1.1.2-1] Remv iscan [2.30.4-2] Remv libimage-sane-perl [5-1] Remv sane-utils [1.0.32+git20210315-focal0] Remv xsane [0.999-8ubuntu2.1] Remv simple-scan [3.36.3-0ubuntu0.20.04.0] Remv libsane1 [1.0.32+git20210315-focal0] Remv libsane-common [1.0.32+git20210315-focal0]
From the above output, it seems like you have a package installed from sane-git but are trying to install now from sane-releases.
Good catch !!! Unfortunately I get a message which I do not understand, when I try to reinstall: $ LC_ALL=C sudo apt --reinstall install libsane-common libsane1 Reading package lists... Done Building dependency tree Reading state information... Done Reinstallation of libsane-common is not possible, it cannot be downloaded. Reinstallation of libsane1 is not possible, it cannot be downloaded. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. hhh
Make sure that you only have one of sane-git and sane-releases in your repo list.
Yes, currently only sane-release is present: $ LC_ALL=C sudo apt policy libsane* libsane-extras: Installed: (none) Candidate: (none) Version table: libsane-dev: Installed: (none) Candidate: 1.0.32-focal0 Version table: 1.0.32-focal0 500 500 http://ppa.launchpad.net/sane-project/sane-release/ubuntu focal/main amd64 Packages 1.0.29-0ubuntu5.2 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 1.0.29-0ubuntu5.1 500 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 1.0.29-0ubuntu5 500 500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages libsane1: Installed: 1.0.32+git20210315-focal0 Candidate: 1.0.32+git20210315-focal0 Version table: *** 1.0.32+git20210315-focal0 100 100 /var/lib/dpkg/status 1.0.32-focal0 500 500 http://ppa.launchpad.net/sane-project/sane-release/ubuntu focal/main amd64 Packages 1.0.29-0ubuntu5.2 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages 1.0.29-0ubuntu5.1 500 500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages 1.0.29-0ubuntu5 500 500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages libsane-hpaio: Installed: 3.20.3+dfsg0-2 Candidate: 3.20.3+dfsg0-2 Version table: 3.20.11+dfsg0-1+lmtrfocal -1 -1 http://packages.linuxmint.com ulyssa/backport amd64 Packages *** 3.20.3+dfsg0-2 500 500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages 100 /var/lib/dpkg/status libsane-common: Installed: 1.0.32+git20210315-focal0 Candidate: 1.0.32+git20210315-focal0 Version table: *** 1.0.32+git20210315-focal0 100 100 /var/lib/dpkg/status 1.0.32-focal0 500 500 http://ppa.launchpad.net/sane-project/sane-release/ubuntu focal/main amd64 Packages 500 http://ppa.launchpad.net/sane-project/sane-release/ubuntu focal/main i386 Packages 1.0.29-0ubuntu5.2 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages 1.0.29-0ubuntu5.1 500 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 1.0.29-0ubuntu5 500 500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages libsane: Installed: (none) Candidate: 1.0.32-focal0 Version table: 1.0.32-focal0 500 500 http://ppa.launchpad.net/sane-project/sane-release/ubuntu focal/main amd64 Packages 1.0.29-0ubuntu5.2 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 1.0.29-0ubuntu5.1 500 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 1.0.29-0ubuntu5 500 500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages $ LC_ALL=C sudo apt policy libsane*:i386 libsane-dev:i386: Installed: (none) Candidate: 1.0.32-focal0 Version table: 1.0.32-focal0 500 500 http://ppa.launchpad.net/sane-project/sane-release/ubuntu focal/main i386 Packages 1.0.29-0ubuntu5.2 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages 1.0.29-0ubuntu5.1 500 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 1.0.29-0ubuntu5 500 500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages libsane1:i386: Installed: (none) Candidate: 1.0.32-focal0 Version table: 1.0.32-focal0 500 500 http://ppa.launchpad.net/sane-project/sane-release/ubuntu focal/main i386 Packages 1.0.29-0ubuntu5.2 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages 1.0.29-0ubuntu5.1 500 500 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages 1.0.29-0ubuntu5 500 500 http://de.archive.ubuntu.com/ubuntu focal/universe i386 Packages libsane-common:i386: Installed: (none) Candidate: (none) Version table: libsane:i386: Installed: (none) Candidate: 1.0.32-focal0 Version table: 1.0.32-focal0 500 500 http://ppa.launchpad.net/sane-project/sane-release/ubuntu focal/main i386 Packages 1.0.29-0ubuntu5.2 500 500 http://de.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages 1.0.29-0ubuntu5.1 500 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 1.0.29-0ubuntu5 500 500 http://de.archive.ubuntu.com/ubuntu focal/main i386 Packages -Ulf
