trouble upgrading from 6.33 to 7

NOIDSR

Member
Mar 1, 2021
53
2
8
31
Hi there, just got my first subscription and I am trying to upgrade my current 6.3.3 pve to 7 or the latest. I followed the wiki manual but got stuck. I am very beginner in linux. The problem I got was after I did apt full-upgrade getting an error message:

# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
bsdmainutils
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
libldb1 libnvpair1linux libpve-access-control libpve-cluster-api-perl
libpve-guest-common-perl libpve-storage-perl libpve-u2f-server-perl
libpython-stdlib librados2-perl libuutil1linux libzfs2linux libzpool2linux
proxmox-ve pve-container pve-firewall pve-ha-manager pve-manager python
python-cephfs python-certifi python-chardet python-configparser
python-crypto python-dnspython python-future python-gpg python-idna
python-ipaddr python-ldb python-minimal python-prettytable python-protobuf
python-rados python-rbd python-requests python-samba python-talloc
python-tdb python-urllib3 python3.7 qemu-server
The following NEW packages will be installed:
alsa-topology-conf alsa-ucm-conf bind9-dnsutils bind9-libs bsdextrautils
distro-info-data gcc-10-base gnutls-bin idn libapt-pkg6.0
libboost-context1.74.0 libboost-coroutine1.74.0 libboost-iostreams1.74.0
libboost-program-options1.74.0 libboost-thread1.74.0 libbpf0 libbrotli1
libc-devtools libcbor0 libcrypt-dev libcrypt1 libdeflate0 libdns-export1110
libdns1110 libevent-2.1-7 libfdt1 libffi7 libfido2-1 libgcc-s1 libgd3
libglusterd0 libgnutls-dane0 libhogweed6 libicu67 libinih1 libip4tc2
libip6tc2 libipset13 libisc-export1105 libisc1105 libjbig0 libjson-c5
libldb2 libleveldb1d liblinear4 libmaxminddb0 libmd0 libmpdec3
libnetaddr-ip-perl libnettle8 libnozzle1 libnsl-dev libnsl2 libnss-nis
libnss-nisplus libnvpair3linux liboath0 libopeniscsiusr libopts25
libperl5.32 libprocps8 libprotobuf23 libproxmox-acme-plugins libpython3.9
libpython3.9-minimal libpython3.9-stdlib libqb100 librabbitmq4 libreadline8
libsocket6-perl libtiff5 libtirpc-dev libunbound8 liburing1 libuutil3linux
libuv1 libwebp6 libxpm4 libxxhash0 libzfs4linux libzpool5linux logsave
lua-lpeg mailcap manpages-dev media-types ncal os-prober pci.ids
perl-modules-5.32 pve-kernel-5.13.19-2-pve pve-kernel-5.4.157-1-pve
python3-ceph-argparse python3-cephfs python3-cffi-backend
python3-cryptography python3-dnspython python3-gpg python3-ldb
python3-markdown python3-protobuf python3-pygments python3-rados python3-rbd
python3-requests-toolbelt python3-samba python3-talloc python3-tdb
python3-yaml python3.9 python3.9-minimal runit-helper systemd-timesyncd
The following packages have been kept back:
pve-edk2-firmware
The following packages will be upgraded:
apt apt-utils bc bind9-host bsdmainutils bsdutils btrfs-progs ceph-common
ceph-fuse corosync criu curl dirmngr dnsutils e2fsprogs gdisk
glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gpg gpg-agent
gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv groff-base grub-common
grub-efi-amd64-bin grub-efi-ia32-bin grub-pc grub-pc-bin grub2-common
iproute2 ipset iptables isc-dhcp-client libanyevent-perl libapt-pkg-perl
libarchive13 libasound2 libasound2-data libauthen-pam-perl libbind9-161
libbsd0 libc-bin libc-dev-bin libc6 libc6-dev libcairo2 libcephfs2 libcfg7
libclone-perl libcmap4 libcommon-sense-perl libcpg4
libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libcups2
libcurl3-gnutls libcurl4 libext2fs2 libfilesys-df-perl libflac8 libfreetype6
libgfapi0 libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libglib2.0-0
libglusterfs-dev libglusterfs0 libgnutls30 libgnutlsxx28
libgoogle-perftools4 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0
libhtml-parser-perl libhttp-message-perl libiptc0 libirs161 libisccc161
libisccfg163 libjemalloc2 libjson-xs-perl libldap-2.4-2
liblinux-inotify2-perl liblocale-gettext-perl liblwres161 libnet-dbus-perl
libnet-ssleay-perl libnspr4 libnss-systemd libopus0 libp11-kit0
libpam-modules libpam-modules-bin libpam-systemd libpango-1.0-0
libpangocairo-1.0-0 libpangoft2-1.0-0 libpci3 libpixman-1-0 libpng16-16
libproxmox-acme-perl libproxmox-backup-qemu0 libpulse0 libpve-cluster-perl
libpve-common-perl libpve-http-server-perl libpython2-stdlib libpython2.7
libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libquadmath0
libquorum5 librados2 libradosstriper1 librbd1 librrd8 librrds-perl librtmp1
libsdl1.2debian libslang2 libsmbclient libsndfile1 libsqlite3-0 libstdc++6
libsystemd0 libtcmalloc-minimal4 libtdb1 libtemplate-perl
libterm-readline-gnu-perl libtext-charwidth-perl libtext-iconv-perl
libu2f-server0 libuchardet0 libudev1 libuuid-perl libvorbis0a libvorbisenc2
libvotequorum8 libwbclient0 libwrap0 libxml-libxml-perl libxml-parser-perl
libxml2 libxslt1.1 libxtables12 libyaml-libyaml-perl locales login lxc-pve
lxcfs lynx mawk mime-support nfs-common nmap nmap-common novnc-pve
open-iscsi openssh-client openssh-server openssh-sftp-server passwd pciutils
perl perl-base postfix procps proxmox-backup-client pve-cluster pve-firmware
pve-kernel-5.4 pve-lxc-syscalld pve-qemu-kvm pve-xtermjs python-six python2
python2-minimal python2.7 python2.7-minimal python3 python3-apt
python3-chardet python3-minimal python3-pycurl python3-six rsync rsyslog
samba samba-common samba-common-bin samba-dsdb-modules samba-libs
samba-vfs-modules smbclient sqlite3 ssh systemd thin-provisioning-tools udev
util-linux vncterm wget xfsprogs zfs-initramfs zfs-zed zfsutils-linux zstd
218 upgraded, 113 newly installed, 41 to remove and 1 not upgraded.
Need to get 0 B/427 MB of archives.
After this operation, 920 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
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 repos:
----------------------------------------
GNU nano 5.4 /etc/apt/sources.list
deb http://ftp.debian.org/debian bullseye main contrib

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

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

---------------------------------------

GNU nano 5.4 /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
deb http://download.proxmox.com/debian bullseye pve-no-subscription
----------------------------------------

What I am missing here? Thank you
 
Last edited by a moderator:
Hello,

First, you have to upgrade the PVE 6.3 to the PVE 6.4.x [0] then upgrade to the PVE 7

Could you please post the output of the following commands:

Bash:
grep '' /etc/apt/sources.list
grep '' /etc/apt/sources.list.d/*
apt update
pveversion -v


[0] https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Preconditions
OK, thanks, here it is:

root@V1:~# grep '' /etc/apt/sources.list
deb http://ftp.debian.org/debian bullseye main contrib

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

# security updates
deb http://security.debian.org/debian-security bullseye-security main contrib
root@V1:~#

root@V1:~# grep '' /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/pve-community.list:deb http://download.proxmox.com/debian/pve buster pve-no-subscription
/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:deb http://download.proxmox.com/debian bullseye pve-no-subscription
/etc/apt/sources.list.d/pve-enterprise.list.disabled:deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

after apt update

root@V1:~# pveversion -v[/CODE]
Unknown option: v[/code]
USAGE: pveversion [--verbose]
 
Hi,

please full output of pveversion -v as well :)

You have mixed the repositories buster and bullseye, you should use bullseye if you want to upgrade to the PVE 7. But first, let us check the output of the pveversion -v command.
 
ok, I understand something is messed up....will be learning as I go. Here it is for your request:

root@V1:~# pveversion -v
proxmox-ve: 6.3-1 (running kernel: 5.4.78-2-pve)
pve-manager: 6.3-3 (running version: 6.3-3/eee5f901)
pve-kernel-helper: 7.1-6
pve-kernel-5.4: 6.3-3
pve-kernel-5.4.78-2-pve: 5.4.78-2
pve-kernel-5.4.73-1-pve: 5.4.73-1
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.36+pve1
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.0.7
libproxmox-backup-qemu0: 1.0.2-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 6.3-2
libpve-guest-common-perl: 3.1-4
libpve-http-server-perl: 3.1-1
libpve-storage-perl: 6.3-5
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.6-1
lxcfs: 4.0.6-pve1
novnc-pve: 1.2.0-3
proxmox-backup-client: 1.0.6-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-4
pve-cluster: 6.2-1
pve-container: 3.3-2
pve-docs: 7.1-2
pve-edk2-firmware: 2.202002-1
pve-firewall: 4.2-5
pve-firmware: 3.3-3
pve-ha-manager: 3.3-1
pve-i18n: 2.6-2
pve-qemu-kvm: 5.1.0-8
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-3
smartmontools: 7.2-pve2
spiceterm: 3.2-2
vncterm: 1.6-2
zfsutils-linux: 0.8.5-pve1
 
Thank you for the outptu!

As said. First, upgrade your PVE 6.3 to PVE 6.4 by changing the bullseye repositories to buster:

/etc/apt/sources.list
and
/etc/apt/sources.list.d/pve-enterprise.list

you can get rid of pve-community.list file since you already have same repo in /etc/apt/sources.list.d/pve-enterprise.list


Then apt update && apt dist-upgrade

After you upgrade to the PVE 6.4 you can upgrade to PVE 7.1 [0]


[0] https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
 
Ok, I managed to upgrade it to 6.4 but got stuck on CEPH. On prerequisite I see that CEPH should be upgraded first. But it seems I cant...

after the upgrade

my repos before upgrade

/etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

/etc/apt/sources.list
deb http://ftp.debian.org/debian buster main contrib

deb http://ftp.debian.org/debian buster-updates main contrib
deb http://download.proxmox.com/debian buster pve-no-subscription

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

root@V1:~# pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.4.157-1-pve)
pve-manager: 6.4-13 (running version: 6.4-13/9f411e79)
pve-kernel-helper: 7.1-6
pve-kernel-5.4: 6.4-11
pve-kernel-5.4.157-1-pve: 5.4.157-1
pve-kernel-5.4.78-2-pve: 5.4.78-2
pve-kernel-5.4.73-1-pve: 5.4.73-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.5-pve2~bpo10+1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.36+pve1
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.1.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 6.4-4
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.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.2.0-3
proxmox-backup-client: 1.1.13-2
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-4
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 7.1-2
pve-edk2-firmware: 2.202002-1
pve-firewall: 4.2-5
pve-firmware: 3.3-3
pve-ha-manager: 3.3-1
pve-i18n: 2.6-2
pve-qemu-kvm: 5.2.0-6
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.2-2
vncterm: 1.6-2
zfsutils-linux: 2.0.6-pve1~bpo10+1
root@V1:~#

root@V1:~# sed -i 's/nautilus/octopus/' /etc/apt/sources.list.d/ceph.list
sed: can't read /etc/apt/sources.list.d/ceph.list: No such file or directory
root@V1:~#

It is probably because CEPH is on 12.2 version. I could not find anything how to upgrade from this version to OCTOPUS.....This is where I got stuck....Thanks,
 
if you are using Ceph you should upgrade to Pacific version [0] [1]

if you not using/installed Ceph, the upgrade should be ok. What says the output of apt update && apt dist-upgrade


[0] https://pve.proxmox.com/wiki/Ceph_Nautilus_to_Octopus
[1] https://pve.proxmox.com/wiki/Ceph_Octopus_to_Pacific
ok here it is:

root@V1:~# apt update
Hit:1 http://ftp.debian.org/debian buster InRelease
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Hit:4 http://download.proxmox.com/debian buster InRelease
Hit:5 http://download.proxmox.com/debian/pve buster InRelease
Hit:6 https://enterprise.proxmox.com/debian/pve buster InRelease
Fetched 65.4 kB in 1s (46.8 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.

root@V1:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
pve-edk2-firmware
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

root@V1:~# apt list --upgradable
Listing... Done
pve-edk2-firmware/stable,stable,stable 2.20200531-1 all [upgradable from: 2.202002-1]
N: There are 5 additional versions. Please use the '-a' switch to see them.

I am not sure what this CEPH used for and if I am using that in my setup...sounds silly but like I said I am a beginner....
 
Sure, moving forward but stuck again on upgrade :(


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

------------------------------------------------
/etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
 
I assume you don't have a subscription, if so - you have to use a no-subscription repository instead of a pve-subscription, What you should do is edit your /etc/apt/sources.list.d/pve-enterprise.list and set the

Code:
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
instead of:
Code:
deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
 
Moayad, I have a subscription like I mentioned at the beginning.
Even though I tried to change repo as you suggested just to try and was still getting the same error...
Then I changed back to enterprise as it was before commented no subscription and ran update as well as apt dist-ugrade and got the same error:


Code:
root@V1:~# 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 libzpool4linux proxmox-backup-file-restore proxmox-backup-restore-image
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libldb1 libpve-access-control libpve-cluster-api-perl libpve-guest-common-perl libpve-storage-perl
  libpve-u2f-server-perl libpython-stdlib librados2-perl proxmox-ve pve-container pve-firewall pve-ha-manager pve-manager
  python python-cephfs python-certifi python-chardet python-configparser python-crypto python-dnspython python-future
  python-gpg python-idna python-ipaddr python-ldb python-minimal python-prettytable python-protobuf python-rados
  python-rbd python-requests python-samba python-talloc python-tdb python-urllib3 python3.7 qemu-server
The following NEW packages will be installed:
  alsa-topology-conf alsa-ucm-conf bind9-dnsutils bind9-libs bsdextrautils distro-info-data gcc-10-base gnutls-bin
  libapt-pkg6.0 libbpf0 libbrotli1 libc-devtools libcbor0 libcrypt-dev libcrypt1 libdeflate0 libdns-export1110 libdns1110
  libevent-2.1-7 libfdt1 libffi7 libfido2-1 libgcc-s1 libgd3 libglusterd0 libgnutls-dane0 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
  libopts25 libperl5.32 libprocps8 libprotobuf23 libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqb100
  libreadline8 libsocket6-perl libtiff5 libtirpc-dev libunbound8 liburing1 libuv1 libwebp6 libxpm4 libxxhash0
  libzpool5linux logsave lua-lpeg mailcap manpages-dev media-types ncal os-prober pci.ids perl-modules-5.32
  pve-kernel-5.13.19-2-pve python3-cffi-backend python3-cryptography python3-dnspython python3-gpg python3-ldb
  python3-markdown python3-protobuf python3-pygments python3-requests-toolbelt python3-samba python3-talloc python3-tdb
  python3.9 python3.9-minimal runit-helper systemd-timesyncd
The following packages have been kept back:
  pve-edk2-firmware
The following packages will be upgraded:
  apt apt-utils bc bind9-host bsdmainutils bsdutils btrfs-progs ceph-common ceph-fuse corosync criu curl dirmngr dnsutils
  e2fsprogs gdisk glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv groff-base grub-common grub-efi-amd64-bin grub-efi-ia32-bin grub-pc grub-pc-bin
  grub2-common idn iproute2 ipset iptables isc-dhcp-client libanyevent-perl libapt-pkg-perl libarchive13 libasound2
  libasound2-data libauthen-pam-perl libbind9-161 libbsd0 libc-bin libc-dev-bin libc6 libc6-dev libcairo2 libcephfs2
  libcfg7 libclone-perl libcmap4 libcommon-sense-perl libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libcups2 libcurl3-gnutls libcurl4 libext2fs2
  libfilesys-df-perl libflac8 libfreetype6 libgfapi0 libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libglib2.0-0
  libglusterfs-dev libglusterfs0 libgnutls30 libgnutlsxx28 libgoogle-perftools4 libgstreamer-plugins-base1.0-0
  libgstreamer1.0-0 libhtml-parser-perl libhttp-message-perl libiptc0 libirs161 libisccc161 libisccfg163 libjemalloc2
  libjson-xs-perl libldap-2.4-2 libleveldb1d liblinux-inotify2-perl liblocale-gettext-perl liblttng-ust-ctl4 liblttng-ust0
  liblwres161 libnet-dbus-perl libnet-ssleay-perl libnspr4 libnss-systemd libnvpair3linux liboath0 libopus0 libp11-kit0
  libpam-modules libpam-modules-bin libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpci3
  libpixman-1-0 libpng16-16 libproxmox-acme-perl libproxmox-acme-plugins libproxmox-backup-qemu0 libpulse0
  libpve-common-perl libpve-http-server-perl libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib
  libpython3-stdlib libquadmath0 libquorum5 librabbitmq4 librados2 libradosstriper1 librbd1 librdkafka1 librgw2 librrd8
  librrds-perl librtmp1 libsdl1.2debian libslang2 libsmbclient libsndfile1 libsqlite3-0 libstdc++6 libsystemd0
  libtcmalloc-minimal4 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl libtext-iconv-perl
  libu2f-server0 libuchardet0 libudev1 libuuid-perl libuutil3linux libvorbis0a libvorbisenc2 libvotequorum8 libwbclient0
  libwrap0 libxml-libxml-perl libxml-parser-perl libxml2 libxslt1.1 libxtables12 libyaml-libyaml-perl libzfs4linux locales
  login lxc-pve lxcfs lynx mawk mime-support nfs-common nmap nmap-common open-iscsi openssh-client openssh-server
  openssh-sftp-server passwd pciutils perl perl-base postfix procps proxmox-backup-client proxmox-backup-file-restore
  proxmox-backup-restore-image pve-cluster pve-lxc-syscalld pve-qemu-kvm pve-xtermjs python-six python2 python2-minimal
  python2.7 python2.7-minimal python3 python3-apt python3-ceph-argparse python3-ceph-common python3-cephfs python3-chardet
  python3-minimal python3-pycurl python3-rados python3-rbd python3-rgw python3-six python3-yaml rsync rsyslog samba
  samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient sqlite3 ssh systemd
  thin-provisioning-tools udev util-linux vncterm wget xfsprogs zfs-initramfs zfs-zed zfsutils-linux zstd
235 upgraded, 94 newly installed, 37 to remove and 1 not upgraded.
Need to get 0 B/342 MB of archives.
After this operation, 641 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
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

Code:
root@V1:~# grep '' /etc/apt/sources.list
deb http://ftp.debian.org/debian bullseye main contrib

deb http://ftp.debian.org/debian bullseye-updates main contrib
# deb http://download.proxmox.com/debian bullseye pve-no-subscription

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


root@V1:~# grep '' /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/ceph.list:deb http://download.proxmox.com/debian/ceph-octopus bullseye main
/etc/apt/sources.list.d/pve-community.list:deb http://download.proxmox.com/debian/pve buster pve-no-subscription
/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.disabled:deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
 
Last edited:
Hello,

Please comment out of the pve-enterprise repository if you are not using subscription by edit the `/etc/apt/sources.list.d/pve-enterprise.list` file and add # to be as the following:

# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
 
Hello,

Please comment out of the pve-enterprise repository if you are not using subscription by edit the `/etc/apt/sources.list.d/pve-enterprise.list` file and add # to be as the following:

# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
No, I want to use my subscription. My subscription shows active in the GUI. I paid for this a few days ago. So it should work the way it is.....what I am missing here?
 
Sorry, I thought that you are using no-subscription, In this case, please comment out the no-subscription and please pot the full output of apt update && apt full-upgrade
 
Sorry, I thought that you are using no-subscription, In this case, please comment out the no-subscription and please pot the full output of apt update && apt full-upgrade
It is already commented:

Code:
/etc/apt/sources.list                           
deb http://ftp.debian.org/debian bullseye main contrib

deb http://ftp.debian.org/debian bullseye-updates main contrib
# deb http://download.proxmox.com/debian bullseye pve-no-subscription

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

Code:
root@V1:~# apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://ftp.debian.org/debian bullseye InRelease        
Get:3 http://ftp.debian.org/debian bullseye-updates InRelease [39.4 kB]
Hit:4 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease
Hit:5 http://download.proxmox.com/debian/pve buster InRelease  
Hit:6 https://enterprise.proxmox.com/debian/pve bullseye InRelease
Fetched 39.4 kB in 2s (21.1 kB/s)                         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
244 packages can be upgraded. Run 'apt list --upgradable' to see them.

Code:
root@V1:~# apt full-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 libzpool4linux proxmox-backup-file-restore
  proxmox-backup-restore-image
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libldb1 libpve-access-control libpve-cluster-api-perl
  libpve-guest-common-perl libpve-storage-perl libpve-u2f-server-perl
  libpython-stdlib librados2-perl proxmox-ve pve-container pve-firewall
  pve-ha-manager pve-manager python python-cephfs python-certifi
  python-chardet python-configparser python-crypto python-dnspython
  python-future python-gpg python-idna python-ipaddr python-ldb python-minimal
  python-prettytable python-protobuf python-rados python-rbd python-requests
  python-samba python-talloc python-tdb python-urllib3 python3.7 qemu-server
The following NEW packages will be installed:
  alsa-topology-conf alsa-ucm-conf bind9-dnsutils bind9-libs bsdextrautils
  distro-info-data gcc-10-base gnutls-bin libapt-pkg6.0 libbpf0 libbrotli1
  libc-devtools libcbor0 libcrypt-dev libcrypt1 libdeflate0 libdns-export1110
  libdns1110 libevent-2.1-7 libfdt1 libffi7 libfido2-1 libgcc-s1 libgd3
  libglusterd0 libgnutls-dane0 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 libopts25 libperl5.32 libprocps8 libprotobuf23 libpython3.9
  libpython3.9-minimal libpython3.9-stdlib libqb100 libreadline8
  libsocket6-perl libtiff5 libtirpc-dev libunbound8 liburing1 libuv1 libwebp6
  libxpm4 libxxhash0 libzpool5linux logsave lua-lpeg mailcap manpages-dev
  media-types ncal os-prober pci.ids perl-modules-5.32
  pve-kernel-5.13.19-2-pve python3-cffi-backend python3-cryptography
  python3-dnspython python3-gpg python3-ldb python3-markdown python3-protobuf
  python3-pygments python3-requests-toolbelt python3-samba python3-talloc
  python3-tdb python3.9 python3.9-minimal runit-helper systemd-timesyncd
The following packages have been kept back:
  pve-edk2-firmware
The following packages will be upgraded:
  apt apt-utils bc bind9-host bsdmainutils bsdutils btrfs-progs ceph-common
  ceph-fuse corosync criu curl dirmngr dnsutils e2fsprogs gdisk
  glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gpg gpg-agent
  gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv groff-base grub-common
  grub-efi-amd64-bin grub-efi-ia32-bin grub-pc grub-pc-bin grub2-common idn
  iproute2 ipset iptables isc-dhcp-client libanyevent-perl libapt-pkg-perl
  libarchive13 libasound2 libasound2-data libauthen-pam-perl libbind9-161
  libbsd0 libc-bin libc-dev-bin libc6 libc6-dev libcairo2 libcephfs2 libcfg7
  libclone-perl libcmap4 libcommon-sense-perl libcpg4
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libcups2
  libcurl3-gnutls libcurl4 libext2fs2 libfilesys-df-perl libflac8 libfreetype6
  libgfapi0 libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libglib2.0-0
  libglusterfs-dev libglusterfs0 libgnutls30 libgnutlsxx28
  libgoogle-perftools4 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0
  libhtml-parser-perl libhttp-message-perl libiptc0 libirs161 libisccc161
  libisccfg163 libjemalloc2 libjson-xs-perl libldap-2.4-2 libleveldb1d
  liblinux-inotify2-perl liblocale-gettext-perl liblttng-ust-ctl4
  liblttng-ust0 liblwres161 libnet-dbus-perl libnet-ssleay-perl libnspr4
  libnss-systemd libnvpair3linux liboath0 libopus0 libp11-kit0 libpam-modules
  libpam-modules-bin libpam-systemd libpango-1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpci3 libpixman-1-0 libpng16-16 libproxmox-acme-perl
  libproxmox-acme-plugins libproxmox-backup-qemu0 libpulse0 libpve-common-perl
  libpve-http-server-perl libpython2-stdlib libpython2.7 libpython2.7-minimal
  libpython2.7-stdlib libpython3-stdlib libquadmath0 libquorum5 librabbitmq4
  librados2 libradosstriper1 librbd1 librdkafka1 librgw2 librrd8 librrds-perl
  librtmp1 libsdl1.2debian libslang2 libsmbclient libsndfile1 libsqlite3-0
  libstdc++6 libsystemd0 libtcmalloc-minimal4 libtdb1 libtemplate-perl
  libterm-readline-gnu-perl libtext-charwidth-perl libtext-iconv-perl
  libu2f-server0 libuchardet0 libudev1 libuuid-perl libuutil3linux libvorbis0a
  libvorbisenc2 libvotequorum8 libwbclient0 libwrap0 libxml-libxml-perl
  libxml-parser-perl libxml2 libxslt1.1 libxtables12 libyaml-libyaml-perl
  libzfs4linux locales login lxc-pve lxcfs lynx mawk mime-support nfs-common
  nmap nmap-common open-iscsi openssh-client openssh-server
  openssh-sftp-server passwd pciutils perl perl-base postfix procps
  proxmox-backup-client proxmox-backup-file-restore
  proxmox-backup-restore-image pve-cluster pve-lxc-syscalld pve-qemu-kvm
  pve-xtermjs python-six python2 python2-minimal python2.7 python2.7-minimal
  python3 python3-apt python3-ceph-argparse python3-ceph-common python3-cephfs
  python3-chardet python3-minimal python3-pycurl python3-rados python3-rbd
  python3-rgw python3-six python3-yaml rsync rsyslog samba samba-common
  samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient
  sqlite3 ssh systemd thin-provisioning-tools udev util-linux vncterm wget
  xfsprogs zfs-initramfs zfs-zed zfsutils-linux zstd
235 upgraded, 94 newly installed, 37 to remove and 1 not upgraded.
Need to get 0 B/342 MB of archives.
After this operation, 641 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
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
 
Apt won't only use the lines in /etc/apt/sources.list, it will also use ALL lines in ALL files in your /etc/apt/sources.list.d/ folder. So you also need check those files as well as Moayad already said: "Please remove it `rm /etc/apt/sources.list.d/pve-community.list` since you are using enterprise or just comment out on it #"
 

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!