can't uninstall hplip
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| HPLIP |
New
|
Undecided
|
Unassigned | ||
Bug Description
hplip (3.22.10) installed on 27 Jan 2023; this caused a number of other programs to fail (took a while to diagnose -- report from failing programs was consistentlly: "cryptography pkg 39.0.0 incompatible with pyOpenSSL 21.0.0"); finally traced to hplip installation.
FWIW, the last time I ran hp device manager (about two weeks ago) it worked fine; the only changes to the machine logged between then and now have been two automatic software updates. Ubuntu 22.0.4; System76 Gazelle17 uptodate on firmware and software.
Today, tried hplip-uninstall; error message: (uninstaller log stops at "Uninstaller log saved in:..."); hp-doctor fails same;
> donald@
> [sudo] password for donald:
>
> HP Linux Imaging and Printing System (ver. 0.0.0)
> HPLIP Uninstaller ver. 1.0
>
> Copyright (c) 2001-18 HP Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
>
> Uninstaller log saved in: /root/.
>
> -Traceback (most recent call last):
> File "/usr/bin/
> core.init()
> File "/usr/share/
> self.distro_name = self.distros_
> KeyError: 0
> donald@
Result of hp-check:
> donald@
> /usr/bin/
> if 'getfacl' not in g and '' is not g and 'file' not in g:
> error: Unable to locate models.dat file
> Saving output in log file: /home/donald/
>
> HP Linux Imaging and Printing System (ver. 0.0.0)
> Dependency/Version Check Utility ver. 15.1
>
> Copyright (c) 2001-18 HP Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
>
> Note: hp-check can be run in three modes:
> 1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are
installed to successfully compile HPLIP.
> 2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper
dependencies installed to successfully run.
> 3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).
>
> Check types:
> a. EXTERNALDEP - External Dependencies
> b. GENERALDEP - General Dependencies (required both at compile and run time)
> c. COMPILEDEP - Compile time Dependencies
> d. [All are run-time checks]
> PYEXT SCANCONF QUEUES PERMISSION
>
> Status Types:
> OK
> MISSING - Missing Dependency or Permission or Plug-in
> INCOMPAT - Incompatible dependency-version or Plugin-version
>
> -Traceback (most recent call last):
> File "/usr/bin/
> dep.core.init()
> File "/usr/share/
> self.distro_name = self.distros_
> KeyError: 0
> donald@

Purpose of uninstalling hplip is to try installing it in a python venv to isolate its python dependencies from the rest of the system.