[SOLVED] Proxmox 7 upgrade errror

Kieeps

Member
Dec 16, 2018
19
0
6
39
So i'w seen some other people have the same issue as me but none of their solutions have worked for me though.

I Haven't upgraded in a long time and figured i'd give this system a lil love.

whenever i try to do a dist-upgrade i get this:

apt dist-upgrade -y
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 libbind9-161 libboost-atomic1.67.0 libboost-iostreams1.67.0 libboost-program-options1.67.0 libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libcwidget3v5
libdns1104 libdns1110 libevent-2.1-6 libhavege1 libice6 libicu63 libipset11 libisc1100 libisc1105 libisccc161 libisccfg163 libjs-sphinxdoc libjs-underscore liblwres161 libmpdec2
libperl5.28 libprotobuf17 libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3.7 libpython3.7-minimal libpython3.7-stdlib libqb0 libreadline5
libreadline7 libsm6 libx11-xcb1 libxi6 libxtst6 linux-image-4.19.0-10-amd64 proxmox-archive-keyring pve-kernel-5.4.55-1-pve pve-kernel-5.4.73-1-pve pve-kernel-helper
python-pkg-resources python-six python2 python2-minimal python2.7 python2.7-minimal python3.7-minimal x11-common
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
libldb1 libpython-stdlib proxmox-ve pve-firmware pve-kernel-5.4 python python-cephfs python-certifi python-chardet python-configparser python-future python-idna python-ipaddr
python-minimal python-prettytable python-protobuf python-rados python-rbd python-requests python-talloc python-urllib3 python3.7
The following NEW packages will be installed:
alsa-topology-conf alsa-ucm-conf bind9-libs bsdextrautils bzip2 firmware-linux-free gcc-10-base libapt-pkg6.0 libboost-iostreams1.74.0 libbpf0 libbrotli1 libc-devtools libcbor0
libcrypt-dev libcrypt1 libcwidget4 libdeflate0 libdns-export1110 libdns1110 libdpkg-perl libevent-2.1-7 libfdt1 libffi7 libfido2-1 libfile-fcntllock-perl libgcc-s1 libgd3 libglusterd0
libhavege2 libhogweed6 libicu67 libinih1 libip4tc2 libip6tc2 libipset13 libisc-export1105 libisc1105 libjbig0 libjson-c5 libldb2 libleveldb1d liblttng-ust-ctl4 liblttng-ust0
libmaxminddb0 libmd0 libmpdec3 libnetaddr-ip-perl libnettle8 libnozzle1 libnsl-dev libnsl2 libnss-nis libnss-nisplus liboath0 libopeniscsiusr libperl4-corelibs-perl libperl5.32
libpod-parser-perl libprocps8 libprotobuf23 libpve-rs-perl libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqb100 librabbitmq4 librdkafka1 libreadline8 librgw2 libsocket6-perl
libtiff5 libtirpc-dev liburing1 libuv1 libwebp6 libxpm4 libxxhash0 linux-image-5.10.0-8-amd64 logsave mailcap manpages manpages-dev media-types ncal os-prober pci.ids
perl-modules-5.32 python3-ceph-argparse python3-ceph-common python3-cephfs python3-ldb python3-protobuf python3-rados python3-rbd python3-rgw python3-talloc python3-yaml python3.9
python3.9-minimal systemd-timesyncd
The following packages will be upgraded:
apparmor apt apt-utils aptitude aptitude-common attr base-files base-passwd bash bash-completion bind9-host bridge-utils bsdmainutils bsdutils btrfs-progs busybox ca-certificates
ceph-common ceph-fuse cifs-utils console-setup console-setup-linux coreutils corosync cpio cpufrequtils criu cron cryptsetup cryptsetup-bin cryptsetup-initramfs cryptsetup-run curl
dash dbus debconf debconf-i18n debian-archive-keyring debianutils diffutils dirmngr discover-data dmeventd dmidecode dmsetup dosfstools dpkg dtach e2fsprogs ebtables efibootmgr eject
faketime fdisk file findutils fontconfig fontconfig-config fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings fuse gdisk genisoimage geoip-database 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-pc
grub-pc-bin grub2-common gzip haveged hdparm hostname idn ifupdown2 init init-system-helpers initramfs-tools initramfs-tools-core installation-report iproute2 ipset iptables
iputils-clockdiff iputils-ping iputils-tracepath irqbalance isc-dhcp-client isc-dhcp-common iso-codes kbd keyboard-configuration keyutils klibc-utils kmod krb5-locales 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 libblkid1 libbsd0 libbz2-1.0 libc-bin
libc-dev-bin libc-l10n libc6 libc6-dev libcaca0 libcairo2 libcap-ng0 libcap2 libcap2-bin libcephfs2 libcfg7 libclone-perl libcmap4 libcom-err2 libcommon-sense-perl
libconvert-asn1-perl libcorosync-common4 libcpg4 libcpufreq0 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 libgfrpc0 libgfxdr0 libglib2.0-0 libglusterfs-dev libglusterfs0 libgmp10 libgnutls30 libgnutlsxx28 libgoogle-perftools4 libgpg-error0 libgpm2 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-socket-ssl-perl libiptc0 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 liblinux-inotify2-perl liblmdb0 liblocale-gettext-perl liblognorm5 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 libnss3 libnuma1 libnvpair3linux 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 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-guest-common-perl libpve-http-server-perl libpve-storage-perl libpve-u2f-server-perl libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib
libpython3-stdlib libqrencode4 libquorum5 librados2 librados2-perl libradosstriper1 librbd1 librdmacm1 librrd8 librrds-perl librtmp1 libsasl2-2 libsasl2-modules-db libsdl1.2debian
libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsigc++-2.0-0v5 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 libxapian30 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-image-amd64 linux-libc-dev locales login logrotate lsb-base lshw lvm2 lxc-pve lxcfs lzop man-db mawk mdadm mime-support mount nano ncurses-base
ncurses-bin ncurses-term net-tools netbase nfs-common novnc-pve ntpdate numactl open-iscsi openssh-client openssh-server openssh-sftp-server openssl passwd pciutils perl perl-base
perl-openssl-defaults pinentry-curses postfix procps proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image proxmox-mini-journalreader
proxmox-widget-toolkit psmisc 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-pkg-resources python-six python2 python2-minimal python2.7 python2.7-minimal python3 python3-certifi python3-chardet python3-idna python3-jwt python3-minimal
python3-pkg-resources python3-prettytable python3-requests python3-six python3-urllib3 qemu-server qrencode readline-common rename rpcbind rrdcached rsync rsyslog runit-helper
samba-common samba-libs sensible-utils sgml-base shared-mime-info smbclient socat spiceterm sqlite3 ssl-cert systemd systemd-sysv sysvinit-utils tar task-english task-ssh-server
tasksel tasksel-data thin-provisioning-tools tzdata ucf udev uidmap usb.ids usbutils util-linux util-linux-locales vim vim-common vim-runtime vim-tiny vncterm wget whiptail x11-common
xfsprogs xkb-data xsltproc xxd xz-utils zfs-zed zfsutils-linux zlib1g zstd
553 upgraded, 100 newly installed, 22 to remove and 0 not upgraded.
Need to get 0 B/402 MB of archives.
After this operation, 223 MB of additional disk space will be used.
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

I'll post some info here:

proxmox-ve: 6.4-1 (running kernel: 5.4.114-1-pve)
pve-manager: 6.4-7 (running version: 6.4-7/04bc8e32)
pve-kernel-5.4: 6.4-2
pve-kernel-helper: 6.4-2
pve-kernel-5.4.114-1-pve: 5.4.114-1
pve-kernel-5.4.106-1-pve: 5.4.106-1
pve-kernel-5.4.73-1-pve: 5.4.73-1
pve-kernel-5.4.55-1-pve: 5.4.55-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.2-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve3
libjs-extjs: 6.0.1-10
libknet1: 1.20-pve1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.0.3-1
libpve-access-control: 6.4-1
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.8-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.5-6
pve-cluster: 6.4-1
pve-container: 3.3-5
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.2-3
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

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

# Ceph
deb http://download.proxmox.com/debian/ceph-octopus bullseye main

i dont have pve6to7 installed so cant run it.

but i read somewhere that it could be due to ceph and pveceph install could solve it...
not implemented ceph version: (?^:^(?:nautilus|octopus)$) at /usr/share/perl5/PVE/CLI/pveceph.pm line 149, <DATA> line 755.


Anyone have any idea what could cause this?
 
proxmox-ve: 6.4-1 (running kernel: 5.4.114-1-pve)
pve-manager: 6.4-7 (running version: 6.4-7/04bc8e32)
First, you should upgrade the Proxmox 6 to the latest version then you can able to upgrade it to Proxmox 7.x, in this case, you need to re-set the buster repositories then do apt update && apt dist-upgrade

then you can upgrade Proxmox to 7.x as in our wiki guide mentioned
 
sorry for the very very late response, had some stuff that needed some care :)

But anyway, i'w looked through the Buster repo and the latest PVE version i can find in there are 6.4.1, what repo am i suppose to use to upgrade to the latest 6.4?

just switching to Buster in the source.list did not help at all :(
 
Hi,

But anyway, i'w looked through the Buster repo and the latest PVE version i can find in there are 6.4.1
for proxmox-ve 6.4-1 is the latest version.
But your pve-manager is not up to date. Latest version is 6.4-13.

just switching to Buster in the source.list did not help at all :(
Could you post your "new" sources.list (the "buster version")?
What happened after apt update && apt dist-upgrade?

Greets
Stephan
 
this is such a late respons and i'm so sorry but i just remembered i never reported back.
i removed the security update line in the sources file and it was able to update for some reason.

i guess i had an old version or something.

Anyway everything works fine now :)
 

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!