I had the hp deskjet 2320 printer & scanner running on Ubuntu 20.04 but i am having problems now with 22.04.2.
I can make a simple print but wanted the scanner to work
below is a copy of what happened in the Terminal. I believe I am root, but the system seems to doubt that ????
Please help.
evan@evan-Lenovo-ideapad-110-14IBR:~$ sudo apt update
[sudo] password for evan:
Hit:1 http://za.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://za.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://za.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
29 packages can be upgraded. Run 'apt list --upgradable' to see them.
evan@evan-Lenovo-ideapad-110-14IBR:~$ sudo apt upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
evan@evan-Lenovo-ideapad-110-14IBR:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of python3-ldb:
python3-ldb depends on libldb2 (= 2:2.4.4-0ubuntu0.22.04.2); however:
Version of libldb2:amd64 on system is 2:2.4.4-0ubuntu0.22.04.1.
dpkg: error processing package python3-ldb (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Errors were encountered while processing:
python3-ldb
evan@evan-Lenovo-ideapad-110-14IBR:~$ sudo apt update
Hit:1 http://za.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://za.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://za.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Fetched 110 kB in 2s (59.9 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
28 packages can be upgraded. Run 'apt list --upgradable' to see them.
evan@evan-Lenovo-ideapad-110-14IBR:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
python3-ldb : Depends: libldb2 (= 2:2.4.4-0ubuntu0.22.04.2) but 2:2.4.4-0ubuntu0.22.04.1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
evan@evan-Lenovo-ideapad-110-14IBR:~$ apt --fix-broken install
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
evan@evan-Lenovo-ideapad-110-14IBR:~$