pve-firmware conflicts: firmware-linux-free

3lue

New Member
Apr 29, 2019
4
5
1
26
When trying to update my proxmox host machine, I get following error:

Code:
root@hosts ~ # apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pve-firmware : Conflicts: firmware-linux-free but 3.4 is to be installed
E: Broken packages

Googled already and found this: https://forum.proxmox.com/threads/unmet-dependencies-issue-when-updating-5-x.37432/

Seems like the one in the last post fixed it with dist-upgrade, but my server wants to install linux-image-4.9.0-9-amd64:

Code:
root@hosts ~ # apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-image-4.9.0-9-amd64
The following packages will be upgraded:
  base-files libmariadbclient18 libpng16-16 linux-image-amd64 linux-libc-dev
  python-cryptography python-pip python-pip-whl rsync
9 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.9 MB of archives.
After this operation, 193 MB of additional disk space will be used.

and after my unterstanding, this would replace the proxmox kernel, wouldn't it? I've installed Proxmox 5.4-4.
Can I dist-upgrade without any problems? Thanks in advance!
 
Hi,

you have to remove "firmware-linux-free" and install proxmox-ve again.
 
Code:
root@hosts ~ # apt remove firmware-linux-free
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'firmware-linux-free' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

firmware-linux-free isn't installed :/
 
also remove this

Code:
root@hosts /var/www/html # apt remove linux-image-4.9.0-9-amd64
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package 'linux-image-4.9.0-9-amd64' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

isn't installed too
 
We are still seeing this error:

Bash:
> apt-get upgrade --with-new-pkgs

Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
Some packages could not be installed.
This may mean that you have requested an impossible situation or
if you are using the unstable distribution that some required
packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:  pve-firmware : Conflicts: firmware-linux-free but 20200122-1 is to be installed

Removing `linux-image-*amd64` did work, but we would like to know if there are any expectations to fix this?
 
Removing `linux-image-*amd64` did work, but we would like to know if there are any expectations to fix this?
what do you mean? removing the debian kernel package is the fix for this. on a system installed from the iso the debian kernel package is never installed so thats only a problem when installing manually on top of debian
 
  • Like
Reactions: humbegar
what do you mean? removing the debian kernel package is the fix for this. on a system installed from the iso the debian kernel package is never installed so thats only a problem when installing manually on top of debian

I installed proxmox with the proxmox ISO and the system has been running for quite a while now. Today I checked for updates and during the upgrade the system shows a similar error message. The system was only updated through the official proxmox sources and no manual installations were done.
So it seems that the problem is hidden somewhere in the proxmox packages.

Bash:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pve-firmware : Conflicts: firmware-linux-free but 20200122-1 is to be installed
E: Broken packages

Bash:
apt list --installed linux-image*
Listing... Done
linux-image-5.10.0-10-rt-amd64/stable,now 5.10.84-1 amd64 [installed,automatic]
linux-image-5.10.0-11-rt-amd64/stable-security,now 5.10.92-2 amd64 [installed,automatic]
linux-image-5.10.0-8-rt-amd64/stable-security,now 5.10.46-5 amd64 [installed,auto-removable]
linux-image-5.10.0-9-rt-amd64/now 5.10.70-1 amd64 [installed,local]
linux-image-rt-amd64/now 5.10.92-2 amd64 [installed,upgradable to: 5.10.106-1]

apt list --installed pve-kernel*
Listing... Done
pve-kernel-5.11.22-1-pve/stable,now 5.11.22-2 amd64 [installed]
pve-kernel-5.11.22-3-pve/stable,now 5.11.22-7 amd64 [installed,auto-removable]
pve-kernel-5.11.22-4-pve/stable,now 5.11.22-9 amd64 [installed,auto-removable]
pve-kernel-5.11.22-5-pve/stable,now 5.11.22-10 amd64 [installed,auto-removable]
pve-kernel-5.11.22-7-pve/stable,now 5.11.22-12 amd64 [installed,automatic]
pve-kernel-5.11/stable,now 7.0-10 all [installed]
pve-kernel-5.13.19-1-pve/stable,now 5.13.19-3 amd64 [installed,auto-removable]
pve-kernel-5.13.19-2-pve/stable,now 5.13.19-4 amd64 [installed,automatic]
pve-kernel-5.13.19-3-pve/stable,now 5.13.19-7 amd64 [installed,auto-removable]
pve-kernel-5.13.19-4-pve/stable,now 5.13.19-9 amd64 [installed,automatic]
pve-kernel-5.13.19-5-pve/stable,now 5.13.19-13 amd64 [installed,automatic]
pve-kernel-5.13/stable,now 7.1-8 all [installed,upgradable to: 7.1-9]
pve-kernel-helper/stable,now 7.1-12 all [installed,upgradable to: 7.1-14]
 
Last edited:
Bash:
apt remove linux-image-rt-amd64 && apt upgrade
Also keep in mind not use apt upgrade. Using it won't install required dependencies and this can screw up your PVE up to the point where it isn't booting any longer. Use apt dist-upgrade or apt full-upgrade instead.
 
Last edited:
La solucion es la siguiente


mkdir -p /usr/share/proxmox-ve
touch /usr/share/proxmox-ve/pve-apt-hook
chmod +x /usr/share/proxmox-ve/pve-apt-hook
apt install proxmox-ve

apt full-upgrade

si se quiere se puede ejecutar :
apt autoremove
 
discovered the same error today and
Code:
apt remove linux-image-amd64
fixed it, but i think whats happened here with us is that some other software we installed had the normal kernel in its dependency, or something similar, at least my Debian is a little experimental and i cant tell what installed it in the past, i just discovered it now.

or did it maybe even came from the Debian upgrade to a newer version? at some point i upgraded from Proxmox



Code:
root@Hyperbook:~# uname -a
Linux Hyperbook 6.2.16-3-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-3 (2023-06-17T05:58Z) x86_64 GNU/Linux
Code:
root@Hyperbook:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:    bookworm
 

Attachments

  • history.log
    12.3 KB · Views: 0
  • installed.log
    110.8 KB · Views: 0
  • history.1.log
    1.2 KB · Views: 0
  • history.2.log
    78.5 KB · Views: 0
  • history.3.log
    88.9 KB · Views: 0
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!