[SOLVED] Last "apt dist-upgrade" wants to remove proxmox-pve

meepmeep

Renowned Member
Apr 14, 2013
51
8
73
Hi

This morning I launched a classical "apt update && apt dist-upgrade" on my proxmox server, and it said :
Code:
The following packages will be upgraded:

  linux-image-amd64 linux-libc-dev

BUT, to update theses packages, proxmox want to remove a lot of packages

Code:
The following packages were automatically installed and are no longer required:
  alsa-topology-conf alsa-ucm-conf attr ceph-common ceph-fuse cifs-utils corosync criu cstream dconf-gsettings-backend dconf-service dmeventd dtach ebtables faketime fontconfig 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 intel-media-va-driver ipset
  iptables javascript-common libaa1 libaacs0 libaio1 libanyevent-http-perl libanyevent-perl libaom0 libappconfig-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 libdevel-cycle-perl libdevmapper-event1.02.1 libdigest-bubblebabble-perl libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1 libepoxy0 libev-perl libfaketime libfdt1 libfftw3-double3 libfile-chdir-perl
  libfile-readbackwards-perl libfilesys-df-perl libflac8 libflite1 libfuse3-3 libgbm1 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 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 libjemalloc2 libjs-bootstrap libjs-extjs libjs-jquery libjs-qrcodejs libjson-glib-1.0-0 libjson-glib-1.0-common libknet1 liblapack3 libldb2
  libleveldb1d 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-conntrack3
  libnetfilter-log1 libnfnetlink0 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 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 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 libtpms0 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 libvirglrenderer1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvotequorum8 libvpx6 libvulkan1 libwavpack1 libwayland-client0 libwayland-server0 libwbclient0 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 lvm2 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-mini-journalreader proxmox-websocket-tunnel proxmox-widget-toolkit pve-cluster pve-container pve-docs pve-edk2-firmware pve-firewall pve-ha-manager pve-i18n pve-kernel-helper
  pve-lxc-syscalld pve-manager 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 qemu-server qrencode rrdcached rsync
  samba-common samba-common-bin samba-dsdb-modules samba-libs shared-mime-info smbclient socat spiceterm sqlite3 swtpm swtpm-libs swtpm-tools thin-provisioning-tools uidmap va-driver-all vdpau-driver-all vncterm xdg-user-dirs xfsprogs xsltproc zfs-zed zfsutils-linux
  zstd
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  linux-image-5.10.0-10-amd64 proxmox-ve pve-firmware pve-kernel-5.13
The following NEW packages will be installed:
  firmware-linux-free linux-image-5.10.0-14-amd64

And clearly, I don't want to remove proxmox-ve pve-firmware ! How could I prevent that ?

Code:
uname -a

Linux hopop 5.13.19-6-pve #1 SMP PVE 5.13.19-15 (Tue, 29 Mar 2022 15:59:50 +0200) x86_64 GNU/Linux


pveversion -v
proxmox-ve: 7.1-2 (running kernel: 5.13.19-6-pve)
pve-manager: 7.1-12 (running version: 7.1-12/b3c09de3)
pve-kernel-helper: 7.2-2
pve-kernel-5.13: 7.1-9
pve-kernel-5.13.19-6-pve: 5.13.19-15
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.22-pve2
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-7
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-5
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.1-2
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.12-1
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.1.6-1
proxmox-backup-file-restore: 2.1.6-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-10
pve-cluster: 7.1-3
pve-container: 4.1-5
pve-docs: 7.1-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.4-1
pve-ha-manager: 3.3-4
pve-i18n: 2.6-3
pve-qemu-kvm: 6.2.0-5
pve-xtermjs: 4.16.0-1
qemu-server: 7.1-5
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.4-pve1
 
Last edited:
The topic title has been deliberately shortened, I usually run apt update && apt dist-upgrade.

So, how could I prevent the removal of proxmox-ve and pve-firmware ?
 
The following packages will be upgraded: linux-image-amd64 linux-libc-dev
These are the stock debian kernel (and lib) - it should be save to just remove those packages (pve-kernel takes their place on a PVE system)

(it seems that something in the dependencies of those packages changed recently causing a dependency problem)

I hope this helps!
 
  • Like
Reactions: talistech

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!