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

Debian operating system

2718 readers
1 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.

top 3 comments
sorted by: hot top controversial new old
[–] Spider89@lemmy.world 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

[–] BearPear@lemmy.world 1 points 1 year ago (1 children)

Yes. I also tried installing hplip and got an error bookworm is not supported.

Thank god, linux supports driverless printing. I was able to set up my printer easily with CUPS.

[–] BearPear@lemmy.world 1 points 1 year ago

I wi also suggest you to try cups