[SOLVED] proxmox-ve: 6.3-1- update problems

deltacore

Member
Mar 25, 2021
2
0
6
26
Good day,

i hope you can help me out a bit here.

I am running a proxmox-ve 6.3-1 on bare metal for about a year now. Today i wanted to do an update but it appears it wants to remove the meta package `proxmox-ve`.

apt update && apt dist-upgrade
Code:
❯ apt update
Hit:1 http://ftp.debian.org/debian buster InRelease
Hit:2 http://ftp.debian.org/debian buster-updates InRelease
Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:4 https://repos.influxdata.com/debian buster InRelease
Hit:5 http://download.proxmox.com/debian/pve buster InRelease
Fetched 65.4 kB in 1s (84.5 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
83 packages can be upgraded. Run 'apt list --upgradable' to see them.
❯ apt dist-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:
  ceph-common ceph-fuse cifs-utils corosync criu cstream dconf-gsettings-backend dconf-service dtach ebtables faketime
  fonts-font-awesome fonts-glyphicons-halflings 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 hdparm i965-va-driver ibverbs-providers idn intel-media-va-driver ipset iso-codes libaa1
  libaacs0 libacl1-dev libanyevent-http-perl libanyevent-perl libaom0 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 libbabeltrace1 libbdplus0 libbluray2 libboost-atomic1.67.0 libboost-program-options1.67.0
  libboost-regex1.67.0 libboost-thread1.67.0 libbs2b0 libcaca0 libcairo-gobject2 libcdparanoia0 libcephfs2 libcfg7 libchromaprint1
  libclone-perl libcmap4 libcodec2-0.8.1 libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libcrystalhd3 libdbi1 libdconf1 libdevel-cycle-perl libdigest-bubblebabble-perl libdrm-amdgpu1
  libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1 libev-perl libfaketime libfftw3-double3
  libfile-chdir-perl libfile-readbackwards-perl libfilesys-df-perl libflac8 libflite1 libftgl2 libfuse3-3 libgfapi0 libgfchangelog0
  libgfdb0 libgfrpc0 libgfxdr0 libgl1 libgl1-mesa-dri libglapi-mesa libglewmx1.13 libglu1-mesa libglusterfs-dev libglusterfs0
  libglvnd0 libglx-mesa0 libglx0 libgme0 libgnutlsxx28 libgoogle-perftools4 libgpgme11 libgsm1 libgstreamer-plugins-base1.0-0
  libgstreamer1.0-0 libguard-perl libgudev-1.0-0 libibverbs1 libice6 libiec61883-0 libigdgmm5 libio-multiplex-perl
  libio-stringy-perl libipset11 libiscsi7 libjack-jackd2-0 libjansson4 libjemalloc2 libjs-bootstrap libjs-extjs libjs-sphinxdoc
  libjs-underscore libknet1 libldb1 liblilv-0-0 liblinux-inotify2-perl libllvm7 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 libnvpair3linux libogg0 libopenjp2-7 libopenmpt0 libopus0 liborc-0.4-0 libpciaccess0
  libpgm-5.2-0 libportaudio2 libpostproc55 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 libpython2.7 libqb0 libqrencode4
  libquorum5 librados2 librados2-perl libradosstriper1 libraw1394-11 librbd1 librdmacm1 librrd8 librrds-perl librubberband2
  libsamplerate0 libsdl1.2debian 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 libtheora0 libtie-ixhash-perl libtwolame0 libu2f-server0 libunwind8 liburcu6 libusbredirparser1
  libuuid-perl libuutil3linux 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 libwebpmux3 libx11-xcb1
  libx264-155 libx265-165 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-sync1 libxcb-xfixes0 libxml-libxml-perl
  libxml-twig-perl libxml-xpathengine-perl libxshmfence1 libxslt1.1 libxtst6 libxv1 libxvidcore4 libxxf86vm1 libyaml-libyaml-perl
  libzfs4linux libzmq5 libzpool4linux libzvbi-common libzvbi0 linux-image-4.19.0-8-amd64 linux-image-4.19.0-9-amd64 lxc-pve lxcfs
  lzop mesa-va-drivers mesa-vdpau-drivers novnc-pve numactl proxmox-archive-keyring proxmox-backup-client
  proxmox-mini-journalreader proxmox-widget-toolkit puredata-core pve-cluster pve-container pve-docs pve-edk2-firmware pve-firewall
  pve-ha-manager pve-i18n pve-kernel-5.4.34-1-pve pve-kernel-helper pve-lxc-syscalld pve-manager pve-qemu-kvm pve-xtermjs
  python-argcomplete 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-rados python-rbd python-requests python-samba
  python-six python-talloc python-tdb python-urllib3 python3-certifi python3-chardet python3-idna python3-jwt python3-prettytable
  python3-requests python3-urllib3 qemu-server qrencode rrdcached samba-common samba-common-bin samba-dsdb-modules samba-libs
  smartmontools smbclient socat spiceterm uidmap va-driver-all vdpau-driver-all vncterm x11-common xsltproc zfs-zed zfsutils-linux
  zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libnvpair1linux libuutil1linux libzfs2linux libzpool2linux proxmox-ve pve-firmware pve-kernel-5.3 pve-kernel-5.4
The following NEW packages will be installed:
  firmware-linux-free libnvpair3linux libuutil3linux libzfs4linux libzpool4linux linux-image-4.19.0-14-amd64
The following packages will be upgraded:
  apt apt-transport-https apt-utils base-files bind9-host ca-certificates corosync dnsutils file iproute2 libapt-inst2.0
  libapt-pkg5.0 libbind9-161 libcairo-gobject2 libcairo2 libcfg7 libcmap4 libcorosync-common4 libcpg4 libcups2 libdns-export1104
  libdns1104 libefiboot1 libefivar1 libgnutls30 libgnutlsxx28 libirs161 libisc-export1100 libisc1100 libisccc161 libisccfg163
  libjpeg62-turbo libknet1 libldap-2.4-2 libldap-common liblwres161 libmagic-mgc libmagic1 libp11-kit0 libpam-systemd
  libproxmox-acme-perl libproxmox-backup-qemu0 libpve-apiclient-perl libpve-common-perl libpve-guest-common-perl
  libpve-http-server-perl libpve-storage-perl libquorum5 libruby2.5 libsqlite3-0 libssl1.1 libsystemd0 libtiff5 libudev1
  libvotequorum8 libxml2 libzstd1 linux-image-amd64 linux-libc-dev lxc-pve lxcfs openssl proxmox-backup-client
  proxmox-widget-toolkit pve-container pve-kernel-helper pve-manager pve-qemu-kvm qemu-server ruby2.5 smartmontools sqlite3 sudo
  systemd systemd-sysv telegraf tzdata udev zfs-zed zfsutils-linux zstd
81 upgraded, 6 newly installed, 8 to remove and 0 not upgraded.
Need to get 0 B/138 MB of archives.
After this operation, 98.3 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

My apt source lists:
Code:
❯ ls /etc/apt/sources.list.d/
influxdb.list
❯ cat /etc/apt/sources.list
# deb http://mirror.hetzner.de/debian/packages buster main contrib non-free
# deb http://mirror.hetzner.de/debian/security buster/updates main contrib non-free
# deb http://mirror.hetzner.de/debian/packages buster-updates main contrib non-free

# Lines listed on https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_package_repositories under 3.1.2 Proxmox VE No-Subscription Repository
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org/debian-security buster/updates main contrib
❯ cat /etc/apt/sources.list.d/influxdb.list
deb https://repos.influxdata.com/debian buster stable

pveversion -v
Code:
❯ pveversion -v
proxmox-ve: 6.3-1 (running kernel: 5.4.73-1-pve)
pve-manager: 6.3-2 (running version: 6.3-2/22f57405)
pve-kernel-5.4: 6.3-1
pve-kernel-helper: 6.3-1
pve-kernel-5.3: 6.1-6
pve-kernel-5.4.73-1-pve: 5.4.73-1
pve-kernel-5.4.44-2-pve: 5.4.44-2
pve-kernel-5.4.34-1-pve: 5.4.34-2
pve-kernel-5.3.18-3-pve: 5.3.18-3
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve3
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.5
libproxmox-backup-qemu0: 1.0.2-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.2-6
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.3-1
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
proxmox-backup-client: 1.0.5-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-3
pve-cluster: 6.2-1
pve-container: 3.3-1
pve-docs: 6.3-1
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-2
pve-qemu-kvm: 5.1.0-7
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-1
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.5-pve1

If there is anything else I can provide to make it easier, please let me know.

I am kind of stuck with my knowledge about Debian packages at this point to be honest.

Kind regards,
Marcel / deltacore
 
Remove the Buster kernel and try again:

> apt remove linux-image-amd64 'linux-image-4.19*'

> apt update && apt dist-upgrade
 
Thank you very much!
That worked. This one goes into my notes to keep in mind when updating.
Kind regards,
Marcel / deltacore
 

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!