this post was submitted on 26 Jul 2023
7 points (100.0% liked)

Debian operating system

2724 readers
2 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

founded 4 years ago
MODERATORS
 

Hi everyone,

For the life of me, I cannot install hplip on Debian bookworm.

Here is what I get when I run apt install hplip-gui:

Unpacking printer-driver-postscript-hp (3.22.10+dfsg0-2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-jEfRdO/7-printer-driver-postscript-hp_3.22.10+dfsg0-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/cups/filter/hpps', which is also in package hplipclassdriver 3.23.5
Errors were encountered while processing:
 /tmp/apt-dpkg-install-jEfRdO/1-libsane-hpaio_3.22.10+dfsg0-2_amd64.deb
 /tmp/apt-dpkg-install-jEfRdO/2-printer-driver-hpcups_3.22.10+dfsg0-2_amd64.deb
 /tmp/apt-dpkg-install-jEfRdO/5-hplip_3.22.10+dfsg0-2_amd64.deb
 /tmp/apt-dpkg-install-jEfRdO/7-printer-driver-postscript-hp_3.22.10+dfsg0-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any help would be appreciated.

P.S I tried installing hplip using the run file provided by HP, but I ran into other issues. Bookworm doesn't seem to be supported yet.

you are viewing a single comment's thread
view the rest of the comments
[–] Spider89 2 points 1 year ago

Hello Borgzilla,

It looks like Debian is exiting because of overwriting.

hplipclassdriver looks forign and isn't shown on deps. Try removing it.

sudo apt purge hplipclassdriver

then try again.

Need help? Matrix