apt full-upgrade uninstalling proxmox-ve?

faithy3

New Member
May 6, 2023
4
1
1
Apologies for any editing errors, I don't use forums all too often.
I tried to update my Proxmox box (Debian Bullseye, proxmox no-subscription repository, proxmox-ve package 7.4-1 though the web reports version 7.0-11) recently, and most proxmox packages were being held back. I tried to apt full-upgrade, which created a transaction that uninstalls proxmox-ve along with many other packages. Below is a log of it.
Code:
~# 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 bridge-utils ceph-common ceph-fuse cifs-utils corosync criu cstream dconf-gsettings-backend dconf-service 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 hdparm i965-va-driver ibverbs-providers idn ifupdown2
  intel-media-va-driver ipset iptables javascript-common libaa1 libaacs0 libanyevent-http-perl libanyevent-perl libaom0 libappconfig-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data
  libass9 libasync-interrupt-perl libasyncns0 libauthen-pam-perl libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0 libavcodec58 libavfilter7 libavformat58 libavutil56
  libbabeltrace1 libbdplus0 libblas3 libbluray2 libboost-context1.74.0 libboost-coroutine1.74.0 libboost-iostreams1.74.0 libboost-program-options1.74.0 libboost-thread1.74.0 libbs2b0 libcaca0
  libcairo-gobject2 libcairo2 libcdparanoia0 libcephfs2 libcfg7 libchromaprint1 libcmap4 libcodec2-0.9 libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libcups2 libdatrie1 libdav1d4 libdbi1 libdconf1 libdeflate0 libdevel-cycle-perl libdigest-bubblebabble-perl libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2
  libdrm-radeon1 libdrm2 libdv4 libdw1 libev-perl libfaketime libfdt1 libfftw3-double3 libfile-chdir-perl libfile-readbackwards-perl libfilesys-df-perl libflac8 libflite1 libfontconfig1
  libfuse3-3 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgfapi0 libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-0
  libglib2.0-data libglusterd0 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 libiec61883-0 libigdgmm11 libinih1 libio-multiplex-perl libio-stringy-perl libip6tc2 libipset13 libiscsi7
  libjack-jackd2-0 libjbig0 libjemalloc2 libjpeg62-turbo libjs-bootstrap libjs-extjs libjs-jquery libknet1 liblapack3 libldb2 libleveldb1d liblilv-0-0 liblinux-inotify2-perl libllvm11 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-conntrack3
  libnetfilter-log1 libnfnetlink0 libnl-3-200 libnl-route-3-200 libnorm1 libnozzle1 libnspr4 libnss3 libnuma1 libnvpair3linux liboath0 libogg0 libopenjp2-7 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 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
  librabbitmq4 librados2 librados2-perl libradosstriper1 libraw1394-11 librbd1 librdmacm1 librrd8 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsamplerate0 libsdl1.2debian
  libsensors-config libsensors5 libserd-0-0 libshine3 libshout3 libsmbclient libsnappy1v5 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 libtcmalloc-minimal4 libtdb1
  libtemplate-perl libtevent0 libthai-data libthai0 libtheora0 libtie-ixhash-perl libtiff5 libtwolame0 libu2f-server0 libudfread0 libunwind8 liburcu6 liburing1 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 libvpx6
  libvulkan1 libwavpack1 libwayland-client0 libwbclient0 libwebp6 libwebpmux3 libx11-xcb1 libx264-160 libx265-192 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 libxrender1 libxshmfence1 libxslt1.1 libxv1
  libxvidcore4 libxxf86vm1 libyaml-0-2 libyaml-libyaml-perl libz3-4 libzfs4linux libzmq5 libzpool5linux libzvbi-common libzvbi0 lxc-pve lxcfs lzop 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-kernel-helper proxmox-mini-journalreader proxmox-widget-toolkit pve-cluster pve-docs pve-edk2-firmware pve-firewall pve-i18n pve-lxc-syscalld pve-qemu-kvm pve-xtermjs
  python3-ceph-argparse python3-cephfs python3-gpg python3-jwt python3-ldb python3-prettytable python3-protobuf python3-rados python3-rbd python3-samba python3-talloc python3-tdb qrencode
  rrdcached rsync samba-common samba-common-bin samba-dsdb-modules samba-libs shared-mime-info smartmontools smbclient socat spiceterm sqlite3 uidmap va-driver-all vdpau-driver-all vncterm
  xdg-user-dirs xfsprogs xsltproc zfs-zed zfsutils-linux zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-container pve-ha-manager pve-manager qemu-server
The following NEW packages will be installed:
  libproxmox-rs-perl
The following packages will be upgraded:
  libpve-access-control libpve-common-perl libpve-rs-perl pve-firewall zfs-zed
5 upgraded, 1 newly installed, 5 to remove and 0 not upgraded.
Need to get 0 B/2,219 kB of archives.
After this operation, 7,354 kB disk space will be freed.
Do you want to continue? [Y/n]
How can I fix this and upgrade my server?
 
If still needed, please provide the full output in code-tags each of:
  • pveversion -v
  • apt list --installed | grep linux-image
  • grep -r '' /etc/apt/sources.list*
  • apt update
 
If still needed, please provide the full output in code-tags each of:
  • pveversion -v
  • apt list --installed | grep linux-image
  • grep -r '' /etc/apt/sources.list*
  • apt update

Code:
~# pveversion -v
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 169.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 204.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 204.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 230.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 230.
proxmox-ve: 7.4-1 (running kernel: 5.15.107-1-pve)
pve-manager: 7.0-11 (running version: 7.0-11/63d82f4e)
pve-kernel-5.15: 7.4-2
pve-kernel-5.13: 7.1-9
pve-kernel-5.15.107-1-pve: 5.15.107-1
pve-kernel-5.15.104-1-pve: 5.15.104-2
pve-kernel-5.15.102-1-pve: 5.15.102-1
pve-kernel-5.13.19-6-pve: 5.13.19-15
pve-kernel-5.13.19-2-pve: 5.13.19-4
ceph-fuse: 14.2.21-1
corosync: 3.1.7-pve1
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-pve2
libproxmox-acme-perl: 1.4.4
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.0-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-9
libpve-guest-common-perl: 4.0-2
libpve-http-server-perl: 4.2-3
libpve-storage-perl: 7.0-11
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.2-2
lxcfs: 5.0.3-pve1
novnc-pve: 1.4.0-1
proxmox-backup-client: 2.4.1-1
proxmox-backup-file-restore: 2.4.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.6.5
pve-cluster: 7.3-3
pve-container: 4.1-3
pve-docs: 7.4-2
pve-edk2-firmware: 3.20230228-2
pve-firewall: 4.2-7
pve-firmware: 3.6-5
pve-ha-manager: 3.3-4
pve-i18n: 2.12-1
pve-qemu-kvm: 6.1.1-2
pve-xtermjs: 4.16.0-1
qemu-server: 7.0-14
smartmontools: 7.2-pve3
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.1.11-pve1
Code:
~# apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Code:
~# grep -r '' /etc/apt/sources.list*
/etc/apt/sources.list:# bullseye-updates, to get updates before a point release is made;
/etc/apt/sources.list:#_updates_and_backports
/etc/apt/sources.list:# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
/etc/apt/sources.list:deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
/etc/apt/sources.list:
/etc/apt/sources.list:# deb-src http://deb.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:
/etc/apt/sources.list.save:# bullseye-updates, to get updates before a point release is made;
/etc/apt/sources.list.save:#_updates_and_backports
/etc/apt/sources.list.save:# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
/etc/apt/sources.list.save:deb http://deb.debian.org/debian/ bullseye-updates main contrib
/etc/apt/sources.list.save:
/etc/apt/sources.list.save:# deb-src http://deb.debian.org/debian/ bullseye-updates main contrib
/etc/apt/sources.list.save:
/etc/apt/sources.list.save:# PVE pve-no-subscription repository provided by proxmox.com,
/etc/apt/sources.list.save:# NOT recommended for production use
/etc/apt/sources.list.save:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
/etc/apt/sources.list.save:
/etc/apt/sources.list.save:# security updates
/etc/apt/sources.list.save:deb http://security.debian.org/debian-security bullseye-security main contrib
/etc/apt/sources.list.save:
/etc/apt/sources.list.save.1:# bullseye-updates, to get updates before a point release is made;
/etc/apt/sources.list.save.1:#_updates_and_backports
/etc/apt/sources.list.save.1:# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
/etc/apt/sources.list.save.1:deb http://deb.debian.org/debian/ bullseye-updates main contrib
/etc/apt/sources.list.save.1:
/etc/apt/sources.list.save.1:# deb-src http://deb.debian.org/debian/ bullseye-updates main contrib
/etc/apt/sources.list.save.1:
/etc/apt/sources.list.save.1:# PVE pve-no-subscription repository provided by proxmox.com,
/etc/apt/sources.list.save.1:# NOT recommended for production use
/etc/apt/sources.list.save.1:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
/etc/apt/sources.list.save.1:
/etc/apt/sources.list.save.1:# security updates
/etc/apt/sources.list.save.1:deb http://security.debian.org/debian-security bullseye-security main contrib
/etc/apt/sources.list.save.1:
Code:
~# apt update
Get:1 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://download.proxmox.com/debian/pve bullseye InRelease
Fetched 44.1 kB in 2s (18.5 kB/s)                       
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
12 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
Try to run apt install proxmox-ve first.
Code:
~# apt install proxmox-ve
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
proxmox-ve is already the newest version (7.4-1).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
 
That's a little bit scary that my server has seemingly been running without updates for a year.
That fixed it! Thank you so much.
 
  • Like
Reactions: Neobin

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!