[SOLVED] Upgrade issues in 6.2-2

iworx

Member
Apr 22, 2020
18
3
23
Belgium
I'm running into an upgrade issue that I can't seem to fix.

* Checked all apt sources and they all look OK.
* Rebooted the node and retried
* Last update happened by : apt update && apt upgrade instead of full-upgrade



Bash:
root@pve:/etc/apt# apt-get full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  apt-transport-https attr bridge-utils ceph-common ceph-fuse cifs-utils corosync criu cstream dconf-gsettings-backend dconf-service dh-python dmeventd dtach ebtables faketime fontconfig fontconfig-config
  fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings gdisk genisoimage 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 guile-2.0-libs i965-va-driver ibverbs-providers idn ifenslave intel-media-va-driver ipset javascript-common libaa1 libaacs0
  libacl1-dev libaio1 libanyevent-http-perl libanyevent-perl libaom0 libapparmor-perl libappconfig-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libass9 libasync-interrupt-perl libasyncns0 libattr1-dev
  libauthen-pam-perl libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0 libavcodec58 libavfilter7 libavformat58 libavutil56 libbabeltrace-ctf1 libbabeltrace1 libbdplus0 libbind9-140 libbluray2
  libboost-atomic1.67.0 libboost-iostreams1.62.0 libboost-iostreams1.67.0 libboost-program-options1.62.0 libboost-program-options1.67.0 libboost-random1.62.0 libboost-regex1.62.0 libboost-regex1.67.0
  libboost-system1.62.0 libboost-system1.67.0 libboost-thread1.62.0 libboost-thread1.67.0 libbs2b0 libc-dev-bin libc6-dev libcaca0 libcairo-gobject2 libcairo2 libcdparanoia0 libcephfs1 libcephfs2 libcfg6 libcfg7
  libchromaprint1 libclone-perl libcmap4 libcodec2-0.8.1 libcorosync-common4 libcpg4 libcroco3 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrystalhd3 libcups2 libdatrie1
  libdbi1 libdconf1 libdevel-cycle-perl libdevmapper-event1.02.1 libdigest-bubblebabble-perl libdns162 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1 libev-perl
  libevent-2.0-5 libfaketime libfcgi-bin libfcgi0ldbl libfdt1 libfftw3-double3 libfile-chdir-perl libfile-readbackwards-perl libfilesys-df-perl libflac8 libflite1 libfontconfig1 libfuse3-3 libgdk-pixbuf2.0-0
  libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgfapi0 libgfchangelog0 libgfdb0 libgfrpc0 libgfxdr0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglib2.0-data libglusterfs-dev libglusterfs0 libglvnd0
  libglx-mesa0 libglx0 libgme0 libgnutlsxx28 libgomp1 libgoogle-perftools4 libgpgme11 libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libguard-perl libgudev-1.0-0 libharfbuzz0b libibverbs1
  libice6 libicu57 libiec61883-0 libigdgmm5 libio-multiplex-perl libio-stringy-perl libipset11 libipset3 libisc160 libisccc140 libisccfg140 libiscsi7 libjack-jackd2-0 libjbig0 libjemalloc1 libjemalloc2 libjpeg62-turbo
  libjs-bootstrap libjs-extjs libjs-jquery libjs-sphinxdoc libjs-underscore libknet1 libldb1 liblilv-0-0 liblinux-inotify2-perl libllvm7 liblvm2app2.2 liblvm2cmd2.02 liblvm2cmd2.03 liblwres141 libmime-base32-perl
  libmp3lame0 libmpg123-0 libmysofa0 libnet-dbus-perl libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnet1 libnetfilter-log1 libnl-3-200 libnl-route-3-200 libnorm1 libnspr4 libnss3 libnuma1 libnvpair1linux
  libogg0 libopenjp2-7 libopenmpt0 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0 libperl5.24 libpgm-5.2-0 libpixman-1-0 libpostproc55 libprotobuf10 libprotobuf17
  libproxmox-acme-perl libproxmox-backup-qemu0 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-storage-perl libpve-u2f-server-perl libpython3.5-minimal libpython3.5-stdlib libpython3.7 libqb0 libqrencode4 libquorum5 librados2 librados2-perl libradosstriper1 libraw1394-11 librbd1
  librdmacm1 libreadline5 librgw2 librrd8 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsamplerate0 libsdl1.2debian libsensors-config libsensors5 libserd-0-0 libshine3 libshout3 libsm6 libsmbclient
  libsnappy1v5 libsndfile1 libsodium23 libsord-0-0 libsoup2.4-1 libsoxr0 libspeex1 libspice-server1 libsratom-0-0 libssh-gcrypt-4 libstatgrab10 libstring-shellquote-perl libswresample3 libswscale5 libtag1v5
  libtag1v5-vanilla libtalloc2 libtcmalloc-minimal4 libtdb1 libtemplate-perl libtevent0 libthai-data libthai0 libtheora0 libtie-ixhash-perl libtiff5 libtotem-pg5 libtwolame0 libu2f-server0 libunwind8 liburcu4 liburcu6
  libusbredirparser1 libuuid-perl libuutil1linux libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvotequorum8
  libvpx5 libwavpack1 libwbclient0 libwebp6 libwebpmux3 libx11-xcb1 libx264-155 libx265-165 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxdamage1
  libxfixes3 libxi6 libxml-libxml-perl libxml-twig-perl libxml-xpathengine-perl libxrender1 libxshmfence1 libxslt1.1 libxtst6 libxv1 libxvidcore4 libxxf86vm1 libyaml-0-2 libyaml-libyaml-perl libzfs2linux libzmq5
  libzpool2linux libzvbi-common libzvbi0 linux-image-4.19.0-9-amd64 linux-image-4.9.0-12-amd64 linux-libc-dev lvm2 lxc-pve lxcfs lzop manpages-dev mesa-va-drivers mesa-vdpau-drivers net-tools novnc-pve numactl
  proxmox-archive-keyring proxmox-backup-client proxmox-mini-journalreader proxmox-widget-toolkit pve-cluster pve-container pve-docs pve-edk2-firmware pve-firewall pve-ha-manager pve-i18n pve-kernel-4.15.18-25-pve
  pve-kernel-5.4.34-1-pve pve-kernel-5.4.41-1-pve pve-kernel-helper pve-lxc-syscalld pve-manager pve-qemu-kvm pve-xtermjs python-asn1crypto python-cephfs python-certifi python-cffi-backend python-chardet
  python-configparser python-crypto python-cryptography python-enum34 python-future python-gpg python-idna python-ipaddr python-ipaddress python-ldb python-openssl python-pkg-resources python-prettytable
  python-protobuf python-pyasn1 python-rados python-rbd python-requests python-samba python-setuptools python-six python-talloc python-tdb python-urllib3 python3-distutils python3-jwt python3-lib2to3
  python3-prettytable python3.5 python3.5-minimal qemu-server qrencode rename rrdcached rsync samba-common samba-common-bin samba-dsdb-modules samba-libs sgml-base shared-mime-info smartmontools smbclient socat
  spiceterm sqlite3 tcpd thin-provisioning-tools uidmap va-driver-all vdpau-driver-all vncterm x11-common xdg-user-dirs xfsprogs xml-core xsltproc zfs-zed zfsutils-linux zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-firmware pve-kernel-4.15 pve-kernel-5.4
The following NEW packages will be installed:
  firmware-linux-free libyaml-0-2 libyaml-libyaml-perl linux-image-4.19.0-12-amd64
The following packages will be upgraded:
  krb5-locales libfreetype6 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libmariadb3 libnvpair1linux libproxmox-backup-qemu0 libpve-common-perl libpve-storage-perl libuutil1linux
  libzfs2linux libzpool2linux linux-image-amd64 linux-libc-dev mariadb-common proxmox-backup-client proxmox-widget-toolkit pve-container pve-i18n pve-kernel-helper pve-manager pve-qemu-kvm qemu-server tzdata zfs-zed
  zfsutils-linux
30 upgraded, 4 newly installed, 4 to remove and 0 not upgraded.
Need to get 0 B/82.4 MB of archives.
After this operation, 73.7 MB of additional disk space will be used.
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



Bash:
root@pve:/etc/apt# pveversion -v
proxmox-ve: 6.2-2 (running kernel: 5.4.65-1-pve)
pve-manager: 6.2-12 (running version: 6.2-12/b287dd27)
pve-kernel-5.4: 6.2-7
pve-kernel-helper: 6.2-7
pve-kernel-5.4.65-1-pve: 5.4.65-1
pve-kernel-5.4.55-1-pve: 5.4.55-1
pve-kernel-5.4.41-1-pve: 5.4.41-1
pve-kernel-5.4.34-1-pve: 5.4.34-2
pve-kernel-4.15: 5.4-17
pve-kernel-4.15.18-28-pve: 4.15.18-56
pve-kernel-4.15.18-25-pve: 4.15.18-53
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.5
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.2-2
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.2-8
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
openvswitch-switch: 2.12.0-1
proxmox-backup-client: 0.9.0-2
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.3-1
pve-cluster: 6.2-1
pve-container: 3.2-2
pve-docs: 6.2-6
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-1
pve-qemu-kvm: 5.1.0-3
pve-xtermjs: 4.7.0-2
qemu-server: 6.2-15
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.4-pve2

Bash:
root@pve:/etc/apt# cat sources.list
#

# deb cdrom:[Debian GNU/Linux 9.12.0 _Stretch_ - Official amd64 NETINST 20200209-02:13]/ buster main

#deb cdrom:[Debian GNU/Linux 9.12.0 _Stretch_ - Official amd64 NETINST 20200209-02:13]/ buster main

deb http://ftp.belnet.be/debian/ buster main
deb-src http://ftp.belnet.be/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://ftp.belnet.be/debian/ buster-updates main
deb-src http://ftp.belnet.be/debian/ buster-updates main

Bash:
root@pve:/etc/apt/sources.list.d# cat pve-install-repo.list
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
 
Last edited:
Sure. Thanks for taking the time.

Bash:
root@pve:~# apt update
Hit:1 http://ftp.belnet.be/debian buster InRelease
Hit:2 http://ftp.belnet.be/debian buster-updates InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
31 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
Last edited:
What said apt install -f? - if didn't say anything interesting please post output of:

Bash:
find /etc/apt/sources.list.d/ -name '*.list' -exec cat {} +
 
What said apt install -f? - if didn't say anything interesting please post output of:

Bash:
find /etc/apt/sources.list.d/ -name '*.list' -exec cat {} +
Bash:
root@pve:/var/lib/apt/lists# apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dh-python guile-2.0-libs libapparmor-perl libbabeltrace-ctf1 libbind9-140 libboost-iostreams1.62.0 libboost-program-options1.62.0
  libboost-random1.62.0 libboost-regex1.62.0 libboost-system1.62.0 libboost-thread1.62.0 libcephfs1 libcfg6 libdns162 libevent-2.0-5 libfcgi-bin
  libfcgi0ldbl libfdt1 libicu57 libipset3 libisc160 libisccc140 libisccfg140 libjemalloc1 liblvm2app2.2 liblvm2cmd2.02 liblwres141 libperl5.24
  libprotobuf10 libpython3.5-minimal libpython3.5-stdlib librgw2 libtotem-pg5 liburcu4 linux-image-4.19.0-9-amd64 linux-image-4.9.0-12-amd64
  pve-kernel-4.15.18-25-pve pve-kernel-5.4.34-1-pve pve-kernel-5.4.41-1-pve python-pyasn1 python3-distutils python3-lib2to3 python3.5 python3.5-minimal
  rename sgml-base tcpd xml-core
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.

Bash:
root@pve:/var/lib/apt/lists# find /etc/apt/sources.list.d/ -name '*.list' -exec cat {} +
deb http://download.proxmox.com/debian buster pve-no-subscription
 
Hmmm, please post output of the following commands:
Bash:
~ dpkg --list | grep pve-kernel
~ uname -a
 
Hmmm, please post output of the following commands:
Bash:
~ dpkg --list | grep pve-kernel
~ uname -a
Bash:
root@pve:/var/lib/apt/lists# dpkg --list | grep pve-kernel
ii  pve-firmware                         3.1-3                           all          Binary firmware code for the pve-kernel
ii  pve-kernel-4.15                      5.4-17                          all          Latest Proxmox VE Kernel Image
ii  pve-kernel-4.15.18-25-pve            4.15.18-53                      amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-4.15.18-28-pve            4.15.18-56                      amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-5.4                       6.2-7                           all          Latest Proxmox VE Kernel Image
ii  pve-kernel-5.4.34-1-pve              5.4.34-2                        amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-5.4.41-1-pve              5.4.41-1                        amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-5.4.55-1-pve              5.4.55-1                        amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-5.4.65-1-pve              5.4.65-1                        amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-helper                    6.2-7                           all          Function for various kernel maintenance tasks.

Bash:
root@pve:/var/lib/apt/lists# uname -a
Linux pve 5.4.65-1-pve #1 SMP PVE 5.4.65-1 (Mon, 21 Sep 2020 15:40:22 +0200) x86_64 GNU/Linux

Ps: I'm a bit happy it's not that simple .. started to doubt myself :) Thanks for your help, @Moayad
 
glad to help and thanks for outputs :)

Have you installed Proxmox VE on Debian Buster or from ISO?

What say this command dpkg --list | grep linux-image
 
Bash:
root@pve:/var/lib/apt/lists# dpkg --list | grep linux-image
ii  linux-image-4.19.0-10-amd64          4.19.132-1                      amd64        Linux 4.19 for 64-bit PCs (signed)
ii  linux-image-4.19.0-11-amd64          4.19.146-1                      amd64        Linux 4.19 for 64-bit PCs (signed)
ii  linux-image-4.19.0-9-amd64           4.19.118-2+deb10u1              amd64        Linux 4.19 for 64-bit PCs (signed)
ii  linux-image-4.9.0-12-amd64           4.9.210-1                       amd64        Linux 4.9 for 64-bit PCs
ii  linux-image-amd64                    4.19+105+deb10u6                amd64        Linux for 64-bit PCs (meta-package)
 
Could you try to remove oldest kernel linux-image-4.19.0-10-amd64 by doing apt remove linux-image-4.19.0-10-amd64 then reboot your node, after that try to apt update && apt full-upgrade if that not help also try remove pve-kernel-4.15.18-25-pve and re-again please.

Hope that helps :)
 
  • Like
Reactions: iworx
Could you try to remove oldest kernel linux-image-4.19.0-10-amd64 by doing apt remove linux-image-4.19.0-10-amd64 then reboot your node, after that try to apt update && apt full-upgrade if that not help also try remove pve-kernel-4.15.18-25-pve and re-again please.

Hope that helps :)
That did the trick! Didn't even have to reboot. Thanks so much, @Moayad
 
  • Like
Reactions: Moayad

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!