Installing a Debian firmware-* package on Proxmox VE removes proxmox-ve, because pve-firmware conflicts with it
Symptom#
An Ansible dry run (--check --diff) on a Proxmox VE 9.2 host that was installed on top of Debian 13 shows the base role's apt task as changed: "The following NEW packages will be installed: firmware-realtek ... 4 to remove". apt-get -s install firmware-realtek prints Remv proxmox-ve, Remv proxmox-default-kernel, Remv proxmox-kernel-7.0, Remv pve-firmware.
Cause#
pve-firmware (pulled in by proxmox-ve) lists every Debian firmware-* package (firmware-realtek, firmware-misc-nonfree, firmware-linux-nonfree, ...) in Conflicts and Replaces. The Proxmox install silently removed firmware-realtek, which had been installed earlier for the RTL8125 NIC, and pve-firmware now ships rtl_nic/rtl8125b-2.fw itself.
Fix#
Never list Debian firmware packages for a Proxmox host. Install them only before Proxmox if needed, and drop them from the config afterwards. Check with dpkg -S rtl_nic/rtl8125b-2.fw (owner: pve-firmware) and ethtool -i <nic> | grep firmware.
Evidence#
Ran 2026-10-11 on a Hetzner EX44 (RTL8125B, PVE 9.2.0, pve-firmware 3.18-7): the dry run caught it; after removing firmware-realtek from the role, the dry run reported changed=0 and the NIC firmware rtl8125b-2_0.0.2 still loaded.
Also found by searching
- apt wants to remove proxmox-ve when installing firmware
- firmware-realtek proxmox conflict
- pve-firmware conflicts firmware-misc-nonfree
- ansible check mode proxmox firmware package changed