0

I tried installing HPLIP to 24.04 and received the following:

sudo apt install hplip hplip-gui
[sudo] password for keith: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
hplip is already the newest version (3.23.12+dfsg0-0ubuntu5).
hplip set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 hplip-gui : Depends: python3-dbus.mainloop.pyqt5 but it is not going to be installed
             Depends: python3-pyqt5 but it is not going to be installed
             Recommends: python3-notify2 but it is not going to be installed
 protonmail-bridge : Depends: fonts-dejavu but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Can someone help me with this.

steeldriver
  • 143,099
  • Read the error message. It suggests TWO things to try. – waltinator Feb 06 '25 at 19:04
  • "hplip set to manually installed" Did you already install it manually? That may have messed up apt's dependency tracking. If you did, maybe try uninstalling it first; or update your question to say what you did. – jeffas Feb 07 '25 at 12:21

1 Answers1

0

You do not need hplip at all. After messing with it for about 4 years in 3 installations of Ubuntu, it was hell of a hard task to deal with it, it was just breaking from time to time, it's absolutely bugged and I would even say it's the most bugged software I've ever come across. So I just removed it completely:

https://developers.hp.com/hp-linux-imaging-and-printing/howtos/uninstall (if you installed it manually)

sudo apt purge hplip* (if you installed packages from Ubuntu 24.04 repos)

Setuped my printer MFP130nw to wirelessly connect to local network (you can do it from it's own interface)

I'm pretty sure cups need to be installed (sudo apt install cups), I would not experiment right now to remove it.

I'm using KDE Plasma, and in the Printers setup it just showed up: Automatically detected HP printer in KDE Plasma

...and it just works.

Don't know if actually miss anything related to messing with properties of printer driver, because it seems everything is available from printer's own web interface.

xphorm
  • 23