Upgrade package dont work after migration to pve 7-2-7

jaj1105

Member
Sep 23, 2019
16
1
8
33
Good Morning Everybody,

I have this issue since i made upgrade form last pve 6 to pve 7-2-7

Do you know why ? I have reboot, apt clean, purge all files and folder in /var/lib/apt/lists/ without success.

Thanks in advance !

The following packages were automatically installed and are no longer required:
libdrm-common libdrm2 libepoxy0 libfdt1 libfuse3-3 libgbm1 libjs-qrcodejs libjson-glib-1.0-0 libjson-glib-1.0-common libleveldb1d liboath0 libposix-strptime-perl libproxmox-backup-qemu0 libqrencode4 librabbitmq4 librdkafka1 librgw2
libtpms0 liburing1 libvirglrenderer1 libwayland-server0 proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image proxmox-websocket-tunnel pve-lxc-syscalld python-ceph-argparse qrencode
swtpm swtpm-libs swtpm-tools zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
ceph-common libpve-guest-common-perl libpve-storage-perl libpython-stdlib proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python python-asn1crypto python-cephfs python-certifi python-cffi-backend python-configparser
python-cryptography python-enum34 python-future python-idna python-ipaddr python-ipaddress python-minimal python-openssl python-prettytable python-protobuf python-rados python-rbd python-rgw python-urllib3 qemu-server spiceterm
The following packages will be upgraded:
libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python-six python2 python2-minimal python2.7 python2.7-minimal python3-six zlib1g
10 upgraded, 0 newly installed, 31 to remove and 0 not upgraded.
Need to get 0 B/4,100 kB of archives.
After this operation, 379 MB disk space will be freed.
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
 
Please provide the full output in code-tags of:
  • pveversion -v
  • apt list --installed | grep linux-image
  • grep -r '' /etc/apt/sources.list*
  • apt update
  • apt full-upgrade
 
  • Like
Reactions: jaj1105
Please provide the full output in code-tags of:
  • pveversion -v
  • apt list --installed | grep linux-image
  • grep -r '' /etc/apt/sources.list*
  • apt update
  • apt full-upgrade
Hi Neobin,

Thanks for your reply, see below the output :

root@pve1:~# pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.39-4-pve)
pve-manager: 7.2-7 (running version: 7.2-7/d0dd0e85)
pve-kernel-5.15: 7.2-9
pve-kernel-helper: 7.2-9
pve-kernel-5.4: 6.4-19
pve-kernel-5.3: 6.1-6
pve-kernel-5.15.39-4-pve: 5.15.39-4
pve-kernel-5.4.195-1-pve: 5.4.195-1
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-5.3.10-1-pve: 5.3.10-1
ceph-fuse: 14.2.22-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: 0.8.36+pve1
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve1
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.2-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.2-2
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-3
libpve-storage-perl: 7.2-8
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.2.5-1
proxmox-backup-file-restore: 2.2.5-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.1
pve-cluster: 7.2-2
pve-container: 4.2-2
pve-docs: 7.2-2
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-5
pve-firmware: 3.5-1
pve-ha-manager: 3.4.0
pve-i18n: 2.7-2
pve-qemu-kvm: 7.0.0-2
pve-xtermjs: 4.16.0-1
pve-zsync: 2.2.3
qemu-server: 7.2-4
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.5-pve1



root@pve1:~# apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.



root@pve1:~# grep -r '' /etc/apt/sources.list*
/etc/apt/sources.list:deb http://ftp.debian.org/debian bullseye main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://ftp.debian.org/debian bullseye-updates main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org bullseye-security main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# PVE pve-no-subscription repository provided by proxmox.com,
/etc/apt/sources.list:# NOT recommended for production use
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:



root@pve1:~# apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:3 http://ftp.debian.org/debian bullseye InRelease
Hit:4 http://ftp.debian.org/debian bullseye-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.



root@pve1:~# 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:
libdrm-common libdrm2 libepoxy0 libfdt1 libfuse3-3 libgbm1 libjs-qrcodejs libjson-glib-1.0-0 libjson-glib-1.0-common libleveldb1d liboath0 libposix-strptime-perl libproxmox-backup-qemu0 libqrencode4 librabbitmq4 librdkafka1 librgw2
libtpms0 liburing1 libvirglrenderer1 libwayland-server0 proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image proxmox-websocket-tunnel pve-lxc-syscalld python-ceph-argparse qrencode
swtpm swtpm-libs swtpm-tools zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
ceph-common libpve-guest-common-perl libpve-storage-perl libpython-stdlib proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python python-asn1crypto python-cephfs python-certifi python-cffi-backend python-configparser
python-cryptography python-enum34 python-future python-idna python-ipaddr python-ipaddress python-minimal python-openssl python-prettytable python-protobuf python-rados python-rbd python-rgw python-urllib3 qemu-server spiceterm
The following packages will be upgraded:
libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python-six python2 python2-minimal python2.7 python2.7-minimal python3-six zlib1g
10 upgraded, 0 newly installed, 31 to remove and 0 not upgraded.
Need to get 0 B/4,100 kB of archives.
After this operation, 379 MB disk space will be freed.
Do you want to continue? [Y/n]
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
 
Is it possible, that you had set up a Ceph repository at some point?
Your: ceph-fuse: 14.2.22-pve1 (and probably other Ceph packages) comes afaics from the Ceph Nautilus Buster repository and is newer than the "default" one that comes in the Debian Bullseye repository: ceph-fuse: 14.2.21-1. Since apt does not downgrade packages per default, I do assume that there are some dependency conflicts going on.

While I have some ideas in mind; I unfortunately do not know, what the best practice/a safe way is to fix this. Sorry :(
Hopefully someone other can help out here.
 
  • Like
Reactions: jaj1105
Hi,
thanks to @Neobin for asking the right questions :)

What is the output when you try apt install ceph-fuse=14.2.21-1 ceph-common=14.2.21-1?
 
  • Like
Reactions: Neobin
You could try:
Bash:
apt install ceph-fuse=14.2.21-1 ceph-common=14.2.21-1 librbd1=14.2.21-1 python3-cephfs=14.2.21-1 python3-rados=14.2.21-1
At least, this would be the next logical step for me.
Hi Neobin,

The same result.

1662803486846.png

Thanks for your help
 
Hi Neobin,

The same result.

View attachment 40926

Thanks for your help

We need to follow the dependencies further.

Please try with the following and post again the output from it:
Bash:
apt install ceph-fuse=14.2.21-1 ceph-common=14.2.21-1 librbd1=14.2.21-1 python3-cephfs=14.2.21-1 python3-rados=14.2.21-1 librados2=14.2.21-1 libcephfs2=14.2.21-1

I assume, after the above, we need to cover three more packages; but I hold them back for now, only to be sure. But I think, we are getting there. :)
 
  • Like
Reactions: fiona
We need to follow the dependencies further.

Please try with the following and post again the output from it:
Bash:
apt install ceph-fuse=14.2.21-1 ceph-common=14.2.21-1 librbd1=14.2.21-1 python3-cephfs=14.2.21-1 python3-rados=14.2.21-1 librados2=14.2.21-1 libcephfs2=14.2.21-1

I assume, after the above, we need to cover three more packages; but I hold them back for now, only to be sure. But I think, we are getting there. :)
1662837611195.png

A new error
 
This is one of the three packages I expected.

Please again with:
Bash:
apt install ceph-fuse=14.2.21-1 ceph-common=14.2.21-1 librbd1=14.2.21-1 python3-cephfs=14.2.21-1 python3-rados=14.2.21-1 librados2=14.2.21-1 libcephfs2=14.2.21-1 libradosstriper1=14.2.21-1

Probably two more to go.
 
  • Like
Reactions: fiona and jaj1105
This is one of the three packages I expected.

Please again with:
Bash:
apt install ceph-fuse=14.2.21-1 ceph-common=14.2.21-1 librbd1=14.2.21-1 python3-cephfs=14.2.21-1 python3-rados=14.2.21-1 librados2=14.2.21-1 libcephfs2=14.2.21-1 libradosstriper1=14.2.21-1

Probably two more to go.
Hi Neobin,

Perfect, you are a boss!

Thank you very much
 
  • Like
Reactions: Neobin
So it already worked? :eek: Really glad to hear, if so. But thanks goes to @fiona ; I only followed her approach. :)

Can you please provide two more outputs; I am just curious:
  • apt list --installed | grep python3-ceph-argparse
  • apt list --installed | grep python3-rbd
 
So it already worked? :eek: Really glad to hear, if so. But thanks goes to @fiona ; I only followed her approach. :)

Can you please provide two more outputs; I am just curious:
  • apt list --installed | grep python3-ceph-argparse
  • apt list --installed | grep python3-rbd
1662973498760.png
 
Hi,
i have same issue but the solution doesn't work



Please provide the full output in code-tags of:
  • pveversion -v
  • apt list --installed | grep linux-image
  • grep -r '' /etc/apt/sources.list*
  • apt update
  • apt full-upgrade

pveversion -v

proxmox-ve: 7.2-1 (running kernel: 5.15.39-1-pve)
pve-manager: 7.2-7 (running version: 7.2-7/d0dd0e85)
pve-kernel-5.15: 7.2-6
pve-kernel-helper: 7.2-6
pve-kernel-5.11: 7.0-10
pve-kernel-5.4: 6.4-6
pve-kernel-5.15.39-1-pve: 5.15.39-1
pve-kernel-5.15.35-2-pve: 5.15.35-5
pve-kernel-5.15.35-1-pve: 5.15.35-3
pve-kernel-5.11.22-7-pve: 5.11.22-12
pve-kernel-5.11.22-5-pve: 5.11.22-10
pve-kernel-5.11.22-4-pve: 5.11.22-9
pve-kernel-5.4.140-1-pve: 5.4.140-1
ceph-fuse: 14.2.21-1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve1
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.2-3
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.2-2
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-3
libpve-storage-perl: 7.2-5
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.2.3-1
proxmox-backup-file-restore: 2.2.3-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.1
pve-cluster: 7.2-1
pve-container: 4.2-1
pve-docs: 7.2-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.4-2
pve-ha-manager: 3.3-4
pve-i18n: 2.7-2
pve-qemu-kvm: 6.2.0-11
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-3
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.4-pve1

apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

linux-image-5.10.0-14-amd64/stable-security,now 5.10.113-1 amd64 [installed,auto-removable]
linux-image-5.10.0-15-amd64/stable-security,now 5.10.120-1 amd64 [installed,automatic]
linux-image-5.10.0-16-amd64/now 5.10.127-1 amd64 [installed,upgradable to: 5.10.127-2]
linux-image-5.10.0-8-amd64/stable-security,now 5.10.46-5 amd64 [installed,auto-removable]
linux-image-5.10.0-9-amd64/now 5.10.70-1 amd64 [installed,local]
linux-image-amd64/now 5.10.127-1 amd64 [installed,upgradable to: 5.10.140-1]

grep -r '' /etc/apt/sources.list*

/etc/apt/sources.list:deb http://ftp.debian.org/debian bullseye main contrib
/etc/apt/sources.list:deb http://ftp.debian.org/debian bullseye-updates main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# PVE pve-no-subscription repository provided by proxmox.com,
/etc/apt/sources.list:# NOT recommended for production use
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib

/etc/apt/sources.list.d/pve-enterprise.list.dpkg-dist:deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
/etc/apt/sources.list.d/pve-install-repo.list:#deb http://download.proxmox.com/debian/pve buster pve-no-subscription


apt update

Hit:1 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://ftp.debian.org/debian bullseye InRelease
Hit:4 http://ftp.debian.org/debian bullseye-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
97 packages can be upgraded. Run 'apt list --upgradable' to see them.


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:
alsa-topology-conf alsa-ucm-conf attr cifs-utils corosync criu cstream
dconf-gsettings-backend dconf-service dmeventd dtach ebtables faketime
fontconfig fonts-font-awesome fonts-glyphicons-halflings gdisk glib-networking
glib-networking-common glib-networking-services glusterfs-client
glusterfs-common gsettings-desktop-schemas gstreamer1.0-libav
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x
i965-va-driver idn intel-media-va-driver ipset javascript-common libaa1
libaacs0 libacl1-dev libanyevent-http-perl libanyevent-perl libappconfig-perl
libapt-pkg-perl libarchive13 libasound2 libasound2-data libass9
libasync-interrupt-perl libasyncns0 libattr1-dev libauthen-pam-perl
libavc1394-0 libavcodec58 libavfilter7 libavformat58 libavutil56 libbdplus0
libblas3 libbluray2 libbs2b0 libc-dev-bin libc-devtools libc6-dev libcaca0
libcairo-gobject2 libcairo2 libcdparanoia0 libcfg7 libchromaprint1 libcmap4
libcodec2-0.9 libcorosync-common4 libcpg4 libcrypt-dev
libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
libcrypt-openssl-rsa-perl libdatrie1 libdbi1 libdconf1 libdevel-cycle-perl
libdevmapper-event1.02.1 libdigest-bubblebabble-perl libdrm-amdgpu1
libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4
libepoxy0 libev-perl libfaketime libfdt1 libfile-chdir-perl
libfile-readbackwards-perl libfilesys-df-perl libflac8 libflite1 libfuse3-3
libgbm1 libgd3 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common
libgfapi0 libgfchangelog0 libgfdb0 libgfortran5 libgfrpc0 libgfxdr0 libgl1
libgl1-mesa-dri libglapi-mesa libglusterd0 libglusterfs-dev libglusterfs0
libglvnd0 libglx-mesa0 libglx0 libgme0 libgnutlsxx28 libgpgme11 libgraphite2-3
libgsm1 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libguard-perl
libgudev-1.0-0 libharfbuzz0b libiec61883-0 libigdgmm11 libinih1
libio-multiplex-perl libio-stringy-perl libipset13 libiscsi7 libjack-jackd2-0
libjansson4 libjemalloc2 libjs-bootstrap libjs-extjs libjs-jquery
libjs-qrcodejs libjson-glib-1.0-0 libjson-glib-1.0-common libknet1 liblapack3
libldb2 liblilv-0-0 liblinux-inotify2-perl libllvm11 liblvm2cmd2.03 liblzo2-2
libmfx1 libmime-base32-perl libmp3lame0 libmpg123-0 libmysofa1 libnet-dbus-perl
libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnet1 libnetaddr-ip-perl
libnetfilter-log1 libnorm1 libnozzle1 libnsl-dev libnvpair3linux libogg0
libopenmpt0 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0
libpangoft2-1.0-0 libpciaccess0 libperl4-corelibs-perl libpgm-5.3-0
libpixman-1-0 libpocketsphinx3 libposix-strptime-perl libpostproc55
libprotobuf23 libproxmox-acme-perl libproxmox-acme-plugins
libproxmox-backup-qemu0 libproxmox-rs-perl libproxy1v5 libpulse0
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-rs-perl libpve-storage-perl
libpve-u2f-server-perl libpython3.9 libqb100 libqrencode4 libquadmath0
libquorum5 librados2-perl libraw1394-11 librrd8 librrds-perl librsvg2-2
librsvg2-common librubberband2 libsamplerate0 libsdl1.2debian libsensors-config
libsensors5 libserd-0-0 libshine3 libshout3 libsmbclient libsndfile1
libsodium23 libsord-0-0 libsoup2.4-1 libsoxr0 libspeex1 libsphinxbase3
libspice-server1 libsratom-0-0 libsrt1.4-gnutls libssh-gcrypt-4 libstatgrab10
libstring-shellquote-perl libswresample3 libswscale5 libtag1v5
libtag1v5-vanilla libtalloc2 libtdb1 libtemplate-perl libtevent0 libthai-data
libthai0 libtheora0 libtie-ixhash-perl libtirpc-dev libtpms0 libtwolame0
libu2f-server0 libudfread0 liburcu6 liburing1 libusbredirparser1 libuuid-perl
libuutil3linux libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2
libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvirglrenderer1 libvisual-0.4-0
libvorbis0a libvorbisenc2 libvorbisfile3 libvotequorum8 libvpx6 libvulkan1
libwavpack1 libwayland-client0 libwayland-server0 libwbclient0 libx11-xcb1
libx264-160 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0
libxdamage1 libxfixes3 libxml-libxml-perl libxml-twig-perl
libxml-xpathengine-perl libxpm4 libxrender1 libxshmfence1 libxslt1.1 libxv1
libxvidcore4 libxxf86vm1 libyaml-0-2 libyaml-libyaml-perl libz3-4 libzfs4linux
libzmq5 libzpool4linux libzpool5linux libzvbi-common libzvbi0 linux-libc-dev
lvm2 lxc-pve lxcfs lzop manpages-dev mesa-va-drivers mesa-vdpau-drivers
mesa-vulkan-drivers novnc-pve numactl ocl-icd-libopencl1 pocketsphinx-en-us
proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore
proxmox-backup-restore-image proxmox-mini-journalreader
proxmox-offline-mirror-docs proxmox-offline-mirror-helper
proxmox-websocket-tunnel proxmox-widget-toolkit pve-cluster pve-container
pve-docs pve-edk2-firmware pve-firewall pve-ha-manager pve-i18n
pve-kernel-5.11.22-4-pve pve-kernel-5.11.22-5-pve pve-kernel-5.4.140-1-pve
pve-kernel-helper pve-lxc-syscalld pve-manager pve-qemu-kvm pve-xtermjs
python3-gpg python3-jwt python3-ldb python3-protobuf python3-samba
python3-talloc python3-tdb qemu-server qrencode rrdcached rsync samba-common
samba-common-bin samba-dsdb-modules samba-libs smartmontools smbclient socat
spiceterm sqlite3 swtpm swtpm-libs swtpm-tools thin-provisioning-tools uidmap
va-driver-all vdpau-driver-all vncterm xfsprogs xsltproc zfs-zed zfsutils-linux
zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-5.10.0-14-amd64 linux-image-5.10.0-8-amd64
linux-image-5.10.0-9-amd64 proxmox-ve pve-firmware pve-kernel-5.11
pve-kernel-5.15 pve-kernel-5.4
The following NEW packages will be installed:
firmware-linux-free linux-image-5.10.0-18-amd64 proxmox-offline-mirror-docs
proxmox-offline-mirror-helper
The following packages will be upgraded:
base-files curl dpkg e2fsprogs gnutls-bin grub-common grub-efi-amd64
grub-efi-amd64-bin grub2-common gstreamer1.0-plugins-good krb5-locales
libavahi-client3 libavahi-common-data libavahi-common3 libc-bin libc-dev-bin
libc-devtools libc-l10n libc6 libc6-dev libcom-err2 libcurl3-gnutls libcurl4
libext2fs2 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common
libgnutls-dane0 libgnutls30 libgnutlsxx28 libgssapi-krb5-2 libhttp-daemon-perl
libk5crypto3 libkrb5-3 libkrb5support0 libldb2 libnss-systemd libnvpair3linux
libpam-systemd libpcre2-8-0 libproxmox-rs-perl libpve-access-control
libpve-cluster-api-perl libpve-cluster-perl libpve-rs-perl libpve-storage-perl
libsmbclient libss2 libsystemd0 libtirpc-common libtirpc-dev libtirpc3 libudev1
libuutil3linux libwbclient0 libxslt1.1 libzfs4linux libzpool5linux
linux-image-5.10.0-16-amd64 linux-image-amd64 linux-libc-dev locales logsave
mokutil proxmox-archive-keyring proxmox-backup-client
proxmox-backup-file-restore publicsuffix pve-cluster pve-container
pve-edk2-firmware pve-firewall pve-ha-manager pve-kernel-helper
pve-lxc-syscalld pve-manager pve-qemu-kvm python3-ldb python3-samba qemu-server
samba-common samba-common-bin samba-dsdb-modules samba-libs smbclient systemd
systemd-sysv systemd-timesyncd tzdata udev unzip xsltproc zfs-zed
zfsutils-linux zlib1g
95 upgraded, 4 newly installed, 8 to remove and 0 not upgraded.
Need to get 0 B/207 MB of archives.
After this operation, 964 MB disk space will be freed.
Do you want to continue? [Y/n]
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

thank you for your help
 
apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

linux-image-5.10.0-14-amd64/stable-security,now 5.10.113-1 amd64 [installed,auto-removable]
linux-image-5.10.0-15-amd64/stable-security,now 5.10.120-1 amd64 [installed,automatic]
linux-image-5.10.0-16-amd64/now 5.10.127-1 amd64 [installed,upgradable to: 5.10.127-2]
linux-image-5.10.0-8-amd64/stable-security,now 5.10.46-5 amd64 [installed,auto-removable]
linux-image-5.10.0-9-amd64/now 5.10.70-1 amd64 [installed,local]
linux-image-amd64/now 5.10.127-1 amd64 [installed,upgradable to: 5.10.140-1]

Have a look here: [1], execute the command mentioned there (apt remove linux-image-amd64), afterwards execute apt full-upgrade again and report (with the output of it, if still needed) back, please.

[1] https://pve.proxmox.com/wiki/Upgrad...rade_wants_to_remove_package_.27proxmox-ve.27
 
Last edited:
  • Like
Reactions: schobi

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!