trying to up date proxmox

gambit357

New Member
Dec 2, 2023
3
0
1
hi im trying to update proxmox buit im getting the followng errors any idea in how to fix them
root@pve:~# 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:
libjs-sencha-touch libntfs-3g883 proxmox-kernel-helper telnet
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
fuse libgnutlsxx28 libnfsidmap2 libproxmox-acme-perl libproxmox-rs-perl libpve-access-control
libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-guest-common-perl
libpve-http-server-perl libpve-rs-perl libpve-storage-perl libpve-u2f-server-perl librados2-perl
libsemanage1 lxc-pve proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-manager
qemu-server
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
fuse3 gcc-12-base i965-va-driver inetutils-telnet intel-media-va-driver libboost-context1.74.0
libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-program-options1.74.0 libboost-thread1.74.0
libbpf1 libcbor0.8 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libevent-core-2.1-7 libffi8
libfile-find-rule-perl libflac12 libfmt9 libgprofng0 libicu72 libigdgmm12 libldap-2.5-0 libldap-common
libllvm15 libmp3lame0 libmpg123-0 libnfsidmap1 libntfs-3g89 libnumber-compare-perl libpciaccess0
libperl5.36 libproc2-0 libprotobuf32 libpython3.11 libpython3.11-minimal libpython3.11-stdlib
libregexp-ipv6-perl libsemanage2 libsepol2 libssl3 libsubid4 libsystemd-shared libtext-glob-perl liburcu8
libva-drm2 libva2 libvulkan1 libwayland-client0 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-present0
libxcb-randr0 libxcb-sync1 libxcb-xfixes0 libxshmfence1 libz3-4 mesa-va-drivers mesa-vulkan-drivers
perl-modules-5.36 pve-kernel-5.15.131-1-pve python3-charset-normalizer python3-distutils python3-lib2to3
python3-pyparsing python3-wcwidth python3.11 python3.11-minimal sgml-base usrmerge util-linux-extra
va-driver-all
The following packages will be upgraded:
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
ceph-common ceph-fuse chrony cifs-utils coreutils cpio criu cron cstream curl dash dbus debianutils
diffutils dirmngr dmeventd dmidecode dmsetup dpkg e2fsprogs ebtables efibootmgr eject faketime fdisk
fdutils file findutils fontconfig 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
init-system-helpers iproute2 ipset iptables iputils-ping isc-dhcp-client kbd keyutils kmod less libacl1
libanyevent-perl libapparmor1 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 libcephfs2 libclone-perl libcommon-sense-perl
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 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 libjemalloc2 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 libnet1 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-8-0 libpcre3 libpipeline1 libpopt0 libposix-strptime-perl libpsl5 libpulse0 libpython3-stdlib
libqb100 librabbitmq4 librados2 libradosstriper1 librbd1 librdkafka1 librdmacm1 libreadline8 librgw2
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 libu2f-server0 libudev1 libunbound8
libunistring2 libunwind8 liburi-perl libuuid-perl libuv1 libvirglrenderer1 libwayland-server0 libwbclient0
libwrap0 libx11-6 libxml-libxml-perl libxml-parser-perl libxml2 libxslt1.1 libxtables12
libyaml-libyaml-perl libzstd1 locales login logrotate logsave lsb-base lsof lvm2 man-db mount nano
ncurses-base ncurses-bin ncurses-term nfs-common nftables nmap nmap-common ntfs-3g open-iscsi
openssh-client openssh-server openssh-sftp-server openssl passwd pciutils perl perl-base
perl-openssl-defaults pinentry-curses postfix procmail procps psmisc pve-kernel-5.15 python3 python3-apt
python3-ceph-argparse python3-ceph-common python3-cephfs python3-httplib2 python3-ldb python3-minimal
python3-prettytable python3-protobuf python3-pycurl python3-rados python3-rbd python3-requests python3-rgw
python3-talloc python3-yaml rpcbind rrdcached rsync rsyslog samba-common samba-libs sed smartmontools
smbclient socat sqlite3 ssh strace systemd sysvinit-utils tar tcpdump telnet thin-provisioning-tools time
traceroute udev uidmap util-linux vim-common vim-tiny wget whiptail xfsprogs xxd xz-utils zstd
364 upgraded, 81 newly installed, 24 to remove and 0 not upgraded.
Need to get 0 B/335 MB of archives.
After this operation, 703 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_GB.UTF-8",
LC_MONETARY = "en_GB.UTF-8",
LC_ADDRESS = "en_GB.UTF-8",
LC_TELEPHONE = "en_GB.UTF-8",
LC_NAME = "en_GB.UTF-8",
LC_MEASUREMENT = "en_GB.UTF-8",
LC_IDENTIFICATION = "en_GB.UTF-8",
LC_NUMERIC = "en_GB.UTF-8",
LC_PAPER = "en_GB.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
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
 
What exactly have you done so far? Did you use the instructions from the PVE Wiki? What do your apt source files look like?
 
What do your apt source files look like?
Output of grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/* please. Most likely mixed repos that don't match.
And DONT run that "touch '/please-remove-proxmox-ve'".
 
/etc/apt/sources.list:deb http://ftp.debian.org/debian bullseye main contrib
/etc/apt/sources.list:deb http://ftp.debian.org/debian bullseye-updates main contrib
/etc/apt/sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
/etc/apt/sources.list.d/pve-enterprise.list:deb http://deb.debian.org/debian bookworm main contrib
/etc/apt/sources.list.d/pve-enterprise.list:deb http://deb.debian.org/debian bookworm-updates main contrib
/etc/apt/sources.list.d/pve-enterprise.list:deb http://security.debian.org/debian-security bookworm-security main contrib

should i get rid of the bullseye one ?
 
You've completely messed up the source files.

If you are still on Bullseye, please throw away the "/etc/apt/sources.list.d/pve-enterprise.list" file.
Then create a new file with the following command:
echo "deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list

Then run apt clean && apt update && apt list --upgradable again. Please post the output here again.

In the meantime, take a look at this page and read this (don't do anything!): https://pve.proxmox.com/wiki/Upgrade_from_7_to_8
 

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!