Unable to upgrade from 6.4->7.0. Removing proxmox-ve?

jforman

New Member
May 25, 2020
14
0
1
43
I've read several of the other 'unable to upgrade' posts and I'm not sure what I'm missing here in my quest to upgrade from 6.4 to 7.0.

Bottom of apt dist-upgrade output
Code:
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 repositories:
Code:
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib

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

# security updates
deb http://security.debian.org/debian-security bullseye-security main contrib

There are no sources lists under /etc/apt/sources.list.d/

Output of apt update

Code:
root@moon1:~# apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://ftp.debian.org/debian bullseye InRelease       
Hit:3 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:4 http://ftp.debian.org/debian bullseye-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
594 packages can be upgraded. Run 'apt list --upgradable' to see them.

It's been a while since I installed this machine fresh, but I imagine I installed Proxmox directly, and not on top of Debian.

What else am I missing here?
 
Have you run the pve6to7 and pve6to7 --full? - if yes, did you see any warning message?
 
Hi Moayad,

I did run it, and saw no warnings.

Code:
root@moon1:~# pve6to7 --full
= CHECKING VERSION INFORMATION FOR PVE PACKAGES =


Checking for package updates..
PASS: all packages uptodate


Checking proxmox-ve package version..
PASS: proxmox-ve package has version >= 6.4-1


Checking running kernel version..
PASS: expected running kernel '5.4.124-1-pve'.


= CHECKING CLUSTER HEALTH/SETTINGS =


PASS: systemd unit 'pve-cluster.service' is in state 'active'
PASS: systemd unit 'corosync.service' is in state 'active'
PASS: Cluster Filesystem is quorate.


Analzying quorum settings and state..
INFO: configured votes - nodes: 3
INFO: configured votes - qdevice: 0
INFO: current expected votes: 3
INFO: current total votes: 3


Checking nodelist entries..
PASS: nodelist settings OK


Checking totem settings..
PASS: totem settings OK


INFO: run 'pvecm status' to get detailed cluster status..


= CHECKING HYPER-CONVERGED CEPH STATUS =


SKIP: no hyper-converged ceph setup detected!


= CHECKING CONFIGURED STORAGES =


PASS: storage 'iscsi-vmstore' enabled and active.
PASS: storage 'local' enabled and active.
PASS: storage 'local-lvm' enabled and active.
PASS: storage 'lvm-vmstore' enabled and active.
PASS: storage 'nfs-isostore' enabled and active.


= MISCELLANEOUS CHECKS =


INFO: Checking common daemon services..
PASS: systemd unit 'pveproxy.service' is in state 'active'
PASS: systemd unit 'pvedaemon.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for running guests..
PASS: no running guest detected.
INFO: Checking if the local node's hostname 'moon1' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '10.10.2.23' configured and active on single interface.
INFO: Checking backup retention settings..
INFO: storage 'local' - no backup retention settings defined - by default, PVE 7.x will no longer keep only the last backup, but all backups
PASS: no problems found.
INFO: checking CIFS credential location..
PASS: no CIFS credentials at outdated location found.
INFO: Checking custom roles for pool permissions..
INFO: Checking node and guest description/note legnth..
PASS: All node config descriptions fit in the new limit of 64 KiB
PASS: All guest config descriptions fit in the new limit of 8 KiB
INFO: Checking container configs for deprecated lxc.cgroup entries
PASS: No legacy 'lxc.cgroup' keys found.
INFO: Checking storage content type configuration..
PASS: no problems found
INFO: Checking if the suite for the Debian security repository is correct..
INFO: Make sure to change the suite of the Debian security repository from 'buster/updates' to 'bullseye-security' - in /etc/apt/sources.list:9
SKIP: No containers on node detected.


= SUMMARY =


TOTAL:    26
PASSED:   24
SKIPPED:  2
WARNINGS: 0
FAILURES: 0
 
Thanks for the output of pve6to7 --full command. Please provide us the output of pveversion -v

EDIT: I would also the full output of apt dist-upgrade
 
Last edited:
As requested, output from both commands:

Code:
root@moon1:~# pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.4.124-1-pve)
pve-manager: 6.4-13 (running version: 6.4-13/9f411e79)
pve-kernel-5.4: 6.4-4
pve-kernel-helper: 6.4-4
pve-kernel-5.4.124-1-pve: 5.4.124-1
pve-kernel-5.4.78-2-pve: 5.4.78-2
pve-kernel-5.4.34-1-pve: 5.4.34-2
ceph-fuse: 15.2.13-pve1~bpo10
corosync: 3.1.2-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.20-pve1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.1.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-3
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-3
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.12-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-1
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.2-4
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-6
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.4-pve1


root@moon1:~# 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:
  bsdmainutils cryptsetup-bin libleveldb1d liboath0 libqrencode4 librabbitmq4 librdkafka1 librgw2 proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image python3-asn1crypto python3-ceph-argparse python3-ceph-common python3-yaml qrencode
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ceph-base ceph-common ceph-mds libldb1 libpve-guest-common-perl libpve-storage-perl libpython-stdlib proxmox-ve pve-container pve-ha-manager pve-manager
  pve-qemu-kvm python python-apt python-asn1crypto python-certifi python-cffi-backend python-chardet python-configparser python-cryptography python-enum34
  python-future python-idna python-ipaddr python-ipaddress python-minimal python-openssl python-prettytable python-protobuf python-rados python-rbd
  python-requests python-talloc python-urllib3 python3-cephfs python3-rados python3-rbd python3-rgw python3.7 qemu-server spiceterm
The following NEW packages will be installed:
  alsa-topology-conf alsa-ucm-conf bind9-dnsutils bind9-libs bsdextrautils distro-info-data gcc-10-base libapt-pkg6.0 libbpf0 libbrotli1 libc-devtools
  libcbor0 libcrypt-dev libcrypt1 libctf-nobfd0 libctf0 libdeflate0 libdns-export1110 libdns1110 libevent-2.1-7 libffi7 libfido2-1 libgcc-s1 libgd3
  libglusterd0 libhogweed6 libicu67 libinih1 libip4tc2 libip6tc2 libipset13 libisc-export1105 libisc1105 libjbig0 libjson-c5 libldb2 liblinear4 libmaxminddb0
  libmd0 libmpdec3 libnetaddr-ip-perl libnettle8 libnozzle1 libnsl-dev libnsl2 libnss-nis libnss-nisplus libopeniscsiusr libperl4-corelibs-perl libperl5.32
  libprocps8 libprotobuf23 libpve-rs-perl libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqb100 libreadline8 libsocket6-perl libtiff5
  libtime-duration-perl libtirpc-dev libuv1 libwebp6 libxpm4 libxxhash0 logsave lua-lpeg mailcap manpages-dev media-types ncal os-prober pci.ids
  perl-modules-5.32 prometheus-node-exporter-collectors pve-kernel-5.11.22-2-pve python3-ldb python3-protobuf python3-talloc python3.9 python3.9-minimal
  runit-helper systemd-timesyncd
The following packages will be upgraded:
  apparmor apt apt-listchanges apt-transport-https apt-utils attr base-files base-passwd bash bash-completion bc bind9-host binutils binutils-common
  binutils-x86-64-linux-gnu bridge-utils bsd-mailx bsdmainutils bsdutils btrfs-progs busybox bzip2 ca-certificates cifs-utils console-setup
  console-setup-linux coreutils corosync cpio criu cron cryptsetup-bin curl dash dbus debconf debconf-i18n debian-archive-keyring debian-faq debianutils
  diffutils dirmngr dmeventd dmidecode dmsetup dnsutils doc-debian dosfstools dpkg dtach e2fsprogs ebtables efibootmgr eject faketime fdisk fdutils file
  findutils fontconfig fontconfig-config fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings fuse gdbm-l10n gdisk genisoimage gettext-base
  glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv grep groff-base grub-common
  grub-efi-amd64-bin grub-efi-ia32-bin grub-pc grub-pc-bin grub2-common gzip hdparm hostname idn ifenslave ifupdown init init-system-helpers initramfs-tools
  initramfs-tools-core iproute2 ipset iptables iputils-ping isc-dhcp-client isc-dhcp-common iso-codes kbd keyboard-configuration keyutils klibc-utils kmod
  krb5-locales ksm-control-daemon less libacl1 libacl1-dev libaio1 libanyevent-http-perl libanyevent-perl libapparmor1 libappconfig-perl libapt-pkg-perl
  libarchive13 libasound2 libasound2-data libassuan0 libasyncns0 libattr1 libattr1-dev libaudit-common libaudit1 libauthen-pam-perl libavahi-client3
  libavahi-common-data libavahi-common3 libbabeltrace1 libbind9-161 libbinutils libblas3 libblkid1 libbsd0 libbz2-1.0 libc-bin libc-dev-bin libc-l10n libc6
  libc6-dev libcaca0 libcairo2 libcap-ng0 libcap2 libcap2-bin libcfg7 libclone-perl libcmap4 libcom-err2 libcommon-sense-perl libconvert-asn1-perl
  libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-random-seed-perl
  libcrypt-ssleay-perl libcryptsetup12 libcups2 libcurl3-gnutls libcurl4 libdatrie1 libdb5.3 libdbi1 libdbus-1-3 libdebconfclient0 libdevmapper-event1.02.1
  libdevmapper1.02.1 libdigest-hmac-perl libdw1 libedit2 libefiboot1 libefivar1 libelf1 libencode-locale-perl libestr0 libexpat1 libext2fs2 libfaketime
  libfastjson4 libfdisk1 libfile-chdir-perl libfile-listing-perl libfilesys-df-perl libflac8 libfontconfig1 libfreetype6 libfribidi0 libfstrm0 libfuse2
  libfuse3-3 libgcrypt20 libgdbm-compat4 libgdbm6 libgeoip1 libgfapi0 libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libglib2.0-0 libglusterfs-dev
  libglusterfs0 libgmp10 libgnutls-openssl27 libgnutls30 libgnutlsxx28 libgoogle-perftools4 libgpg-error0 libgraphite2-3 libgssapi-krb5-2
  libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b libhtml-parser-perl libhtml-tagset-perl libhttp-cookies-perl libhttp-daemon-perl
  libhttp-date-perl libhttp-message-perl libibverbs1 libice6 libidn11 libidn2-0 libio-html-perl libio-multiplex-perl libio-pty-perl libio-socket-ssl-perl
  libipc-run-perl libiptc0 libirs161 libisccc161 libisccfg163 libiscsi7 libisns0 libjansson4 libjemalloc2 libjpeg62-turbo libjs-bootstrap libjs-extjs
  libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjson-xs-perl libk5crypto3 libkeyutils1 libklibc libkmod2 libknet1 libkrb5-3 libkrb5support0
  libksba8 libldap-2.4-2 libldap-common libleveldb1d liblinux-inotify2-perl liblmdb0 liblocale-gettext-perl liblockfile-bin liblockfile1 liblognorm5
  liblttng-ust-ctl4 liblttng-ust0 liblua5.3-0 liblvm2cmd2.03 liblwp-mediatypes-perl liblwp-protocol-https-perl liblwres161 liblz4-1 liblzma5 liblzo2-2
  libmagic-mgc libmagic1 libmath-random-isaac-perl libmime-base32-perl libmnl0 libmount1 libncurses6 libncursesw6 libnet-dbus-perl libnet-dns-perl
  libnet-http-perl libnet-ldap-perl libnet-ssleay-perl libnetfilter-conntrack3 libnetfilter-log1 libnewt0.52 libnfsidmap2 libnftnl11 libnghttp2-14 libnl-3-200
  libnl-route-3-200 libnpth0 libnspr4 libnss-systemd libnss3 libnuma1 libnvpair3linux liboath0 libogg0 libopus0 liborc-0.4-0 libp11-kit0 libpam-modules
  libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libparted2 libpcap0.8 libpci3 libpcre2-8-0
  libpcre3 libpipeline1 libpixman-1-0 libpng16-16 libpopt0 libprotobuf-c1 libproxmox-acme-perl libproxmox-acme-plugins libproxmox-backup-qemu0 libpsl5
  libpulse0 libpve-access-control libpve-apiclient-perl libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-http-server-perl
  libpve-u2f-server-perl libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libqrencode4 libquadmath0 libquorum5
  librabbitmq4 librados2-perl librdkafka1 librdmacm1 librrd8 librrds-perl librtmp1 libsasl2-2 libsasl2-modules-db libsdl1.2debian libseccomp2 libselinux1
  libsemanage-common libsemanage1 libsepol1 libslang2 libsmartcols1 libsmbclient libsnappy1v5 libsndfile1 libspice-server1 libsqlite3-0 libss2 libssh2-1
  libssl1.1 libstatgrab10 libstdc++6 libsystemd0 libtalloc2 libtasn1-6 libtcmalloc-minimal4 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtevent0
  libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libthai-data libthai0 libtimedate-perl libtinfo6 libtirpc-common libtirpc3
  libtypes-serialiser-perl libu2f-server0 libuchardet0 libudev1 libunistring2 libunwind8 liburcu6 liburi-perl libusb-1.0-0 libusbredirparser1 libuuid-perl
  libuuid1 libuutil3linux libvorbis0a libvorbisenc2 libvotequorum8 libwbclient0 libwrap0 libwww-perl libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-render0
  libxcb-shm0 libxcb1 libxext6 libxi6 libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl libxml-sax-perl libxml-twig-perl
  libxml2 libxslt1.1 libxtables12 libyaml-0-2 libyaml-libyaml-perl libzfs4linux libzpool4linux libzstd1 linux-libc-dev locales login logrotate lsb-base lsof
  lvm2 lxc-pve lxcfs lynx lynx-common lzop man-db manpages mawk memtest86+ mime-support moreutils mount nano ncurses-base ncurses-bin ncurses-term net-tools
  netbase netcat-traditional nfs-common nmap nmap-common novnc-pve numactl open-iscsi openssh-client openssh-server openssh-sftp-server openssl parted passwd
  patch pciutils perl perl-base perl-openssl-defaults pinentry-curses postfix procps prometheus-node-exporter proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image proxmox-mini-journalreader proxmox-widget-toolkit psmisc pve-cluster pve-docs pve-edk2-firmware
  pve-firewall pve-i18n pve-kernel-helper pve-lxc-syscalld pve-xtermjs python-apt-common python-pkg-resources python-six python2 python2-minimal python2.7
  python2.7-minimal python3 python3-apt python3-asn1crypto python3-certifi python3-cffi-backend python3-chardet python3-cryptography python3-debconf
  python3-debian python3-debianbts python3-distutils python3-httplib2 python3-idna python3-jwt python3-lib2to3 python3-minimal python3-openssl
  python3-pkg-resources python3-prettytable python3-pycurl python3-pysimplesoap python3-reportbug python3-requests python3-setuptools python3-six
  python3-urllib3 python3-yaml qrencode readline-common reportbug rpcbind rrdcached rsync rsyslog samba-common samba-libs sensible-utils smbclient socat spl
  sqlite3 ssh ssl-cert strace sudo systemd systemd-sysv sysvinit-utils tar tasksel tasksel-data tcpdump telnet thin-provisioning-tools time traceroute tzdata
  ucf udev uidmap usb.ids usbutils util-linux vim-common vim-tiny vncterm wamerican wget whiptail x11-common xfsprogs xkb-data xsltproc xxd xz-utils
  zfs-initramfs zfs-zed zfsutils-linux zlib1g zstd
585 upgraded, 84 newly installed, 41 to remove and 0 not upgraded.
Need to get 0 B/376 MB of archives.
After this operation, 223 MB of additional disk space will be used.
Do you want to continue? [Y/n]
 
I thought I was getting close.

I brought that file back to the following contents:
```
# 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://deb.debian.org/debian buster main

deb http://deb.debian.org/debian-security/ buster/updates main

deb http://deb.debian.org/debian buster-updates main
```

Ran apt update; apt dist-upgrade. Made sure all packages were updated.

pve6to7 --full passed.

Then apt update; apt dist-upgrade, and I was met with the same error at the beginning.
 
you had a Proxmox Ceph repository set up at some point in the past (indicated by the version of the installed ceph packages). to upgrade, you need to setup a Proxmox Ceph repository again:

pveceph install
 
  • Like
Reactions: Moayad
I think my system has gotten into an untenable state

Code:
root@moon1:~# pveceph install
update available package list
start installation
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gdisk is already the newest version (1.0.3-1.1).
ceph-common is already the newest version (15.2.13-pve1~bpo10).
ceph-fuse is already the newest version (15.2.13-pve1~bpo10).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
 ceph : Depends: ceph-mgr (= 14.2.22-pve1) but it is not going to be installed
        Depends: ceph-mon (= 14.2.22-pve1) but it is not going to be installed
        Depends: ceph-osd (= 14.2.22-pve1) but it is not going to be installed
 ceph-mds : Depends: ceph-base (= 14.2.22-pve1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
apt failed during ceph installation (25600)

root@moon1:~# apt-mark showhold
root@moon1:~#


I think I am just going to wipe this node and reinstall fresh.
 
I am fairly sure that setting up a ceph repo:

echo "deb [URL]http://download.proxmox.com/debian/ceph-octopus[/URL] bullseye main" > /etc/apt/sources.list.d/ceph.list

followed by

apt update

should allow you to properly start the upgrade.
 
Fabian this worked to get me further to upgrading to 7 Thank you! I have other issues now but I am going to make a new post for it.
 
EDIT: works fine after apt dist-upgrade

Hello @fabian,
I followed all your tips. Upgraded from 6 to 7.

Seems like something gone bad.

Code:
pveversion -v
root@px:~# pveversion -v
proxmox-ve: 7.0-2 (running kernel: 5.11.22-3-pve)
pve-manager: 7.0-10 (running version: 7.0-10/d2f465d3)
pve-kernel-5.11: 7.0-6
pve-kernel-helper: 7.0-6
pve-kernel-5.4: 6.4-5
pve-kernel-5.11.22-3-pve: 5.11.22-6
pve-kernel-5.4.128-1-pve: 5.4.128-1
pve-kernel-5.4.106-1-pve: 5.4.106-1
ceph: 15.2.13-pve1~bpo10
ceph-fuse: 15.2.13-pve1~bpo10
corosync: 3.1.2-pve2
criu: 3.11-3
glusterfs-client: 9.2-1
ifupdown: 0.8.36
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.21-pve1
libproxmox-acme-perl: 1.2.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.0-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-5
libpve-guest-common-perl: 4.0-2
libpve-http-server-perl: 4.0-2
libpve-storage-perl: 7.0-9
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.9-4
lxcfs: 4.0.8-pve2
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.0.7-1
proxmox-backup-file-restore: 2.0.7-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.3-6
pve-cluster: 7.0-3
pve-container: 4.0-8
pve-docs: 7.0-5
pve-edk2-firmware: 3.20200531-1
pve-firewall: 4.2-2
pve-firmware: 3.2-4
pve-ha-manager: 3.3-1
pve-i18n: 2.4-1
pve-qemu-kvm: 6.0.0-2
pve-xtermjs: 4.12.0-1
qemu-server: 7.0-11
smartmontools: 7.2-pve2
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.0.5-pve1

Code:
root@px:~# apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://ftp.debian.org/debian bullseye InRelease      
Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:5 http://download.proxmox.com/debian/ceph-pacific bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
48 packages can be upgraded. Run 'apt list --upgradable' to see them.

Code:
root@px:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mgr-modules-core ceph-mon ceph-osd criu libcephfs2 libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib librados2 libradosstriper1 librbd1 librgw2 libsmbclient libwbclient0 python2
  python2-minimal python2.7 python2.7-minimal python3 python3-apt python3-ceph-argparse python3-ceph-common python3-cephfs python3-cffi-backend python3-chardet python3-distutils python3-lib2to3 python3-markupsafe python3-minimal python3-parsedatetime python3-pycurl python3-rados
  python3-rbd python3-rgw python3-yaml python3-zope.hookable python3-zope.interface samba-common samba-libs smbclient
The following packages will be upgraded:
  ceph-fuse
1 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
Need to get 788 kB of archives.
After this operation, 981 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://download.proxmox.com/debian/ceph-pacific bullseye/main amd64 ceph-fuse amd64 16.2.5-pve1 [788 kB]
Fetched 788 kB in 1s (997 kB/s)      
Reading changelogs... Done
(Reading database ... 66185 files and directories currently installed.)
Preparing to unpack .../ceph-fuse_16.2.5-pve1_amd64.deb ...
Unpacking ceph-fuse (16.2.5-pve1) over (15.2.13-pve1~bpo10) ...
Setting up ceph-fuse (16.2.5-pve1) ...
Processing triggers for man-db (2.9.4-2) ...

AGAIN APT UPDATE, APT UPGRADE
Code:
root@px:~# apt update
Hit:1 http://ftp.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease                                         
Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease                                                        
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease             
Hit:5 http://download.proxmox.com/debian/ceph-pacific bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
47 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@px:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mgr-modules-core ceph-mon ceph-osd criu libcephfs2 libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib librados2 libradosstriper1 librbd1 librgw2 libsmbclient libwbclient0 python2
  python2-minimal python2.7 python2.7-minimal python3 python3-apt python3-ceph-argparse python3-ceph-common python3-cephfs python3-cffi-backend python3-chardet python3-distutils python3-lib2to3 python3-markupsafe python3-minimal python3-parsedatetime python3-pycurl python3-rados
  python3-rbd python3-rgw python3-yaml python3-zope.hookable python3-zope.interface samba-common samba-libs smbclient
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.]

Any fix please?
 
Last edited:
I am fairly sure that setting up a ceph repo:

echo "deb [URL]http://download.proxmox.com/debian/ceph-octopus[/URL] bullseye main" > /etc/apt/sources.list.d/ceph.list

followed by

apt update

should allow you to properly start the upgrade.

I did install ceph using ui ( added repo before running installation ) But I still get the same error saying " you are attempting to remove the meta-package 'proxmox-ve'!

My output for pveversion -v:

Code:
proxmox-ve: 6.4-1 (running kernel: 5.4.106-1-pve)
pve-manager: 6.4-13 (running version: 6.4-13/9f411e79)
pve-kernel-5.4: 6.4-6
pve-kernel-helper: 6.4-6
pve-kernel-5.4.140-1-pve: 5.4.140-1
pve-kernel-5.4.106-1-pve: 5.4.106-1
ceph-fuse: 15.2.14-pve1~bpo10
corosync: 3.1.2-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve4~bpo10
libjs-extjs: 6.0.1-10
libknet1: 1.20-pve1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.1.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-3
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-3
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.13-2
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-1
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.3-1
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-6
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2

pve6to7 --full results:

Code:
Checking for package updates..
WARN: updates for the following packages are available:
  (lots of packages, had to delete because of message cap)

Checking proxmox-ve package version..
PASS: proxmox-ve package has version >= 6.4-1

Checking running kernel version..
PASS: expected running kernel '5.4.106-1-pve'.

= CHECKING CLUSTER HEALTH/SETTINGS =

SKIP: standalone node.

= CHECKING HYPER-CONVERGED CEPH STATUS =

SKIP: no hyper-converged ceph setup detected!

= CHECKING CONFIGURED STORAGES =

PASS: storage 'local' enabled and active.
PASS: storage 'storageprox' enabled and active.

= MISCELLANEOUS CHECKS =

INFO: Checking common daemon services..
PASS: systemd unit 'pveproxy.service' is in state 'active'
PASS: systemd unit 'pvedaemon.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for running guests..
WARN: 3 running guest(s) detected - consider migrating or stopping them.
INFO: Checking if the local node's hostname 'node1' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '157.90.212.27' configured and active on single interface.
INFO: Checking backup retention settings..
WARN: storage 'local' - parameter 'maxfiles' is deprecated with PVE 7.x and will be removed in a future version, use 'prune-backups' instead.
INFO: checking CIFS credential location..
PASS: no CIFS credentials at outdated location found.
INFO: Checking custom roles for pool permissions..
INFO: Checking node and guest description/note legnth..
PASS: All node config descriptions fit in the new limit of 64 KiB
PASS: All guest config descriptions fit in the new limit of 8 KiB
INFO: Checking container configs for deprecated lxc.cgroup entries
PASS: No legacy 'lxc.cgroup' keys found.
INFO: Checking storage content type configuration..
PASS: no problems found
INFO: Checking if the suite for the Debian security repository is correct..
PASS: already using 'bullseye-security'
SKIP: No containers on node detected.

My repo list:

Code:
#deb http://mirror.hetzner.de/debian/packages bullseye main contrib non-free
#deb http://mirror.hetzner.de/debian/security bullseye-security main contrib non-free
#deb http://mirror.hetzner.de/debian/packages bullseye-updates main contrib non-free
deb http://download.proxmox.com/debian bullseye pve-no-subscription

#

# deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ bullseye main

#deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ bullseye main

deb http://deb.debian.org/debian/ bullseye main contrib non-free
# deb-src http://deb.debian.org/debian/ bullseye main non-free contrib

deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
# deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free

# bullseye-updates, previously known as 'volatile'
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
# deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

pve-community.list:

Code:
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

My ceph repo:

Code:
deb http://download.proxmox.com/debian/ceph-octopus buster main


What to do? Any ideas?
 
the ceph repo needs to point at bullseye as well - please refer to the upgrade instructions!
 
Same problem here, more or less. After spending hours I eventually was able to complete apt update; apt upgrade without errors, but apt full-upgrade still errors out:

Code:
root@pve2:~# cat /etc/apt/sources.list
deb https://ftp.debian.org/debian bullseye main contrib
deb https://ftp.debian.org/debian bullseye-updates main contrib
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
deb https://security.debian.org/debian-security bullseye-security main
root@pve2:~# ls -l /etc/apt/sources.list.d
total 4
-rw-r--r-- 1 root root 70 Oct  5 20:25 pve-enterprise.list.dpkg-dist
root@pve2:~# cat /etc/apt/sources.list.d/pve-enterprise.list.dpkg-dist
# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
root@pve2:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libsmbclient libwbclient0
  python-pastedeploy-tpl python-six python2 python2-minimal python2.7 python2.7-minimal python3-chardet python3-six
  samba-common samba-libs smbclient
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
root@pve2:~# apt update
Hit:1 https://ftp.debian.org/debian bullseye InRelease
Hit:2 https://ftp.debian.org/debian bullseye-updates InRelease
Hit:3 https://security.debian.org/debian-security bullseye-security InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
17 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@pve2:~# 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:
  cryptsetup-bin libfdt1 libfuse3-3 libjson-glib-1.0-0 libjson-glib-1.0-common libleveldb1d liboath0
  libproxmox-backup-qemu0 librabbitmq4 librdkafka1 librgw2 libtpms0 liburing1 nvme-cli proxmox-archive-keyring
  proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image pve-lxc-syscalld python-ceph-argparse
  python-markupsafe python-pastedeploy-tpl sudo swtpm swtpm-libs swtpm-tools zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-osd libldb1 libpve-guest-common-perl libpve-storage-perl
  libpython-stdlib proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python python-asn1crypto
  python-backports.functools-lru-cache python-bcrypt python-bs4 python-cephfs python-certifi python-cffi-backend
  python-chardet python-cherrypy3 python-configparser python-crypto python-cryptography python-dnspython python-enum34
  python-formencode python-future python-idna python-ipaddr python-ipaddress python-jwt python-logutils python-mako
  python-minimal python-openssl python-paste python-pastedeploy python-pecan python-prettytable python-protobuf
  python-rados python-rbd python-requests python-rgw python-simplegeneric python-simplejson python-singledispatch
  python-soupsieve python-talloc python-tempita python-urllib3 python-waitress python-webob python-webtest
  python-werkzeug qemu-server spiceterm
The following NEW packages will be installed:
  libldb2 libpython3.9 python3-ldb python3-talloc
The following packages will be upgraded:
  libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libsmbclient libwbclient0
  python-pastedeploy-tpl python-six python2 python2-minimal python2.7 python2.7-minimal python3-chardet python3-six
  samba-common samba-libs smbclient
17 upgraded, 4 newly installed, 63 to remove and 0 not upgraded.
Need to get 0 B/13.9 MB of archives.
After this operation, 485 MB disk space will be freed.
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

Solved by adding deb http://download.proxmox.com/debian/ceph-pacific bullseye main to /etc/apt/sources.list.
 
Last edited:
  • Like
Reactions: Stoiko Ivanov
I upgrade from 6.4 to 6.13 . My solve : apt remove linux-image-amd64 (Proxmox was installed on debian)
 

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!