Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

E: Unmet dependencies - linux-image-amd64 : Depends: linux-i

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
chadwic
Posts: 1
Joined: 2021-06-07 13:38

E: Unmet dependencies - linux-image-amd64 : Depends: linux-i

#1 Post by chadwic »

Any help appreciated !!

I am simply trying to run updates on a debian 9.4 virtual machine I inherited, I keep getting 'E: Unmet dependencies' message, I have tried apt upgrade, apt --fix-broken install, apt dist-upgrade, apt full-upgrade and all result in 'linux-image-amd64 : Depends: linux-image-4.9.0-15-amd64 but it is not installed'. I tried to remove and (re)install linux-image-amd64 which appeared to uninstall but failed to (re)install.

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
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-4.9.0-15-amd64 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


$ dpkg --get-selections|grep linux-image
linux-image-4.9.0-14-amd64 hold
linux-image-4.9.0-6-amd64 install
linux-image-4.9.0-8-amd64 install
linux-image-amd64 hold

$ uname -a
Linux debian-vm 4.9.0-14-amd64 #1 SMP Debian 4.9.240-1 (2020-10-29) x86_64 GNU/Linux

$ cat /etc/debian_version
9.4

$ hostnamectl
Static hostname: debian-vm
Icon name: computer-vm
Chassis: vm
Machine ID: 9d6a98a543ad01f982aaef5a540f4832
Boot ID: b1733743cc1d4e968f91f85dc2becde6
Virtualization: microsoft
Operating System: Debian GNU/Linux 9 (stretch)
Kernel: Linux 4.9.0-14-amd64
Architecture: x86-64

arzgi
Posts: 1193
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: E: Unmet dependencies - linux-image-amd64 : Depends: lin

#2 Post by arzgi »

chadwic wrote:Any help appreciated !!
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).[/b]
Did you try this?

chadwic wrote: Virtualization: microsoft
Virtualization makes things always more complicated, can't you try on bare metal?

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: E: Unmet dependencies - linux-image-amd64 : Depends: lin

#3 Post by dilberts_left_nut »

Did you do an 'apt update' to update the current package lists?
You also seem to have some packages on hold - why?
AdrianTM wrote:There's no hacker in my grandma...

Post Reply