[SOLVED] pve-firmware package error when installing Proxmox 8 over Debian 12 Bookworm

chicagonyc

New Member
Jan 28, 2023
16
4
3
Hello. I'm aiming to install Proxmox 8 over a Debian 12.1 install. This is a machine running a Ryzen 3700X on a B350 motherboard with 64Gb RAM and an NVME boot drive. I have previously ran Linux without any issues on this computer. And the new Debian 12 Bookworm install works perfectly: can access the network, display works, drives show up, no problems.

I am following the official tutorial about install Proxmox over a new Debian install that is fully upgraded. The instructions are actually for Bullseye but the updates I thought would be pretty straightforward for Bookworm.

I successfully edited /etc/hosts, added the repositories, added the GPG key.

The part I'm having a problem with is installing PVE kernel 6.2 (apt install pve-kernel-6.2). Most of the packages installed fine, but not pve-firmware. I'm getting the following inscrutable error:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
pve-firmware
Suggested packages:
linux-image
The following NEW packages will be installed:
pve-firmware
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/76.0 MB of archives.
After this operation, 240 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 274131 files and directories currently installed.)
Preparing to unpack .../pve-firmware_3.7-1_all.deb ...
Unpacking pve-firmware (3.7-1) ...
dpkg: error processing archive /var/cache/apt/archives/pve-firmware_3.7-1_all.de
b (--unpack):
trying to overwrite '/lib/firmware/ath9k_htc/htc_7010-1.4.0.fw', which is also
in package firmware-ath9k-htc 1.4.0-108-gd856466+dfsg1-1.3
Errors were encountered while processing:
/var/cache/apt/archives/pve-firmware_3.7-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm not quite sure why there's some sort of conflict here, and what to do about it.

I did try to uninstall firmware-ath9k-htc which doesn't apply to me (I don't have a Wireless USB adapter -- I'm using wired ethernet). But that doesn't work either:

apt remove firmware-ath9k-htc
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:
proxmox-kernel-6.2 : Depends: pve-firmware but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
And trying apt --fix-broken install just starts the same results as above. I seem to be stuck.

Update: Figured it out. The key was removing firmware-ath9k-htc. But I needed to force that removal. Once I did that, apt --fix-broken-install worked perfectly.
 
Last edited:
  • Like
Reactions: leifi76 and Mody
Hello everyone,

I have just found this entry. Very good, I was able to solve it with two installations. Will this be fixed in the next Proxmox version? Is it a bug? I have now had the problem on two completely independent Debian 12 systems!

Thank you!
 
anyone wrestling with this.
```
sudo dpkg --purge --force-all firmware-ath9k-htc
sudo apt --fix-broken install
```
hi, i have same problem, but your answer don't help me, i tried to install proxmox on mxlinux ahs. error log:
Code:
apt install proxmox-default-kernel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  firmware-intel-graphics firmware-intel-misc firmware-marvell-prestera firmware-mediatek
  firmware-nvidia-graphics
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  proxmox-kernel-6.8 proxmox-kernel-6.8.12-1-pve-signed pve-firmware
Suggested packages:
  linux-image
The following packages will be REMOVED:
  firmware-amd-graphics firmware-ath9k-htc firmware-atheros firmware-bnx2 firmware-bnx2x
  firmware-brcm80211 firmware-ipw2x00 firmware-iwlwifi firmware-libertas firmware-linux
  firmware-linux-free firmware-linux-nonfree firmware-misc-nonfree firmware-myricom
  firmware-netxen firmware-qlogic firmware-realtek mx-debian-firmware mx-system
The following NEW packages will be installed:
  proxmox-default-kernel proxmox-kernel-6.8 proxmox-kernel-6.8.12-1-pve-signed pve-firmware
0 upgraded, 4 newly installed, 19 to remove and 0 not upgraded.
Need to get 233 MB of archives.
After this operation, 539 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-firmware all 3.13-1 [134 MB]
Get:2 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8.12-1-pve-signed amd64 6.8.12-1 [99.5 MB]
Get:3 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8 all 6.8.12-1 [10.5 kB]
Get:4 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-default-kernel all 1.1.0 [2,196 B]
Fetched 233 MB in 5s (50.4 MB/s)                 
(Reading database ... 308922 files and directories currently installed.)
Removing mx-system (24.08.01mx23) ...
Removing mx-debian-firmware (24.08.10mx23) ...
Removing firmware-linux (20240709-1~mx23ahs) ...
Removing firmware-linux-nonfree (20240709-1~mx23ahs) ...
Removing firmware-amd-graphics (20240709-1~mx23ahs) ...
Removing firmware-ath9k-htc (1.4.0-108-gd856466+dfsg1-1.3+deb12u1) ...
Removing firmware-atheros (20240709-1~mx23ahs) ...
Removing firmware-bnx2 (20240709-1~mx23ahs) ...
Removing firmware-bnx2x (20240709-1~mx23ahs) ...
Removing firmware-brcm80211 (20240709-1~mx23ahs) ...
Removing firmware-ipw2x00 (20240709-1~mx23ahs) ...
Removing firmware-iwlwifi (20240709-1~mx23ahs) ...
Removing firmware-libertas (20240709-1~mx23ahs) ...
Removing firmware-linux-free (20240610-1~mx23ahs) ...
Removing firmware-misc-nonfree (20240709-1~mx23ahs) ...
Removing firmware-myricom (20240709-1~mx23ahs) ...
Removing firmware-netxen (20240709-1~mx23ahs) ...
Removing firmware-qlogic (20240709-1~mx23ahs) ...
Removing firmware-realtek (20240709-1~mx23ahs) ...
Selecting previously unselected package pve-firmware.
(Reading database ... 306860 files and directories currently installed.)
Preparing to unpack .../pve-firmware_3.13-1_all.deb ...
Unpacking pve-firmware (3.13-1) ...
dpkg: error processing archive /var/cache/apt/archives/pve-firmware_3.13-1_all.deb (--unpack):
 trying to overwrite '/lib/firmware/e100/d101m_ucode.bin', which is also in package firmware-intel-m
isc 20240709-1~mx23ahs
Selecting previously unselected package proxmox-kernel-6.8.12-1-pve-signed.
Preparing to unpack .../proxmox-kernel-6.8.12-1-pve-signed_6.8.12-1_amd64.deb ...
Unpacking proxmox-kernel-6.8.12-1-pve-signed (6.8.12-1) ...
Selecting previously unselected package proxmox-kernel-6.8.
Preparing to unpack .../proxmox-kernel-6.8_6.8.12-1_all.deb ...
Unpacking proxmox-kernel-6.8 (6.8.12-1) ...
Selecting previously unselected package proxmox-default-kernel.
Preparing to unpack .../proxmox-default-kernel_1.1.0_all.deb ...
Unpacking proxmox-default-kernel (1.1.0) ...
Errors were encountered while processing:
 /var/cache/apt/archives/pve-firmware_3.13-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Hi,
hi, i have same problem, but your answer don't help me, i tried to install proxmox on mxlinux ahs. error log:
Code:
apt install proxmox-default-kernel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  firmware-intel-graphics firmware-intel-misc firmware-marvell-prestera firmware-mediatek
  firmware-nvidia-graphics
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  proxmox-kernel-6.8 proxmox-kernel-6.8.12-1-pve-signed pve-firmware
Suggested packages:
  linux-image
The following packages will be REMOVED:
  firmware-amd-graphics firmware-ath9k-htc firmware-atheros firmware-bnx2 firmware-bnx2x
  firmware-brcm80211 firmware-ipw2x00 firmware-iwlwifi firmware-libertas firmware-linux
  firmware-linux-free firmware-linux-nonfree firmware-misc-nonfree firmware-myricom
  firmware-netxen firmware-qlogic firmware-realtek mx-debian-firmware mx-system
The following NEW packages will be installed:
  proxmox-default-kernel proxmox-kernel-6.8 proxmox-kernel-6.8.12-1-pve-signed pve-firmware
0 upgraded, 4 newly installed, 19 to remove and 0 not upgraded.
Need to get 233 MB of archives.
After this operation, 539 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-firmware all 3.13-1 [134 MB]
Get:2 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8.12-1-pve-signed amd64 6.8.12-1 [99.5 MB]
Get:3 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8 all 6.8.12-1 [10.5 kB]
Get:4 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-default-kernel all 1.1.0 [2,196 B]
Fetched 233 MB in 5s (50.4 MB/s)                
(Reading database ... 308922 files and directories currently installed.)
Removing mx-system (24.08.01mx23) ...
Removing mx-debian-firmware (24.08.10mx23) ...
Removing firmware-linux (20240709-1~mx23ahs) ...
Removing firmware-linux-nonfree (20240709-1~mx23ahs) ...
Removing firmware-amd-graphics (20240709-1~mx23ahs) ...
Removing firmware-ath9k-htc (1.4.0-108-gd856466+dfsg1-1.3+deb12u1) ...
Removing firmware-atheros (20240709-1~mx23ahs) ...
Removing firmware-bnx2 (20240709-1~mx23ahs) ...
Removing firmware-bnx2x (20240709-1~mx23ahs) ...
Removing firmware-brcm80211 (20240709-1~mx23ahs) ...
Removing firmware-ipw2x00 (20240709-1~mx23ahs) ...
Removing firmware-iwlwifi (20240709-1~mx23ahs) ...
Removing firmware-libertas (20240709-1~mx23ahs) ...
Removing firmware-linux-free (20240610-1~mx23ahs) ...
Removing firmware-misc-nonfree (20240709-1~mx23ahs) ...
Removing firmware-myricom (20240709-1~mx23ahs) ...
Removing firmware-netxen (20240709-1~mx23ahs) ...
Removing firmware-qlogic (20240709-1~mx23ahs) ...
Removing firmware-realtek (20240709-1~mx23ahs) ...
Selecting previously unselected package pve-firmware.
(Reading database ... 306860 files and directories currently installed.)
Preparing to unpack .../pve-firmware_3.13-1_all.deb ...
Unpacking pve-firmware (3.13-1) ...
dpkg: error processing archive /var/cache/apt/archives/pve-firmware_3.13-1_all.deb (--unpack):
 trying to overwrite '/lib/firmware/e100/d101m_ucode.bin', which is also in package firmware-intel-m
isc 20240709-1~mx23ahs
Selecting previously unselected package proxmox-kernel-6.8.12-1-pve-signed.
Preparing to unpack .../proxmox-kernel-6.8.12-1-pve-signed_6.8.12-1_amd64.deb ...
Unpacking proxmox-kernel-6.8.12-1-pve-signed (6.8.12-1) ...
Selecting previously unselected package proxmox-kernel-6.8.
Preparing to unpack .../proxmox-kernel-6.8_6.8.12-1_all.deb ...
Unpacking proxmox-kernel-6.8 (6.8.12-1) ...
Selecting previously unselected package proxmox-default-kernel.
Preparing to unpack .../proxmox-default-kernel_1.1.0_all.deb ...
Unpacking proxmox-default-kernel (1.1.0) ...
Errors were encountered while processing:
 /var/cache/apt/archives/pve-firmware_3.13-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
firmware-intel-misc is not a package for Bookworm: https://packages.debian.org/search?...y&searchon=names&keywords=firmware-intel-misc
Proxmox VE 8 can only be used on top of Debian Bookworm.
 
  • Like
Reactions: onlineapps
Apologies if replying here is incorrect form... I'm having a similar issue that I simply can't figure my way around. I'm installing atop Debian 12 and am stuck with a dpkg error associated with a bluetooth file:

dpkg: error processing archive /var/cache/apt/archives/pve-firmware_3.13-2_all.deb (--unpack):
trying to overwrite '/lib/firmware/rtl_bt/rtl8723cs_xx_fw.bin', which is also in package firmware-realtek-rtl8723cs-bt 20181104-2
Errors were encountered while processing:
/var/cache/apt/archives/pve-firmware_3.13-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've tried all relevant solutions I could find and would greatly appreciate some guidance. I'm installing on a very old machine and have yet to figure out how to install absent Debian with legacy boot my machine can see... I only have these issues when Debian is incestously intermingled on the front end...

Many thanks!
 
Apologies if replying here is incorrect form... I'm having a similar issue that I simply can't figure my way around. I'm installing atop Debian 12 and am stuck with a dpkg error associated with a bluetooth file:

dpkg: error processing archive /var/cache/apt/archives/pve-firmware_3.13-2_all.deb (--unpack):
trying to overwrite '/lib/firmware/rtl_bt/rtl8723cs_xx_fw.bin', which is also in package firmware-realtek-rtl8723cs-bt 20181104-2
Errors were encountered while processing:
/var/cache/apt/archives/pve-firmware_3.13-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've tried all relevant solutions I could find and would greatly appreciate some guidance. I'm installing on a very old machine and have yet to figure out how to install absent Debian with legacy boot my machine can see... I only have these issues when Debian is incestously intermingled on the front end...

Many thanks!


apt --fix-broken install -o Dpkg::Options::="--force-overwrite" && apt install proxmox-ve postfix open-iscsi chrony
 
Hi,
Apologies if replying here is incorrect form... I'm having a similar issue that I simply can't figure my way around. I'm installing atop Debian 12 and am stuck with a dpkg error associated with a bluetooth file:

dpkg: error processing archive /var/cache/apt/archives/pve-firmware_3.13-2_all.deb (--unpack):
trying to overwrite '/lib/firmware/rtl_bt/rtl8723cs_xx_fw.bin', which is also in package firmware-realtek-rtl8723cs-bt 20181104-2
Errors were encountered while processing:
/var/cache/apt/archives/pve-firmware_3.13-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've tried all relevant solutions I could find and would greatly appreciate some guidance. I'm installing on a very old machine and have yet to figure out how to install absent Debian with legacy boot my machine can see... I only have these issues when Debian is incestously intermingled on the front end...

Many thanks!
seems like you will need to uninstall the firmware-realtek-rtl8723cs-bt package first, because of the file conflict.

EDIT: sent a patch to add the relevant Conflicts+Replaces to the Debian control file: https://lore.proxmox.com/pve-devel/20241021105440.48007-1-f.ebner@proxmox.com/T/#u
 
Last edited:
Hi,

seems like you will need to uninstall the firmware-realtek-rtl8723cs-bt package first, because of the file conflict.

EDIT: sent a patch to add the relevant Conflicts+Replaces to the Debian control file: https://lore.proxmox.com/pve-devel/20241021105440.48007-1-f.ebner@proxmox.com/T/#u
If you read the error message the problem is pve-firmware deb package is trying to overwrite an existing file: "trying to overwrite '/lib/firmware/rtl_bt/rtl8723cs_xx_fw.bin', which is also in package firmware-realtek-rtl8723cs-bt 20181104-2 "
So I still think it's needed to force the overwrite when installing proxmox software,