Tuesday, October 3, 2017

printing - Installing hplip 3.19.8 fails with errors about dependencies on Ubuntu 18.04

During the install, the installer doesn't recognize Ubuntu 18.04, so it asks me to tell it which OS and version I'm using.




After that, it finally fails with:



INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: This installer cannot install 'libusb' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.



I have installed according to How to install latest HPLIP on my Ubuntu to support my HP printer and/or scanner?



output of grep -r ^deb /etc/apt/ --include="*.list":



/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu bionic main universe restricted multiverse
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu/ bionic-security universe restricted multiverse main
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu bionic-updates universe restricted multiverse main



Admittedly this is on an upgraded system not a clean install of 18.04.



I'm not sure whether installing libusb would not just lead to a cascade of additional missing dependencies ― before libusb, I already added (using apt) one missing dependency that it failed on with the same type of error message: cups-devel, by fiddling to gather that libcups2-dev contains cups-devel.



Installing libusb and libusb-dev didn't solve this error message, they are probably not the right package for what's missing.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...