[SOLVED] Trouble updating as usual...

DarkShadow

New Member
Apr 22, 2022
4
0
1
Hi,

I had some problems going from 6.x to 7.x but that was solved when reading about first updating cpeh.

However, when trying to do a "normal" apt update, apt dist-upgrade it's asking if i'm sure i would like to remove proxmox-ve, so something seems to be going wrong, again...

I don't have ceph enabled but i did read something about updating ceph again so i did.

Installed ceph-common version: 16.2.7
Ceph repo: deb http://download.proxmox.com/debian/ceph-pacific bullseye main


What am i doing wrong this time?
 
Hello,

Did you follow our wiki guide about upgrade from 6.x to 7.0 [0]?

Can you please provide us with the output of the following commands (please between [CODE][/CODE]):
Code:
grep '' /etc/apt/sources.list &&  grep '' /etc/apt/sources.list.d/*
apt update
pveversion -v
pve6to7 --full


[0] https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
 
Hello,

Did you follow our wiki guide about upgrade from 6.x to 7.0 [0]?

Can you please provide us with the output of the following commands (please between [CODE][/CODE]):
Code:
grep '' /etc/apt/sources.list &&  grep '' /etc/apt/sources.list.d/*
apt update
pveversion -v
pve6to7 --full


[0] https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
Hi Moayad,

Thanks for the quick reply.

I was a bit unclear, i have updated to 7.1, but now when i'm trying to update I have some problems.

Here is the info:
Code:
root@darkness:~# grep '' /etc/apt/sources.list &&  grep '' /etc/apt/sources.list.d/* 
deb http://deb.debian.org/debian/ bullseye main 
deb-src http://deb.debian.org/debian/ bullseye main 
deb http://security.debian.org/debian-security bullseye-security main 
deb-src http://security.debian.org/debian-security bullseye-security main 
deb http://deb.debian.org/debian/ bullseye-updates main 
deb-src http://deb.debian.org/debian/ bullseye-updates main 
deb http://download.proxmox.com/debian bullseye pve-no-subscription 
/etc/apt/sources.list.d/ceph.list:
deb http://download.proxmox.com/debian/ceph-pacific bullseye main 
/etc/apt/sources.list.d/ceph.list: 
/etc/apt/sources.list.d/pve-enterprise.list:
# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise 
/etc/apt/sources.list.d/pve-enterprise.list: 
/etc/apt/sources.list.d/pve-install-repo.list:
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription 
/etc/apt/sources.list.d/pve-install-repo.list:


root@darkness:~# apt update
Bra:1 http://deb.debian.org/debian bullseye InRelease 
Bra:2 http://deb.debian.org/debian bullseye-updates InRelease 
Bra:3 http://security.debian.org/debian-security bullseye-security InRelease 
Bra:4 http://download.proxmox.com/debian bullseye InRelease 
Bra:5 http://download.proxmox.com/debian/ceph-pacific bullseye InRelease 
Bra:6 http://download.proxmox.com/debian/pve bullseye InRelease 
Läser paketlistor… 
Färdig Bygger beroendeträd… 
Färdig Läser tillståndsinformation… 
Färdig 93 paket kan uppgraderas. 
Kör ”apt list --upgradable” för att se dem.


root@darkness:~# pveversion -v
proxmox-ve: 7.1-1 (running kernel: 5.13.19-3-pve)
pve-manager: 7.1-10 (running version: 7.1-10/6ddebafe)
pve-kernel-helper: 7.1-8
pve-kernel-5.13: 7.1-6
pve-kernel-5.4: 6.4-10
pve-kernel-5.13.19-3-pve: 5.13.19-7
pve-kernel-5.13.19-2-pve: 5.13.19-4
pve-kernel-5.4.151-1-pve: 5.4.151-1
ceph: 16.2.7
ceph-fuse: 16.2.7
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: 0.8.36+pve1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.1
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-6
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-2
libpve-guest-common-perl: 4.0-3
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.0-15
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.11-1
lxcfs: 4.0.11-pve1
novnc-pve: 1.3.0-1
proxmox-backup-client: 2.1.4-1
proxmox-backup-file-restore: 2.1.4-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-5
pve-cluster: 7.1-3
pve-container: 4.1-3
pve-docs: 7.1-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.3-4
pve-ha-manager: 3.3-3
pve-i18n: 2.6-2
pve-qemu-kvm: 6.1.0-3
pve-xtermjs: 4.12.0-1
qemu-server: 7.1-4
smartmontools: 7.2-pve2
spiceterm: 3.2-2
swtpm: 0.7.0~rc1+2
vncterm: 1.7-1
zfsutils-linux: 2.1.2-pve1

Sorry for it being in swedish for the apt update, ;)

*edit* - Formating, sorry, shouldent have done that on the phone..., :D
 
Last edited:
Thank you for the outputs!

Please post the full output of apt dist-upgrade command
Hi again,

Here you go:

Code:
root@darkness:~# root@darkness:~# apt dist-upgrade
Läser paketlistor… Färdig
Bygger beroendeträd… Färdig
Läser tillståndsinformation… Färdig
Beräknar uppgradering… Färdig
Följande paket har installerats automatiskt och är inte längre nödvändiga:
  alsa-topology-conf alsa-ucm-conf bridge-utils 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 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 i965-va-driver idn ifenslave intel-media-va-driver ipset 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 libbdplus0 libblas3 libbluray2 libbs2b0 libc-dev-bin libc-devtools
  libc6-dev libcaca0 libcairo-gobject2 libcairo2 libcdparanoia0 libcfg7 libchromaprint1 libcmap4 libcodec2-0.9 libcorosync-common4 libcpg4 libcrypt-dev libcrypt-openssl-bignum-perl
  libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libdatrie1 libdav1d4 libdbi1 libdconf1 libdeflate0 libdevel-cycle-perl libdigest-bubblebabble-perl libdrm-amdgpu1
  libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libepoxy0 libev-perl libfaketime libfdt1 libfftw3-double3 libfile-chdir-perl libfile-readbackwards-perl
  libfilesys-df-perl libflac8 libflite1 libfontconfig1 libfuse3-3 libgbm1 libgd3 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgfchangelog0 libgfdb0
  libgfortran5 libgl1 libgl1-mesa-dri libglapi-mesa libglusterd0 libglusterfs-dev libglvnd0 libglx-mesa0 libglx0 libgme0 libgnutlsxx28 libgomp1 libgraphite2-3 libgsm1
  libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libguard-perl libgudev-1.0-0 libharfbuzz0b libiec61883-0 libigdgmm11 libio-multiplex-perl libio-stringy-perl libipset13 libiscsi7
  libjack-jackd2-0 libjbig0 libjemalloc2 libjpeg62-turbo libjs-bootstrap libjs-extjs libjs-qrcodejs libjson-glib-1.0-0 libjson-glib-1.0-common libknet1 liblapack3 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-log1 libnorm1 libnozzle1 libnsl-dev libnspr4 libnss3 libnvpair3linux 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 libqb100 libqrencode4 libquadmath0
  libquorum5 librados2-perl libraw1394-11 librrd8 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsamplerate0 libsdl1.2debian libsensors-config libsensors5 libserd-0-0
  libshine3 libshout3 libsmbclient 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 libtemplate-perl libthai-data libthai0 libtheora0 libtie-ixhash-perl libtiff5
  libtirpc-dev libtpms0 libtwolame0 libu2f-server0 libudfread0 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 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 libxpm4 libxrender1 libxshmfence1 libxslt1.1 libxv1 libxvidcore4
  libxxf86vm1 libyaml-libyaml-perl libz3-4 libzfs4linux libzmq5 libzpool5linux libzvbi-common libzvbi0 linux-libc-dev lxc-pve lxcfs lzop manpages-dev mesa-va-drivers
  mesa-vdpau-drivers mesa-vulkan-drivers net-tools 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-protobuf qemu-server qrencode rrdcached rsync smbclient socat spiceterm
  sqlite3 swtpm swtpm-libs swtpm-tools uidmap va-driver-all vdpau-driver-all vncterm xsltproc zfs-zed zfsutils-linux zstd
Använd ”apt autoremove” för att ta bort dem.
Följande paket kommer att TAS BORT:
  linux-image-4.19.0-18-amd64 linux-image-5.10.0-9-amd64 proxmox-ve pve-firmware pve-kernel-5.13 pve-kernel-5.4
Följande NYA paket kommer att installeras:
  firmware-linux-free libepoxy0 libgbm1 libproxmox-rs-perl libvirglrenderer1 libwayland-server0 linux-image-5.10.0-13-amd64 proxmox-websocket-tunnel
Följande paket kommer att uppgraderas:
  base-files bind9-host bind9-libs cryptsetup-bin dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv gzip libarchive13 libc-bin
  libc-dev-bin libc-devtools libc-l10n libc6 libc6-dev libcryptsetup12 libexpat1 libflac8 liblzma5 libnss-systemd libnvpair3linux libpam-systemd libpve-access-control
  libpve-common-perl libpve-guest-common-perl libpve-rs-perl libpve-storage-perl libpve-u2f-server-perl libsasl2-2 libsasl2-modules libsasl2-modules-db libsmbclient libssl1.1
  libsystemd0 libtiff5 libtpms0 libudev1 libuutil3linux libwbclient0 libxml2 libzfs4linux libzpool5linux linux-image-5.10.0-11-amd64 linux-image-amd64 linux-libc-dev locales lxc-pve
  lxcfs novnc-pve openssl proxmox-backup-client proxmox-backup-file-restore proxmox-widget-toolkit pve-container pve-kernel-helper pve-manager pve-qemu-kvm pve-xtermjs python3-samba
  samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient swtpm swtpm-libs swtpm-tools systemd systemd-sysv systemd-timesyncd sysvinit-utils
  task-ssh-server task-swedish tasksel tasksel-data tzdata udev xz-utils zfs-zed zfsutils-linux zlib1g
91 att uppgradera, 8 att nyinstallera, 6 att ta bort och 0 att inte uppgradera.
Behöver hämta 0 B/199 MB arkiv.
Efter denna åtgärd kommer 618 MB att frigöras på disken.
Vill du fortsätta? [J/n] n

And if i say yes it will ask me if i'm sure i want to remove proxmox-ve and ask me to create the file to confirm the removal,
Which coresponds with the removal of: "linux-image-4.19.0-18-amd64 linux-image-5.10.0-9-amd64 proxmox-ve pve-firmware pve-kernel-5.13 pve-kernel-5.4" above.
 
please remove any stock Debian kernel packages (linux-image-...) that are installed, they are not compatible with PVE.
 
People often don't do this because it's "optional" according to the wiki: https://pve.proxmox.com/wiki/Instal...1_Bullseye#Optional:_Remove_the_Debian_kernel
And then run into problems when doing upgrades because the debian kernel wants to uninstall the proxmox-ve package, which people then often do.

Maybe that should be explained better in the wiki. So why is it optional to remove the stock kernel when the kernel is incompatible with PVE and causes problems?
 
Last edited:
People often don't do this because it's "optional" according to the wiki: https://pve.proxmox.com/wiki/Instal...1_Bullseye#Optional:_Remove_the_Debian_kernel
And then run into problems when doing upgrades because the debian kernel wants to uninstall the proxmox-ve package, wich people then often do.

Maybe that should be explained better in the wiki. So why is it optional to remove the stock kernel when the kernel is incompatible with PVE and causes problems?
it used to work, but at some point Debian changed something in their packaging that causes these issues. likely should be updated!
 
  • Like
Reactions: DarkShadow