hi there,
I have been attempting to do an inplace upgrade of my proxmox 7.4 server. I have followed the update guide step by step and I still can't get this to work. It is like it is not seeing the correct repositories
updating repositories
I should note i think i may have had some nonfree firmware on this machine when i first installed it but i can't remember for sure. Could that cause this issue?
now i run the following
now i do the dist-upgrade
since above it already says it is going to remove proxmox-ve I know what result i will get:
I have looked through endless websites and I can't find a solution. Perhaps this is because I earlier today accidentally did an apt upgrade?
This did the same thing before i did the apt upgrade. Any help is much appreciated. Perhaps I need to do a complete fresh install?
I have been attempting to do an inplace upgrade of my proxmox 7.4 server. I have followed the update guide step by step and I still can't get this to work. It is like it is not seeing the correct repositories
pveversion
pve-manager/7.4-18/b1f94095 (running kernel: 5.15.152-1-pve)
Code:
pve7to8 --full
= CHECKING VERSION INFORMATION FOR PVE PACKAGES =
Checking for package updates..
PASS: all packages up-to-date
Checking proxmox-ve package version..
PASS: proxmox-ve package has version >= 7.4-1
Checking running kernel version..
PASS: running kernel '5.15.152-1-pve' is considered suitable for upgrade.
= 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 'local-zfs' enabled and active.
PASS: storage 'storage-1' enabled and active.
INFO: Checking storage content type configuration..
PASS: no storage content problems found
PASS: no storage re-uses a directory for multiple content types.
= 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 'pvescheduler.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for supported & active NTP service..
PASS: Detected active time synchronisation unit 'chrony.service'
INFO: Checking for running guests..
PASS: no running guest detected.
INFO: Checking if the local node's hostname 'whitebunnyflock' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '192.168.0.112' configured and active on single interface.
INFO: Check node certificate's RSA key size
PASS: Certificate 'pve-root-ca.pem' passed Debian Busters (and newer) security level for TLS connections (4096 >= 2048)
PASS: Certificate 'pve-ssl.pem' passed Debian Busters (and newer) security level for TLS connections (2048 >= 2048)
INFO: Checking backup retention settings..
PASS: no backup retention problems found.
INFO: checking CIFS credential location..
PASS: no CIFS credentials at outdated location found.
INFO: Checking permission system changes..
INFO: Checking custom role IDs for clashes with new 'PVE' namespace..
PASS: no custom roles defined, so no clash with 'PVE' role ID namespace enforced in Proxmox VE 8
INFO: Checking if LXCFS is running with FUSE3 library, if already upgraded..
SKIP: not yet upgraded, no need to check the FUSE library version LXCFS uses
INFO: Checking node and guest description/note length..
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 if the suite for the Debian security repository is correct..
PASS: found no suite mismatch
INFO: Checking for existence of NVIDIA vGPU Manager..
PASS: No NVIDIA vGPU Service found.
INFO: Checking bootloader configuration...
SKIP: not yet upgraded, no need to check the presence of systemd-boot
INFO: Check for dkms modules...
SKIP: could not get dkms status
= SUMMARY =
TOTAL: 30
PASSED: 25
SKIPPED: 5
WARNINGS: 0
FAILURES: 0
updating repositories
Code:
cat /etc/apt/sources.list
# deb http://ftp.ca.debian.org/debian bullseye main contrib non-free
# deb http://ftp.ca.debian.org/debian bullseye-updates main contrib non-free
# 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 non-free
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib
# Proxmox VE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
# deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib
Code:
cat /etc/apt/sources.list.d/pve.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
# deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
I should note i think i may have had some nonfree firmware on this machine when i first installed it but i can't remember for sure. Could that cause this issue?
now i run the following
Code:
apt clean
apt update
apt update
Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:2 http://ftp.debian.org/debian bookworm InRelease [151 kB]
Get:3 http://download.proxmox.com/debian/pve bookworm InRelease [2,768 B]
Get:4 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [158 kB]
Get:5 http://ftp.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:6 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages [305 kB]
Get:7 http://security.debian.org/debian-security bookworm-security/main Translation-en [95.2 kB]
Get:8 http://security.debian.org/debian-security bookworm-security/contrib amd64 Packages [644 B]
Get:9 http://security.debian.org/debian-security bookworm-security/contrib Translation-en [372 B]
Get:10 http://ftp.debian.org/debian bookworm/main amd64 Packages [8,786 kB]
Get:11 http://ftp.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:12 http://ftp.debian.org/debian bookworm/contrib amd64 Packages [54.1 kB]
Get:13 http://ftp.debian.org/debian bookworm/contrib Translation-en [48.7 kB]
Get:14 http://ftp.debian.org/debian bookworm-updates/main amd64 Packages [13.8 kB]
Get:15 http://ftp.debian.org/debian bookworm-updates/main Translation-en [16.0 kB]
Get:16 http://ftp.debian.org/debian bookworm-updates/contrib amd64 Packages [768 B]
Get:17 http://ftp.debian.org/debian bookworm-updates/contrib Translation-en [408 B]
Fetched 15.8 MB in 4s (4,088 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
407 packages can be upgraded. Run 'apt list --upgradable' to see them.
now i do the dist-upgrade
Code:
apt dist-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:
libjs-sencha-touch libtiff5 libwebp6
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
ceph-common libgnutlsxx28 libnfsidmap2 libpve-guest-common-perl libpve-storage-perl libsemanage1 proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python3-cephfs python3-rados python3-rbd python3-rgw qemu-server
spiceterm
The following NEW packages will be installed:
cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common dbus-user-session ethtool gcc-12-base i965-va-driver intel-media-va-driver libabsl20220623 libaom3 libavif15 libbpf1 libcbor0.8 libdav1d6
libde265-0 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libevent-core-2.1-7 libffi8 libfile-find-rule-perl libflac12 libgav1-1 libgnutlsxx30 libgprofng0 libheif1 libicu72 libigdgmm12 libjemalloc2 libldap-2.5-0 liblerc4
libllvm15 libmp3lame0 libmpg123-0 libnfsidmap1 libnumber-compare-perl libpciaccess0 libperl5.36 libproc2-0 libprotobuf32 libpython3.11 libpython3.11-minimal libpython3.11-stdlib librav1e0 libsemanage2 libsepol2 libsocket6-perl
libssl3 libsubid4 libsvtav1enc1 libsystemd-shared libtext-glob-perl libtiff6 liburcu8 libva-drm2 libva2 libvulkan1 libwayland-client0 libwebp7 libx11-xcb1 libx265-199 libxcb-dri2-0 libxcb-dri3-0 libxcb-present0 libxcb-randr0
libxcb-sync1 libxcb-xfixes0 libxshmfence1 libyuv0 libz3-4 mesa-va-drivers mesa-vulkan-drivers perl-modules-5.36 proxmox-termproxy python3-distutils python3-lib2to3 python3-setuptools python3-systemd python3.11 python3.11-minimal
usrmerge util-linux-extra va-driver-all
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils apcupsd apcupsd-cgi apparmor apt apt-utils attr base-passwd bash bind9-dnsutils bind9-host bind9-libs binutils binutils-common binutils-x86-64-linux-gnu bridge-utils bsd-mailx
bsdextrautils bsdutils btrfs-progs busybox bzip2 chrony cifs-utils coreutils corosync cpio criu cron cstream curl dash dbus debianutils diffutils dirmngr dmeventd dmidecode dmsetup dpkg e2fsprogs ebtables efibootmgr eject faketime
fdisk fdutils file findutils fontconfig fuse gdisk genisoimage gettext-base glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gnutls-bin 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 hdparm hostname ifupdown2 init-system-helpers iproute2 ipset iptables iputils-ping isc-dhcp-client iucode-tool kbd keyutils kmod less libacl1 libanyevent-perl
libapparmor1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libapt-pkg-perl libapt-pkg6.0 libarchive13 libargon2-1 libasound2 libasound2-data libassuan0 libasyncns0 libattr1 libaudit1 libauthen-pam-perl libavahi-client3
libavahi-common-data libavahi-common3 libbabeltrace1 libbinutils libblkid1 libbsd0 libbz2-1.0 libc-bin libc6 libcairo2 libcap-ng0 libcap2 libcap2-bin libclone-perl libcommon-sense-perl libcpg4 libcrypt-openssl-bignum-perl
libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcrypt1 libcryptsetup12 libctf0 libcups2 libcurl3-gnutls libcurl4 libdb5.3 libdbus-1-3 libdevmapper-event1.02.1 libdevmapper1.02.1 libdrm2 libdw1 libedit2
libelf1 libevent-2.1-7 libext2fs2 libfaketime libfdisk1 libfido2-1 libfilesys-df-perl libfontconfig1 libfreetype6 libfstrm0 libfuse2 libfuse3-3 libgbm1 libgcc-s1 libgcrypt20 libgd3 libgdbm-compat4 libgdbm6 libgfapi0 libgfchangelog0
libgfrpc0 libglib2.0-0 libglusterfs0 libgnutls-dane0 libgnutls30 libgpg-error0 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b libhtml-parser-perl libhttp-message-perl libibverbs1 libip4tc2 libip6tc2
libipset13 libisns0 libjson-c5 libjson-xs-perl libk5crypto3 libkmod2 libknet1 libkrb5-3 libkrb5support0 libksba8 libldb2 libleveldb1d liblinux-inotify2-perl liblocale-gettext-perl liblua5.3-0 liblvm2cmd2.03 liblzma5 libmagic-mgc
libmagic1 libmaxminddb0 libmd0 libmount1 libncurses6 libncursesw6 libnet-dbus-perl libnet-ssleay-perl libnetaddr-ip-perl libnewt0.52 libnftables1 libnftnl11 libnl-3-200 libnl-route-3-200 libnozzle1 libnspr4 libnss-systemd libnss3
libnuma1 liboath0 libopeniscsiusr libopts25 libp11-kit0 libpam-modules libpam-modules-bin libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcap0.8 libpci3 libpcre2-16-0 libpcre2-8-0 libpcre3
libpipeline1 libpopt0 libposix-strptime-perl libproxmox-backup-qemu0 libproxmox-rs-perl libpsl5 libpulse0 libpve-access-control libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-http-server-perl libpve-rs-perl
libpve-u2f-server-perl libpython3-stdlib libqb100 libqt5core5a libqt5dbus5 libqt5network5 librabbitmq4 librados2-perl librdkafka1 librdmacm1 libreadline8 librrd8 librrds-perl libsasl2-2 libselinux1 libsemanage-common libslang2
libslirp0 libsmartcols1 libsmbclient libsndfile1 libspice-server1 libsqlite3-0 libss2 libssh2-1 libstatgrab10 libstdc++6 libsystemd0 libtalloc2 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtevent0 libtext-charwidth-perl
libtext-iconv-perl libtinfo6 libtirpc3 libtpms0 libu2f-server0 libudev1 libunbound8 libunistring2 libunwind8 libuuid-perl libuutil3linux libuv1 libvirglrenderer1 libwayland-server0 libwbclient0 libwrap0 libx11-6 libxml-libxml-perl
libxml-parser-perl libxml2 libxpm4 libxslt1.1 libxtables12 libyaml-libyaml-perl libzfs4linux libzpool5linux libzstd1 locales login logrotate logsave lsb-base lshw lsof lvm2 lxc-pve lxcfs man-db mount nano ncurses-base ncurses-bin
ncurses-term nfs-common nftables nmap nmap-common open-iscsi openssh-client openssh-server openssh-sftp-server openssl passwd pciutils perl perl-base perl-openssl-defaults pinentry-curses postfix procmail procps proxmox-backup-client
proxmox-backup-file-restore proxmox-mail-forward proxmox-mini-journalreader proxmox-websocket-tunnel psmisc pve-cluster pve-firewall pve-lxc-syscalld pve-xtermjs python3 python3-apt python3-ldb python3-minimal python3-protobuf
python3-pycurl python3-talloc python3-yaml rpcbind rrdcached rsync rsyslog samba-common samba-libs sed shared-mime-info smartmontools smbclient socat sqlite3 ssh strace swtpm swtpm-libs swtpm-tools systemd sysvinit-utils tar tcpdump
thin-provisioning-tools time traceroute udev uidmap usbutils util-linux vim-common vim-tiny vncterm wget whiptail xfsprogs xxd xz-utils zfs-initramfs zfs-zed zfsutils-linux zstd
398 upgraded, 86 newly installed, 17 to remove and 0 not upgraded.
Need to get 267 MB of archives.
After this operation, 21.7 MB disk space will be freed.
Do you want to continue? [Y/n]
since above it already says it is going to remove proxmox-ve I know what result i will get:
Code:
Fetched 267 MB in 15s (18.3 MB/s)
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 have looked through endless websites and I can't find a solution. Perhaps this is because I earlier today accidentally did an apt upgrade?
This did the same thing before i did the apt upgrade. Any help is much appreciated. Perhaps I need to do a complete fresh install?
Last edited: