[SOLVED] apt full upgrade isn't upgrading proxmox

rognito

New Member
Jun 17, 2024
2
0
1
apt-full upgrade
Code:
root@proxmox:/# apt full-upgrade

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  fonts-font-logos libjs-sencha-touch proxmox-default-kernel proxmox-kernel-6.8 proxmox-kernel-6.8.8-1-pve-signed proxmox-kernel-helper pve-kernel-5.15.126-1-pve
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-manager
The following NEW packages will be installed:
  proxmox-kernel-6.5.13-5-pve-signed proxmox-kernel-6.8 proxmox-kernel-6.8.8-1-pve-signed pve-esxi-import-tools python3-pyvmomi
The following packages have been kept back:
  pve-container
The following packages will be upgraded:
  grub-common grub-efi-amd64-bin grub-pc grub-pc-bin grub2-common ksm-control-daemon libnvpair3linux libopeniscsiusr libproxmox-acme-perl libproxmox-acme-plugins libpve-access-control libpve-apiclient-perl libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl
  libpve-guest-common-perl libpve-http-server-perl libpve-network-perl libpve-notify-perl libpve-rs-perl libpve-storage-perl libuutil3linux libzfs4linux libzpool5linux lxc-pve lxcfs open-iscsi proxmox-backup-client proxmox-backup-file-restore
  proxmox-backup-restore-image proxmox-default-kernel proxmox-kernel-6.5 proxmox-widget-toolkit pve-cluster pve-docs pve-firewall pve-firmware pve-ha-manager pve-i18n pve-qemu-kvm qemu-server spl zfs-initramfs zfs-zed zfsutils-linux
45 upgraded, 5 newly installed, 2 to remove and 1 not upgraded.
Need to get 0 B/422 MB of archives.
After this operation, 1198 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

apt list --upgradable
Code:
Listing... Done
grub-common/stable 2.06-13+pmx2 amd64 [upgradable from: 2.06-13+pmx1]
grub-efi-amd64-bin/stable 2.06-13+pmx2 amd64 [upgradable from: 2.06-13+pmx1]
grub-pc-bin/stable 2.06-13+pmx2 amd64 [upgradable from: 2.06-13+pmx1]
grub-pc/stable 2.06-13+pmx2 amd64 [upgradable from: 2.06-13+pmx1]
grub2-common/stable 2.06-13+pmx2 amd64 [upgradable from: 2.06-13+pmx1]
ksm-control-daemon/stable 1.5-1 all [upgradable from: 1.4-1]
libnvpair3linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.2-pve2]
libopeniscsiusr/stable 2.1.8-1.pve1 amd64 [upgradable from: 2.1.8-1]
libproxmox-acme-perl/stable 1.5.1 all [upgradable from: 1.5.0]
libproxmox-acme-plugins/stable 1.5.1 all [upgradable from: 1.5.0]
libpve-access-control/stable 8.1.4 all [upgradable from: 8.1.1]
libpve-apiclient-perl/stable 3.3.2 all [upgradable from: 3.3.1]
libpve-cluster-api-perl/stable 8.0.7 all [upgradable from: 8.0.5]
libpve-cluster-perl/stable 8.0.7 all [upgradable from: 8.0.5]
libpve-common-perl/stable 8.2.1 all [upgradable from: 8.1.0]
libpve-guest-common-perl/stable 5.1.3 all [upgradable from: 5.0.6]
libpve-http-server-perl/stable 5.1.0 all [upgradable from: 5.0.5]
libpve-network-perl/stable 0.9.8 all [upgradable from: 0.9.5]
libpve-notify-perl/stable 8.0.7 all [upgradable from: 8.0.5]
libpve-rs-perl/stable 0.8.9 amd64 [upgradable from: 0.8.8]
libpve-storage-perl/stable 8.2.2 all [upgradable from: 8.0.5]
libuutil3linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.2-pve2]
libzfs4linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.2-pve2]
libzpool5linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.2-pve2]
lxc-pve/stable 6.0.0-1 amd64 [upgradable from: 5.0.2-4]
lxcfs/stable 6.0.0-pve2 amd64 [upgradable from: 5.0.3-pve4]
open-iscsi/stable 2.1.8-1.pve1 amd64 [upgradable from: 2.1.8-1]
proxmox-backup-client/stable 3.2.3-1 amd64 [upgradable from: 3.1.4-1]
proxmox-backup-file-restore/stable 3.2.3-1 amd64 [upgradable from: 3.1.4-1]
proxmox-backup-restore-image/stable 0.6.1 amd64 [upgradable from: 0.6.0]
proxmox-default-kernel/stable 1.1.0 all [upgradable from: 1.0.1]
proxmox-kernel-6.5/stable 6.5.13-5 all [upgradable from: 6.5.13-1]
proxmox-ve/stable 8.2.0 all [upgradable from: 8.1.0]
proxmox-widget-toolkit/stable 4.2.3 all [upgradable from: 4.1.3]
pve-cluster/stable 8.0.7 amd64 [upgradable from: 8.0.5]
pve-container/stable 5.1.11 all [upgradable from: 5.0.8]
pve-docs/stable 8.2.2 all [upgradable from: 8.1.3]
pve-firewall/stable 5.0.7 amd64 [upgradable from: 5.0.3]
pve-firmware/stable 3.12-1 all [upgradable from: 3.9-2]
pve-ha-manager/stable 4.0.5 amd64 [upgradable from: 4.0.3]
pve-i18n/stable 3.2.2 all [upgradable from: 3.2.0]
pve-manager/stable 8.2.4 amd64 [upgradable from: 8.1.4]
pve-qemu-kvm/stable 8.1.5-6 amd64 [upgradable from: 8.1.5-3]
qemu-server/stable 8.2.1 amd64 [upgradable from: 8.0.10]
spl/stable 2.2.4-pve1 all [upgradable from: 2.2.2-pve2]
zfs-initramfs/stable 2.2.4-pve1 all [upgradable from: 2.2.2-pve2]
zfs-zed/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.2-pve2]
zfsutils-linux/stable 2.2.4-pve1 amd64 [upgradable from: 2.2.2-pve2]


apt -o Debug::pkgProblemResolver=yes full-upgrade
Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libpve-notify-perl:amd64 < 8.0.5 -> 8.0.7 @ii umU Ib >
Broken libpve-notify-perl:amd64 Breaks on pve-manager:amd64 < 8.1.4 @ii mK NPb IPb > (< 8.2.3)
  Conflicts//Breaks against version 8.2.2 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.1.11 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.1.10 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.1.8 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.1.5 for pve-manager but that is not InstVer, ignoring
  Considering pve-manager:amd64 0 as a solution to libpve-notify-perl:amd64 5
  Added pve-manager:amd64 to the remove list
  Conflicts//Breaks against version 8.1.3 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.0.9 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.0.8 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.0.7 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.0.6 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.0.5 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.0.4 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.0.3 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.0.0~9 for pve-manager but that is not InstVer, ignoring
  Conflicts//Breaks against version 8.0.0~8 for pve-manager but that is not InstVer, ignoring
  Fixing libpve-notify-perl:amd64 via remove of pve-manager:amd64
Investigating (0) proxmox-ve:amd64 < 8.1.0 -> 8.2.0 @ii umU Ib >
Broken proxmox-ve:amd64 Depends on pve-manager:amd64 < 8.1.4 @ii mR NPb > (>= 8.0.4)
  Considering pve-manager:amd64 0 as a solution to proxmox-ve:amd64 0
  Removing proxmox-ve:amd64 rather than change pve-manager:amd64
Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  fonts-font-logos libjs-sencha-touch proxmox-default-kernel proxmox-kernel-6.8 proxmox-kernel-6.8.8-1-pve-signed proxmox-kernel-helper pve-kernel-5.15.126-1-pve
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-manager
The following NEW packages will be installed:
  proxmox-kernel-6.5.13-5-pve-signed proxmox-kernel-6.8 proxmox-kernel-6.8.8-1-pve-signed pve-esxi-import-tools python3-pyvmomi
The following packages have been kept back:
  pve-container
The following packages will be upgraded:
  grub-common grub-efi-amd64-bin grub-pc grub-pc-bin grub2-common ksm-control-daemon libnvpair3linux libopeniscsiusr libproxmox-acme-perl libproxmox-acme-plugins libpve-access-control libpve-apiclient-perl libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl
  libpve-guest-common-perl libpve-http-server-perl libpve-network-perl libpve-notify-perl libpve-rs-perl libpve-storage-perl libuutil3linux libzfs4linux libzpool5linux lxc-pve lxcfs open-iscsi proxmox-backup-client proxmox-backup-file-restore
  proxmox-backup-restore-image proxmox-default-kernel proxmox-kernel-6.5 proxmox-widget-toolkit pve-cluster pve-docs pve-firewall pve-firmware pve-ha-manager pve-i18n pve-qemu-kvm qemu-server spl zfs-initramfs zfs-zed zfsutils-linux
45 upgraded, 5 newly installed, 2 to remove and 1 not upgraded.
Need to get 0 B/422 MB of archives.
After this operation, 1198 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

grep '' /etc/apt/sources.list* /etc/apt/sources.list.d/*

Code:
/etc/apt/sources.list:deb http://ftp.uk.debian.org/debian bookworm main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://ftp.uk.debian.org/debian bookworm-updates main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org bookworm-security main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list:
grep: /etc/apt/sources.list.d: Is a directory
/etc/apt/sources.list.d/ceph.list:# deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
/etc/apt/sources.list.d/ceph.list:
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
/etc/apt/sources.list.d/pve-enterprise.list.dpkg-old:#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise

pveversion -v
Code:
proxmox-ve: 8.1.0 (running kernel: 6.5.13-1-pve)
pve-manager: 8.1.4 (running version: 8.1.4/ec5affc9e41f1d79)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.5.13-1-pve-signed: 6.5.13-1
proxmox-kernel-6.5: 6.5.13-1
proxmox-kernel-6.5.11-7-pve-signed: 6.5.11-7
proxmox-kernel-6.2.16-20-pve: 6.2.16-20
proxmox-kernel-6.2: 6.2.16-20
pve-kernel-5.15.126-1-pve: 5.15.126-1
pve-kernel-5.15.74-1-pve: 5.15.74-1
ceph-fuse: 16.2.11+ds-2
corosync: 3.1.7-pve3
criu: 3.17.1-2
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx8
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-4
libknet1: 1.28-pve1
libproxmox-acme-perl: 1.5.0
libproxmox-backup-qemu0: 1.4.1
libproxmox-rs-perl: 0.3.3
libpve-access-control: 8.1.1
libpve-apiclient-perl: 3.3.1
libpve-common-perl: 8.1.0
libpve-guest-common-perl: 5.0.6
libpve-http-server-perl: 5.0.5
libpve-network-perl: 0.9.5
libpve-rs-perl: 0.8.8
libpve-storage-perl: 8.0.5
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 5.0.2-4
lxcfs: 5.0.3-pve4
novnc-pve: 1.4.0-3
proxmox-backup-client: 3.1.4-1
proxmox-backup-file-restore: 3.1.4-1
proxmox-kernel-helper: 8.1.0
proxmox-mail-forward: 0.2.3
proxmox-mini-journalreader: 1.4.0
proxmox-widget-toolkit: 4.1.3
pve-cluster: 8.0.5
pve-container: 5.0.8
pve-docs: 8.1.3
pve-edk2-firmware: 4.2023.08-4
pve-firewall: 5.0.3
pve-firmware: 3.9-2
pve-ha-manager: 4.0.3
pve-i18n: 3.2.0
pve-qemu-kvm: 8.1.5-3
pve-xtermjs: 5.3.0-3
qemu-server: 8.0.10
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.2.2-pve2



Most of the other forum posts i have found on this issue are related to the ceph repository being outdated, yet i have never run or install ceph.

I have tried running:
Code:
rm /var/lib/apt/lists/* -rf
and rebooting the server.
But the problem persisted.

Any help would be greatly appreciated.

Update:
I ran apt-upgrade, even though i know you shouldn't but this isn't a production server. This partially worked and got the packages down to 7 to be upgraded:

Code:
root@proxmox:/# apt list --upgradable
Listing... Done
libpve-cluster-api-perl/stable 8.0.7 all [upgradable from: 8.0.5]
libpve-cluster-perl/stable 8.0.7 all [upgradable from: 8.0.5]
libpve-notify-perl/stable 8.0.7 all [upgradable from: 8.0.5]
libpve-rs-perl/stable 0.8.9 amd64 [upgradable from: 0.8.8]
libpve-storage-perl/stable 8.2.2 all [upgradable from: 8.0.5]
pve-container/stable 5.1.11 all [upgradable from: 5.0.8]
pve-manager/stable 8.2.4 amd64 [upgradable from: 8.1.4]

But apt full-upgrade still returns the same error
 
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!