[SOLVED] Can't install xsane. What does this message mean and what can I do?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't install xsane. What does this message mean and what can I do?
On this laptop, I upgraded to Ubuntu 18.04, instead of a new install. I think some packages from Ubuntu 16.04 hung around. Now when I try to install xsane, I get this.
Quote:
pedro@pedro-school2:~$ sudo apt-get install xsane
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xsane : Depends: libsane1 (>= 1.0.24) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So I tried this:
Quote:
pedro@pedro-school2:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
After this last message, what can I do??
Quote:
pedro@pedro-school2:~$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
libsane
The following NEW packages will be installed:
libsane1
The following packages will be upgraded:
colord libsane-common sane sane-utils simple-scan
5 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/3,346 kB of archives.
After this operation, 1,920 kB disk space will be freed.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 215700 files and directories currently installed.)
Preparing to unpack .../libsane1_1.0.27+git20180917-bionic0_amd64.deb ...
Unpacking libsane1:amd64 (1.0.27+git20180917-bionic0) ...
dpkg: error processing archive /var/cache/apt/archives/libsane1_1.0.27+git20180917-bionic0_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libsane.so.1.0.27', which is also in package libsane:amd64 1.0.27+git20180809-xenial0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libsane1_1.0.27+git20180917-bionic0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pedro@pedro-school2:~$
On my newer laptop, I did a clean install of Ubu 18.04 and xsane installed and works fine, thanks to Rolf Bensch and git hub!
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
You could try removing the libsane package and manually installing the libsane1 package.
You may need to use the "dpkg" command to install the xsane package. When you are installing something the "dpkg" command expects that you have manually downloaded the package(s) you wish to install beforehand - at least in my Ubuntu 18.04 VM anyway. As the "apt-get" command doesn't always work.
eg.
Code:
sudo dpkg -r libsane
then
Code:
sudo dpkg -i /path/to/libsane1
(then try installing xsane package again)
or
Code:
sudo dpkg -i --force-all /path/to/xsane
Using the command directly above, I was able to install the xsane package even though I did not have it's dependencies installed - and it warned me about that too.
Note: Replace the "/path/to/" with the correct path to said package, with the full file name for said package(s).
To see if you have packages that aren't fully installed, could you please paste the output from:
Code:
dpkg -l | grep -v "^ii"
If you aren't going to be pasting the output within CODE tags (https://www.linuxquestions.org/quest...og.php?b=36313) (note that you used QUOTE tags in your opening post rather than CODE tags), please do not paste the line of equals signs with the output from the above. Many thanks.
Also, please paste the output from:
Code:
inxi -r
so that we can check that your software sources are all now bionic.
pedro@pedro-school2:~$ dpkg -l | grep -v "^ii"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================================-===========================================-============-===============================================================================
rc apparmor-easyprof 2.12-4ubuntu5 all AppArmor easyprof profiling tool
rc appmenu-qt5 0.3.0+16.04.20170216-0ubuntu1 amd64 application menu for Qt5
rc click 0.4.43+16.04.20170613-0ubuntu1 amd64 Click packages
rc click-apparmor 0.3.13.1 amd64 Click manifest to AppArmor easyprof conversion tools
rc dbus-property-service 0.9 all allow users to access properties in an android container
rc flashplugin-installer 30.0.0.134ubuntu0.18.04.1 amd64 Adobe Flash Player plugin installer
rc hplip 3.16.3+repack0-1 amd64 HP Linux Printing and Imaging System (HPLIP)
rc idle-python3.5 3.5.2-2ubuntu0~16.04.4 all IDE for Python (v3.5) using Tkinter
rc indicator-network 0.7.1+16.04.20160406.1-0ubuntu1 amd64 Systems settings menu service - Network indicator
rc kerneloops-daemon 0.12+git20140509-2ubuntu1 amd64 kernel oops tracker
it libc-bin 2.27-3ubuntu1 amd64 GNU C Library: Binaries
rc libdbus-cpp5:amd64 5.0.0+15.10.20151022.1-0ubuntu1 amd64 header-only dbus-binding leveraging C++-11
rc libdouble-conversion1v5:amd64 2.0.1-3ubuntu2 amd64 routines to convert IEEE floats to and from strings
rc libgflags2v5 2.1.2-3 amd64 commandline flags module for C++ (shared library)
rc libgnomevfs2-common 1:2.24.4-6.1ubuntu2 amd64 GNOME Virtual File System (common files)
rc libgnomevfs2-extra:amd64 1:2.24.4-6.1ubuntu2 amd64 GNOME Virtual File System (extra modules)
rc libhybris 0.1.0+git20151016+6d424c9-0ubuntu7 amd64 Allows to run bionic-based HW adaptations in glibc systems - libs
rc libmad0:amd64 0.15.1b-8ubuntu1 amd64 MPEG audio decoder library
rc libopencc1:amd64 0.4.3-2build1 amd64 simplified-traditional chinese conversion library - runtime
rc libopenjpeg5:amd64 1:1.5.2-3.1 amd64 JPEG 2000 image compression/decompression library - runtime
rc libperl5.22:amd64 5.22.1-9ubuntu0.5 amd64 shared Perl library
rc libsane-dev:amd64 1.0.27+git20180917-bionic0 amd64 API development library for scanners [development files]
rc libsane-hpaio:amd64 3.17.10+repack0-5 amd64 HP SANE backend for multi-function peripherals
rc libschroedinger-1.0-0:amd64 1.0.11-2.1build1 amd64 library for encoding/decoding of Dirac video streams
rc libwildmidi1:amd64 0.3.8-2 amd64 software MIDI player library
rc linux-image-4.13.0-36-generic 4.13.0-36.40~16.04.1 amd64 Linux kernel image for version 4.13.0 on 64 bit x86 SMP
rc linux-image-4.13.0-37-generic 4.13.0-37.42~16.04.1 amd64 Linux kernel image for version 4.13.0 on 64 bit x86 SMP
rc linux-image-4.13.0-38-generic 4.13.0-38.43~16.04.1 amd64 Linux kernel image for version 4.13.0 on 64 bit x86 SMP
rc linux-image-4.13.0-39-generic 4.13.0-39.44~16.04.1 amd64 Linux kernel image for version 4.13.0 on 64 bit x86 SMP
rc linux-image-4.13.0-41-generic 4.13.0-41.46~16.04.1 amd64 Linux kernel image for version 4.13.0 on 64 bit x86 SMP
rc linux-image-4.13.0-43-generic 4.13.0-43.48~16.04.1 amd64 Linux kernel image for version 4.13.0 on 64 bit x86 SMP
rc linux-image-4.13.0-45-generic 4.13.0-45.50~16.04.1 amd64 Linux kernel image for version 4.13.0 on 64 bit x86 SMP
rc linux-image-4.15.0-24-generic 4.15.0-24.26 amd64 Signed kernel image generic
rc linux-image-4.15.0-30-generic 4.15.0-30.32 amd64 Signed kernel image generic
rc linux-image-4.15.0-32-generic 4.15.0-32.35 amd64 Signed kernel image generic
rc linux-image-extra-4.13.0-36-generic 4.13.0-36.40~16.04.1 amd64 Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP
rc linux-image-extra-4.13.0-37-generic 4.13.0-37.42~16.04.1 amd64 Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP
rc linux-image-extra-4.13.0-38-generic 4.13.0-38.43~16.04.1 amd64 Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP
rc linux-image-extra-4.13.0-39-generic 4.13.0-39.44~16.04.1 amd64 Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP
rc linux-image-extra-4.13.0-41-generic 4.13.0-41.46~16.04.1 amd64 Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP
rc linux-image-extra-4.13.0-43-generic 4.13.0-43.48~16.04.1 amd64 Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP
rc linux-image-extra-4.13.0-45-generic 4.13.0-45.50~16.04.1 amd64 Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP
rc linux-modules-4.15.0-24-generic 4.15.0-24.26 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-4.15.0-30-generic 4.15.0-30.32 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-4.15.0-32-generic 4.15.0-32.35 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-extra-4.15.0-24-generic 4.15.0-24.26 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-extra-4.15.0-30-generic 4.15.0-30.32 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-extra-4.15.0-32-generic 4.15.0-32.35 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-signed-image-4.13.0-37-generic 4.13.0-37.42~16.04.1 amd64 Signed kernel image generic
rc linux-signed-image-4.13.0-38-generic 4.13.0-38.43~16.04.1 amd64 Signed kernel image generic
rc linux-signed-image-4.13.0-39-generic 4.13.0-39.44~16.04.1 amd64 Signed kernel image generic
rc linux-signed-image-4.13.0-41-generic 4.13.0-41.46~16.04.1 amd64 Signed kernel image generic
rc linux-signed-image-4.13.0-43-generic 4.13.0-43.48~16.04.1 amd64 Signed kernel image generic
rc linux-signed-image-4.13.0-45-generic 4.13.0-45.50~16.04.1 amd64 Signed kernel image generic
rc network-manager-openvpn 1.8.2-1 amd64 network management framework (OpenVPN plugin core)
rc ofono 1.21-1ubuntu1 amd64 Mobile telephony stack (daemon)
rc openvpn 2.4.4-2ubuntu1 amd64 virtual private network daemon
rc powerd 0.16+16.04.20160204.1-0ubuntu1 amd64 Power daemon to monitor and control system power state
rc python3-aptdaemon.pkcompat 1.1.1+bzr982-0ubuntu14 all PackageKit compatibilty for AptDaemon
rc s-nail 14.9.6-3 amd64 feature-rich BSD mail(1)
rc snapd-login-service 1.13-0ubuntu0.16.04.1 amd64 Daemon to allow non-root access to snapd
rc system-image-common 3.1+16.04.20160407-0ubuntu1 all Ubuntu system image updater
rc system-image-dbus 3.1+16.04.20160407-0ubuntu1 all Ubuntu system image updater command line client
rc ubuntu-system-settings 0.3+16.04.20160330-0ubuntu1 amd64 System Settings application for Ubuntu Touch
rc ubuntuone-client-data 15.10+15.10.20151007 all Data files for Ubuntu One
it udev 237-3ubuntu10.3 amd64 /dev/ and hotplug management daemon
rc unity-webapps-common 2.4.17+15.10.20150616-0ubuntu2 all Unity WebApp integration scripts
rc unity-webapps-service 2.5.0~+16.04.20160201-0ubuntu1 amd64 Service for Web Apps integration with the Unity desktop
rc upstart 1.13.2-0ubuntu21.1 amd64 event-based init daemon - essential binaries
rc urfkill 0.6.0~20150318.103828.5539c0d.1-0ubuntu6 amd64 wireless killswitch management daemon for laptops
rc webbrowser-app 0.23+16.04.20161028-0ubuntu2 amd64 Ubuntu web browser
pedro@pedro-school2:~$
This from inxi -r
Code:
pedro@pedro-school2:~$ inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://cn.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ bionic universe
deb http://cn.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://cn.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main # disabled on upgrade to bionic
Active apt sources in file: /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu bionic main # disabled on upgrade to bionic
Active apt sources in file: /etc/apt/sources.list.d/rolfbensch-ubuntu-sane-git-bionic.list
deb http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu bionic main
pedro@pedro-school2:~$
Thanks. I can't speak for the Epson or LibreOffice repos, but the others look good. The fact that you have got the Sane repo could well be causing your problems though due to confusion between the Sane versions in your normal Ubuntu repos and those provided by the Sane PPA.
As for the packages, the rc's shouldn't be a problem - those are residual configurations left behind when you delete a package but don't purge it. They can all be removed with:
The two packages marked 'it' are more of a problem. That means that the packages are marked for installation but are awaiting triggers. You should probably try and reinstall them and see what the problem is. However one of those two packages, udev, is a pretty important system package so goodness knows how it got in that state or what mucking around with it will do.
Anyway, try purging those packages marked 'rc' as described above and then we'll continue on from there.
Well, I did that. I won't bother you with all the output. At first I was worried it wanted to uninstall the latest kernel, so I aborted, checked against uname -a then carried on.
Code:
pedro@pedro-school2:~$ sudo apt purge $(dpkg -l | awk '/^rc/ {print $2}')
[sudo] password for pedro:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apparmor-easyprof* appmenu-qt5* click* click-apparmor* dbus-property-service* flashplugin-installer* hplip* idle-python3.5* indicator-network*
kerneloops-daemon* libdbus-cpp5* libdouble-conversion1v5* libgflags2v5* libgnomevfs2-common* libgnomevfs2-extra* libhybris* libmad0* libopencc1*
libopenjpeg5* libperl5.22* libsane-dev* libsane-hpaio* libschroedinger-1.0-0* libwildmidi1* linux-image-4.13.0-36-generic*
linux-image-4.13.0-37-generic* linux-image-4.13.0-38-generic* linux-image-4.13.0-39-generic* linux-image-4.13.0-41-generic*
linux-image-4.13.0-43-generic* linux-image-4.13.0-45-generic* linux-image-4.15.0-24-generic* linux-image-4.15.0-30-generic*
linux-image-4.15.0-32-generic* linux-image-extra-4.13.0-36-generic* linux-image-extra-4.13.0-37-generic* linux-image-extra-4.13.0-38-generic*
linux-image-extra-4.13.0-39-generic* linux-image-extra-4.13.0-41-generic* linux-image-extra-4.13.0-43-generic*
linux-image-extra-4.13.0-45-generic* linux-modules-4.15.0-24-generic* linux-modules-4.15.0-30-generic* linux-modules-4.15.0-32-generic*
linux-modules-extra-4.15.0-24-generic* linux-modules-extra-4.15.0-30-generic* linux-modules-extra-4.15.0-32-generic*
linux-signed-image-4.13.0-37-generic* linux-signed-image-4.13.0-38-generic* linux-signed-image-4.13.0-39-generic*
linux-signed-image-4.13.0-41-generic* linux-signed-image-4.13.0-43-generic* linux-signed-image-4.13.0-45-generic* network-manager-openvpn* ofono*
openvpn* powerd* python3-aptdaemon.pkcompat* s-nail* snapd-login-service* system-image-common* system-image-dbus* ubuntu-system-settings*
ubuntuone-client-data* unity-webapps-common* unity-webapps-service* upstart* urfkill* webbrowser-app*
0 upgraded, 0 newly installed, 69 to remove and 31 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
pedro@pedro-school2:~$ uname -a
Linux pedro-school2 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
pedro@pedro-school2:~$ sudo apt purge $(dpkg -l | awk '/^rc/ {print $2}')
After that, I tried to install xsane. Like I said, this is an upgrade from 16.04. On the newer laptop, I did a clean install and have no problems with xsane.
Code:
pedro@pedro-school2:~$ sudo apt-get install xsane
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xsane : Depends: libsane1 (>= 1.0.24) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
pedro@pedro-school2:~$
If you have the time and any further tips, I am always grateful!
EDIT: I tried this, but get a dpkg error:
Code:
pedro@pedro-school2:~$ sudo apt-get full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libreoffice-style-galaxy libxmlsec1 libxmlsec1-nss
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
libsane
The following NEW packages will be installed:
libreoffice-style-colibre libreoffice-style-elementary libsane1
The following packages will be upgraded:
colord libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common
libreoffice-core libreoffice-draw libreoffice-gnome libreoffice-gtk3 libreoffice-help-en-gb libreoffice-help-en-us libreoffice-help-zh-cn
libreoffice-impress libreoffice-java-common libreoffice-l10n-en-gb libreoffice-l10n-en-za libreoffice-l10n-zh-cn libreoffice-math
libreoffice-ogltrans libreoffice-pdfimport libreoffice-sdbc-hsqldb libreoffice-style-breeze libreoffice-style-galaxy libreoffice-style-tango
libreoffice-writer libsane-common sane sane-utils simple-scan
31 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/114 MB of archives.
After this operation, 3,427 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 215692 files and directories currently installed.)
Preparing to unpack .../libsane1_1.0.27+git20180917-bionic0_amd64.deb ...
Unpacking libsane1:amd64 (1.0.27+git20180917-bionic0) ...
dpkg: error processing archive /var/cache/apt/archives/libsane1_1.0.27+git20180917-bionic0_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libsane.so.1.0.27', which is also in package libsane:amd64 1.0.27+git20180809-xenial0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libsane1_1.0.27+git20180917-bionic0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pedro@pedro-school2:~$
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by Pedroski
...
If you have the time and any further tips, I am always grateful!
...
Really? I take it you didn't bother to read post #2 ? If you're not going to read it, then there's little point in asking the question in the first place.
Once again, in my VM of Ubuntu 18.04 the dpkg command using the "force-all" option can force an installation of the packages refusing to install. Please read my post #2 again and try what it says.
Thanks Pedroski. There was no need to try to reinstall xsane yet though - we're not quite there at this point. One thing at a time. You won't be able to upgrade until we get the sane problem worked out, but first we have to ensure that the package system, apart from sane, is in a good state.
So, next let's try reinstalling the libc-bin package:
Code:
sudo apt-get --reinstall install libc-bin
It could well be that this doesn't work due to the sane problem, in which case the next step is to find out what versions of the various sane packages you have installed:
Thanks again. I ran sudo apt-get --reinstall install libc-bin there were no problems.
Here is the output of dpkg -l "*sane*" | grep "^ii"
Code:
pedro@pedro-school2:~$ dpkg -l "*sane*" | grep "^ii"
ii libsane-common 1.0.27+git20180809-xenial0 amd64 API library for scanners -- documentation and support files
ii libsane-extras:amd64 1.0.22.5 amd64 API library for scanners -- extra backends
ii libsane-extras-common 1.0.22.5 all API library for scanners -- documentation and support files
ii sane 1.0.14-11 amd64 scanner graphical frontends
ii sane-utils 1.0.27+git20180809-xenial0 amd64 API library for scanners -- utilities
pedro@pedro-school2:~$
The reason I use http://ppa.launchpad.net/rolfbensch/sane-git/ubuntu bionic main is because I find, after a new install, the scanner will not work and I have often spent a lot of time searching for fixes. One time I found the advice of using this ppa. Since then, the scanner is never a problem. (I need a ppa for bluetooth too, because that is always hard to get going!)
OK, did sudo apt-get --reinstall install udev , worked fine,
and then ran dpkg -l | grep -v "^ii" again, looks better this time!
Now only this Ubu 16.04 remnant left, which seems to be causing the trouble. I should have done a fresh install instead of upgrade!! I have never had any luck with upgrades and I use dejadup to back up my /home, so should not be a problem.
Code:
pedro@pedro-school2:~$ dpkg -l | grep -v "^ii"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================================-===========================================-============-===============================================================================
ri libsane:amd64 1.0.27+git20180809-xenial0 amd64 API library for scanners
pedro@pedro-school2:~$
Thanks. That does look better. "ri" means that the package is installed but marked for removal. Let's help it on its way:
Code:
apt purge libsane
As for the rest, what I would like to do first is disable that PPA and get sane and xsane properly installed from the normal repos. If that works, then we can think about using the PPA. If you're up for that, let me know.
Thanks a lot, I will do that. I am a morning person, so tomorrow morning early is best.
As I said, my experience tells me, from Ubu normal repositories, xsane will not find my Epson L350 multifunction printer scanner, at least the scanner, but I can always re-enable the git-hub ppa later. So I'll disable that, purge and be damned!
Well, the continuing saga! I know you are patient, that's good!
I ran sudo apt purge libsane, which did not report any problems. Trying to install xsane, the result was somewhat unexpected, back to the original problem:
Quote:
pedro@pedro-school2:~$ sudo apt-get install xsane
[sudo] password for pedro:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xsane : Depends: libsane1 (>= 1.0.24) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
pedro@pedro-school2:~$
I tried a reboot, but the problem persists. The following looks empty:
pedro@pedro-school2:~$ sudo dpkg -r libsane
dpkg: warning: ignoring request to remove libsane which isn't installed
pedro@pedro-school2:~$
One other thing: I used hplip-3.18.4 to get my old hp 1025 printer working. apt purge left some files in there, which are from hp. Don't know if that is the problem, see screenshot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.