Article 6NQSD I can not fix missing dependencies in Debian Linux

I can not fix missing dependencies in Debian Linux

by
TokTok
from LinuxQuestions.org on (#6NQSD)
I have run the cmd, but the problem still persists = missing dependencies.
This is the reply in the terminal when i tried to update-upgrade a package (( Express vpn )).

Yes iim root.

sudo apt update && sudo apt install --only-upgrade expressvpn
[sudo] password for debian2:
Get:1 file:/usr/lib/expressvpn/repo_mirror.list Mirrorlist [117 B]
Hit:3 http://deb.debian.org/debian bullseye InRelease
Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
Hit:5 http://deb.debian.org/debian bullseye-updates InRelease
Get:2 https://repo.expressvpn.com/public/deb/debian any-version InRelease [4,580 B]
Hit:6 https://deb.librewolf.net bullseye InRelease
Fetched 4,580 B in 1s (7,459 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
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:
linux-image-amd64 : Depends: linux-image-5.10.0-30-amd64 (= 5.10.218-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
debian2@debian1:~$ apt --fix - broken install
E: Command line option --fix is not understood in combination with the other options
debian2@debian1:~$ 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?
debian2@debian1:~$ root
bash: root: command not found
debian2@debian1:~$
Attached Thumbnailsattachment.php?attachmentid=43131&stc=1&
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments