[SOLVED] dist-upgrade leads to autoremove proxmox packages

Jul 23, 2016
4
0
21
55
Hello,

I have the same problem as here described : https://forum.proxmox.com/threads/dist-upgrade-want-to-remove-proxmox-ve-package.74351/
Trying to make a dist-upgrade occurs an autoremove from the proxmox packages.

I have many servers with proxmox, this is the only one which give this result. Some informations about it :

Bash:
$ apt update
Hit:1 http://mirror.hetzner.de/debian/packages buster InRelease
Hit:2 http://mirror.hetzner.de/debian/security buster/updates InRelease                                                                                           
Hit:3 http://mirror.hetzner.de/debian/packages buster-updates InRelease                                                                                           
Hit:4 http://deb.debian.org/debian buster InRelease                                                                                                               
Hit:5 http://security.debian.org/debian-security buster/updates InRelease                                                                                         
Hit:6 http://deb.debian.org/debian buster-updates InRelease                                                                                                       
Hit:7 https://enterprise.proxmox.com/debian/pve buster InRelease
Reading package lists... Done           
Building dependency tree      
Reading state information... Done
22 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:
  bridge-utils ceph-common ceph-fuse cifs-utils corosync criu cstream dtach ebtables faketime fontconfig fontconfig-config fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings genisoimage glusterfs-client
  glusterfs-common hdparm ifenslave ipset iso-codes libacl1-dev libanyevent-http-perl libanyevent-perl libappconfig-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libasyncns0 libattr1-dev libauthen-pam-perl
  libavahi-client3 libavahi-common-data libavahi-common3 libbabeltrace1 libboost-atomic1.67.0 libboost-program-options1.67.0 libboost-regex1.67.0 libboost-thread1.67.0 libc-dev-bin libc6-dev libcaca0 libcairo2 libcephfs2
  libcfg7 libclone-perl libcmap4 libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcups2 libdatrie1 libdbi1 libdevel-cycle-perl libdw1 libfaketime
  libfile-chdir-perl libfile-readbackwards-perl libfilesys-df-perl libflac8 libfontconfig1 libfuse3-3 libgfapi0 libgfchangelog0 libgfdb0 libgfrpc0 libgfxdr0 libglusterfs-dev libglusterfs0 libgnutlsxx28 libgoogle-perftools4
  libgraphite2-3 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b libibverbs1 libice6 libio-multiplex-perl libio-stringy-perl libipset11 libiscsi7 libjansson4 libjemalloc2 libjpeg62-turbo libjs-bootstrap
  libjs-extjs libjs-jquery libjs-sphinxdoc libjs-underscore libknet1 libldb1 liblinux-inotify2-perl libmime-base32-perl libnet-dbus-perl libnet-dns-perl libnet-ip-perl libnet1 libnetfilter-log1 libnl-3-200 libnl-route-3-200
  libnspr4 libnss3 libogg0 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 libprotobuf17 libproxmox-acme-perl libproxmox-backup-qemu0 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.7 libqb0 libqrencode4 libquorum5
  librados2 librados2-perl libradosstriper1 librbd1 librdmacm1 librrd8 librrds-perl libsdl1.2debian libsm6 libsmbclient libsnappy1v5 libsndfile1 libspice-server1 libstatgrab10 libstring-shellquote-perl libtalloc2
  libtcmalloc-minimal4 libtdb1 libtemplate-perl libtevent0 libthai-data libthai0 libu2f-server0 libunwind8 liburcu6 libusbredirparser1 libuuid-perl libvorbis0a libvorbisenc2 libvotequorum8 libwbclient0 libx11-6 libx11-data
  libx11-xcb1 libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxi6 libxml-libxml-perl libxml-twig-perl libxrender1 libxslt1.1 libxtst6 linux-image-4.19.0-8-amd64 linux-libc-dev lxc-pve lxcfs lzop 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-helper
  pve-lxc-syscalld pve-manager pve-qemu-kvm pve-xtermjs python-cephfs python-certifi python-chardet python-configparser python-future python-idna python-ipaddr python-pkg-resources python-prettytable python-protobuf
  python-rados python-rbd python-requests python-six python-talloc python-urllib3 python3-certifi python3-chardet python3-idna python3-jwt python3-pkg-resources python3-prettytable python3-requests python3-six
  python3-urllib3 qemu-server qrencode rrdcached samba-common samba-libs smartmontools smbclient socat spiceterm sqlite3 uidmap vncterm x11-common xsltproc zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-firmware pve-kernel-5.4
The following NEW packages will be installed:
  firmware-linux-free libqrencode4 linux-image-4.19.0-12-amd64 qrencode
The following packages will be upgraded:
  base-files libfreetype6 libmariadb3 libpve-access-control libpve-cluster-api-perl libpve-cluster-perl libpve-storage-perl libx11-6 libx11-data libx11-xcb1 linux-image-amd64 linux-libc-dev mariadb-common
  proxmox-backup-client proxmox-widget-toolkit pve-cluster pve-container pve-docs pve-firewall pve-kernel-helper pve-manager
21 upgraded, 4 newly installed, 3 to remove and 0 not upgraded.
Need to get 68,0 MB of archives.
After this operation, 73,6 MB of additional disk space will be used.
Do you want to continue? [O/n] n
Abort.

$ pveversion -v
proxmox-ve: 6.2-2 (running kernel: 5.4.44-2-pve)
pve-manager: 6.2-11 (running version: 6.2-11/22fb4983)
pve-kernel-5.4: 6.2-6
pve-kernel-helper: 6.2-6
pve-kernel-5.4.60-1-pve: 5.4.60-2
pve-kernel-5.4.44-2-pve: 5.4.44-2
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-2
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-6
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-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.2-12
pve-cluster: 6.1-8
pve-container: 3.2-1
pve-docs: 6.2-5
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-2
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-1
pve-qemu-kvm: 5.1.0-2
pve-xtermjs: 4.7.0-2
qemu-server: 6.2-14
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2

$ dpkg --list ceph-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version              Architecture Description
+++-==============-====================-============-==================================================================
ii  ceph-common    12.2.11+dfsg1-2.1+b1 amd64        common utilities to mount and interact with a ceph storage cluster

$ apt install --simulate curl
Reading package lists... Done
Building dependency tree      
Reading state information... Done
curl is already the newest version (7.64.0-4+deb10u1).
The following package was automatically installed and is no longer required:
  linux-image-4.19.0-8-amd64
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.

$ apt install --simulate curl libcurl4
Reading package lists... Done
Building dependency tree      
Reading state information... Done
curl is already the newest version (7.64.0-4+deb10u1).
libcurl4 is already the newest version (7.64.0-4+deb10u1).
libcurl4 set to manually installed.
The following package was automatically installed and is no longer required:
  linux-image-4.19.0-8-amd64
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.

Maybe the problem comes from the hetzner mirror repositories, I can't find out which package in particularly causes this error.
It would be helpful if someone has an idea on how to solve it, thanks.

Arnaud
 
Last edited:
I also use Hetzner as hoster and use the sources mentioned below. No problems at all.

Code:
deb http://ftp.de.debian.org/debian buster main contrib
deb http://ftp.de.debian.org/debian buster-updates main contrib
deb http://security.debian.org buster/updates main contrib
deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
 
Hello Thalix,

I tried to use a minimal list of repo, yours, then apt update and apt dist-upgrade, but I get the same notification that the proxmox packages will be removed.
So the problem does not come from the Hetzner mirrors, it seems that there is a conflict between packages ( or a missing package ).
 
hi,

can you try

Code:
apt remove linux-image-amd64 firmware-linux-free
 
glad to be of help!