upgrade proxmox 6 to 7 impossible

gawin

New Member
Aug 13, 2022
2
0
1
Hi,

I want upgrade my proxmox server in version 7 but i have an error

Code:
pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.4.195-1-pve)
pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)
pve-kernel-5.4: 6.4-19
pve-kernel-helper: 6.4-19
pve-kernel-5.4.195-1-pve: 5.4.195-1
pve-kernel-5.4.65-1-pve: 5.4.65-1
pve-kernel-5.4.34-1-pve: 5.4.34-2
ceph-fuse: 15.2.16-pve1~bpo10
corosync: 3.1.5-pve2~bpo10+1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve4~bpo10
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.22-pve2~bpo10+1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.1.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-5
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.14-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-2
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.3-2
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-8
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.7-pve1

Code:
pve6to7 --full
= CHECKING VERSION INFORMATION FOR PVE PACKAGES =

Checking for package updates..
PASS: all packages uptodate

Checking proxmox-ve package version..
PASS: proxmox-ve package has version >= 6.4-1

Checking running kernel version..
PASS: expected running kernel '5.4.195-1-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..
PASS: no running guest detected.
INFO: Checking if the local node's hostname 'kelyanais' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '192.168.1.150' configured and active on single interface.
INFO: Checking backup retention settings..
INFO: storage 'local' - no backup retention settings defined - by default, PVE 7.x will no longer keep only the last backup, but all backups
PASS: no problems found.
INFO: checking CIFS credential location..
PASS: no CIFS credentials at outdated location found.
INFO: Checking custom roles for pool permissions..
INFO: Checking node and guest description/note legnth..
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 storage content type configuration..
PASS: no problems found
INFO: Checking if the suite for the Debian security repository is correct..
INFO: Make sure to change the suite of the Debian security repository from 'buster/updates' to 'bullseye-security' - in /etc/apt/sources.list:9
SKIP: No containers on node detected.

= SUMMARY =

TOTAL:    19
PASSED:   16
SKIPPED:  3
WARNINGS: 0
FAILURES: 0

My sources.list buster (sources.list.d is empty):

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

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

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

The result is:
Code:
apt full-upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Then, i upgrade my sources.list:

Code:
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
[/ICODE]

And after an apt-get update my proxmox keep in 6.4:

[CODE]apt dist-upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  bind9-host cryptsetup-bin dnsutils gnupg-l10n gnupg2 gpg-wks-client
  gpg-wks-server libcups2 libgnutls-openssl27 libldap-2.4-2 lynx samba-common
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.

If i try to install one package i have a dependancy problem.

for example:
Code:
apt install libcups2
Reading package lists... Done
Building dependency tree      
Reading state information... Done
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:
 libcups2 : Depends: libgnutls30 (>= 3.7.0) but 3.6.7-4+deb10u9 is to be installed
E: Unable to correct problems, you have held broken packages.

Thanks for your help
 
Last edited:
Try:
Code:
# security updates
deb http://security.debian.org bullseye-security main contrib non-free

Then you'll get
Code:
root@pved:~# apt policy libgnutls30
libgnutls30:
  Installed: 3.7.1-5+deb11u2
  Candidate: 3.7.1-5+deb11u2
  Version table:
 *** 3.7.1-5+deb11u2 500
        500 http://security.debian.org bullseye-security/main amd64 Packages

Best regards
 
Try:
Code:
# security updates
deb http://security.debian.org bullseye-security main contrib non-free

Then you'll get
Code:
root@pved:~# apt policy libgnutls30
libgnutls30:
  Installed: 3.7.1-5+deb11u2
  Candidate: 3.7.1-5+deb11u2
  Version table:
 *** 3.7.1-5+deb11u2 500
        500 http://security.debian.org bullseye-security/main amd64 Packages

Best regards
Hello UdoB,

Thanks for your help.

Same effect.

My new sources.list

Code:
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 bullseye-security main contrib non-free

The upgrade
Code:
apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  bind9-host cryptsetup-bin dnsutils gnupg-l10n gnupg2 gpg-wks-client
  gpg-wks-server libcups2 libgnutls-openssl27 libldap-2.4-2 lynx samba-common
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.

Code:
apt policy libgnutls30

libgnutls30:

  Installed: 3.7.1-5+deb11u2

  Candidate: 3.7.1-5+deb11u2

  Version table:

 *** 3.7.1-5+deb11u2 500

        500 http://security.debian.org bullseye-security/main amd64 Packages
 

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!