question about upgrade Proxmox 5.4 to 6

fxqq

New Member
Aug 14, 2019
5
0
1
37
i want to update Proxmox to 6.0 version, i ran "apt update , apt dis-ugprade" , here is the result , what can i do?
[code] root@Ryan:~# apt update Hit:1 http://download.proxmox.com/debian/ceph-luminous stretch InRelease Ign:2 https://mirrors.ustc.edu.cn/debian stretch InRelease Hit:3 https://mirrors.ustc.edu.cn/debian stretch-updates InRelease Hit:4 https://mirrors.ustc.edu.cn/debian stretch-backports InRelease Hit:5 https://mirrors.ustc.edu.cn/debian-security stretch/updates InRelease Hit:6 https://mirrors.ustc.edu.cn/debian stretch Release Hit:8 http://mirrors.ustc.edu.cn/proxmox/debian/ceph-luminous stretch InRelease Hit:9 http://mirrors.ustc.edu.cn/proxmox/debian buster InRelease Hit:10 http://mirrors.ustc.edu.cn/proxmox/debian/pve stretch InRelease Reading package lists... Done Building dependency tree Reading state information... Done 129 packages can be upgraded. Run 'apt list --upgradable' to see them. W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/ceph.list:2 and /etc/apt/sources.list.d/ceph.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/ceph.list:2 and /etc/apt/sources.list.d/ceph.list:3 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/ceph.list:2 and /etc/apt/sources.list.d/ceph.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/ceph.list:2 and /etc/apt/sources.list.d/ceph.list:3 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/ceph.list:2 and /etc/apt/sources.list.d/ceph.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/ceph.list:2 and /etc/apt/sources.list.d/ceph.list:3 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/ceph.list:2 and /etc/apt/sources.list.d/ceph.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/ceph.list:2 and /etc/apt/sources.list.d/ceph.list:3 root@Ryan:~# apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Error! 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: libpve-common-perl : Breaks: pve-container (< 3.0-9) but 2.0-40 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. root@Ryan:~# [/code]
 
Last edited:
Please use [code]YOUR CODE[/code] to make your code snippets easier to read. I assume it is not possible for you to use official Proxmox VE repositories?

Did you see our upgrade guide? Could you post the output of the following commands?
Code:
pveversion -v
tail /etc/apt/sources.list.d/* -n +1
apt-mark showhold
pve5to6
 
  • Like
Reactions: richmash
Please use [code]YOUR CODE[/code] to make your code snippets easier to read. I assume it is not possible for you to use official Proxmox VE repositories?

Did you see our upgrade guide? Could you post the output of the following commands?
Code:
pveversion -v
tail /etc/apt/sources.list.d/* -n +1
apt-mark showhold
pve5to6

hi Dominic,thank you for your reply , i run your code, here is the result , could you help me?

[code] root@Ryan:~# pveversion -v proxmox-ve: 5.4-2 (running kernel: 4.15.18-20-pve) pve-manager: 5.4-13 (running version: 5.4-13/aee6f0ec) pve-kernel-4.15: 5.4-8 pve-kernel-4.15.18-20-pve: 4.15.18-46 pve-kernel-4.15.18-18-pve: 4.15.18-44 pve-kernel-4.15.18-17-pve: 4.15.18-43 pve-kernel-4.15.18-12-pve: 4.15.18-36 ceph: 12.2.12-pve1 corosync: 2.4.4-pve1 criu: 2.11.1-1~bpo90 glusterfs-client: 3.8.8-1 ksm-control-daemon: 1.2-2 libjs-extjs: 6.0.1-2 libpve-access-control: 5.1-12 libpve-apiclient-perl: 2.0-5 libpve-common-perl: 5.0-54 libpve-guest-common-perl: 2.0-20 libpve-http-server-perl: 2.0-14 libpve-storage-perl: 5.0-44 libqb0: 1.0.3-1~bpo9 lvm2: 2.02.168-pve6 lxc-pve: 3.1.0-6 lxcfs: 3.0.3-pve1 novnc-pve: 1.0.0-3 proxmox-widget-toolkit: 1.0-28 pve-cluster: 5.0-38 pve-container: 2.0-40 pve-docs: 5.4-2 pve-edk2-firmware: 1.20190312-1 pve-firewall: 3.0-22 pve-firmware: 2.0-7 pve-ha-manager: 2.0-9 pve-i18n: 1.1-4 pve-libspice-server1: 0.14.1-2 pve-qemu-kvm: 3.0.1-4 pve-xtermjs: 3.12.0-1 qemu-server: 5.0-54 smartmontools: 6.5+svn4324-1 spiceterm: 3.0-5 vncterm: 1.5-3 zfsutils-linux: 0.7.13-pve1~bpo2 root@Ryan:~# tail /etc/apt/sources.list.d/* -n +1 ==> /etc/apt/sources.list.d/ceph.list <== deb http://download.proxmox.com/debian/ceph-luminous stretch main deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-luminous stretch main deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-luminous stretch main ==> /etc/apt/sources.list.d/pve-install-repo.list <== deb http://mirrors.ustc.edu.cn/proxmox/debian buster pve-no-subscription ==> /etc/apt/sources.list.d/pve-no-sub.list <== deb http://mirrors.ustc.edu.cn/proxmox/debian/pve/ stretch pve-no-subscription root@Ryan:~# apt-mark showhold root@Ryan:~# pve5to6 = CHECKING VERSION INFORMATION FOR PVE PACKAGES = Checking for package updates.. WARN: updates for the following packages are available: proxmox-widget-toolkit, corosync, libcfg7, libknet1, perl-base, libdevmapper1.02.1, dmsetup, libradosstriper1, libcomerr2, ceph-common, libcmap4, postfix, libpve-access-control, libpve-cluster-perl, proxmox-mini-journalreader, libcups2, libsasl2-modules-db, linux-libc-dev, ifupdown, ceph-mds, ceph-mgr, ceph-mon, libldap-2.4-2, libpve-storage-perl, libpve-cluster-perl, openssl, ceph-osd, libsystemd0, grub-common, pve-firmware, tcpdump, libquorum5, postfix-sqlite, ksm-control-daemon, libicu57, pve-qemu-kvm, libspice-server1, libasprintf0v5, libcephfs2, libdevmapper-event1.02.1, libarchive13, e2fsprogs, librbd1, perl-modules-5.24, pve-docs, pve-ha-manager, libpve-cluster-perl, python-apt-common, dmeventd, liblvm2cmd2.03, zfs-initramfs, openssh-sftp-server, lvm2, grub2-common, pve-firewall, libpve-cluster-perl, libjs-extjs, udev, ceph-base, pve-container, libpve-cluster-perl, libsasl2-2, e2fslibs, librgw2, libmagic1, grub-pc, pve-cluster, libexpat1, libudev1, librados2-perl, vncterm, spiceterm, libspice-server1, python-rados, libss2, zfsutils-linux, libperl5.24, python-cryptography, grub-pc-bin, pve-i18n, pve-xtermjs, libpve-u2f-server-perl, grub-efi-amd64-bin, libmagic-mgc, pve-manager, libpve-cluster-perl, libpve-cluster-api-perl, libcaca0, ceph, reportbug, libvotequorum8, spl, ssh, libzfs2linux, libpve-guest-common-perl, libpve-cluster-perl, systemd-sysv, libldap-common, novnc-pve, libpve-common-perl, python-cephfs, ceph-fuse, lxc-pve, systemd, qemu-server, libpve-cluster-perl, python3-reportbug, openssh-server, smartmontools, openssh-client, usbutils, libzpool2linux, libtimedate-perl, file, libidn11, grub-efi-ia32-bin, libfreetype6, pve-edk2-firmware, perl, libpve-http-server-perl, libjs-bootstrap, python-werkzeug, pve-kernel-4.15, pve-kernel-4.15.18-25-pve, criu, python-future, libssl1.1, libnvpair1linux, xsltproc, omping, libuutil1linux, gettext-base, libcpg4, libpve-apiclient-perl, libglib2.0-0, librados2, python3-apt, libcorosync-common4, libxslt1.1, libssl1.0.2, base-files, python-rbd, tzdata, proxmox-ve, pve-kernel-5.3, pve-kernel-helper, lxcfs, python-rgw Checking proxmox-ve package version.. PASS: proxmox-ve package has version >= 5.4-2 Checking running kernel version.. PASS: expected running kernel '4.15.18-20-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 'local-lvm' 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: 2 running guest(s) detected - consider migrating or stopping them. INFO: Checking if the local node's hostname 'Ryan' is resolvable.. INFO: Checking if resolved IP is configured on local node.. PASS: Resolved node IP '192.168.1.3' configured and active on single interface. INFO: Check node certificate's RSA key size PASS: Certificate 'pve-root-ca.pem' passed Debian Busters security level for TLS connections (4096 >= 2048) PASS: Certificate 'pve-ssl.pem' passed Debian Busters security level for TLS connections (2048 >= 2048) INFO: Checking KVM nesting support, which breaks live migration for VMs using it.. PASS: KVM nested parameter not set. = SUMMARY = TOTAL: 15 PASSED: 11 SKIPPED: 2 WARNINGS: 2 FAILURES: 0 ATTENTION: Please check the output for detailed information! [/code]