update from 5 to 7 problems

zika

New Member
Apr 28, 2023
3
0
1
Hello
I want to upgrade proxmox 5.1 to 7 versions.
I am editing the repositories, taking into account that debian stretch has been moved to the archive, it is updated to 5.4 correctly. I'm rebooting.

next, I run the script pve5to6 - everything is ok.
next, I change the repositories to a buster, make "apt update", "apt dist-upgrade" and see
Code:
The following packages have unmet dependencies:
 pve-cluster : Breaks: pve-ha-manager (<= 3.0-3) but 2.0-9 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


update it to version 3.0-3 (apt install pve-ha-manager=3.0-3) and see
Code:
The following packages have unmet dependencies:
 pve-cluster : Breaks: pve-ha-manager (<= 3.0-3) but 3.0-3 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

/etc/apt/sources.list.d/pve-enterprise.list
Code:
#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
#deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
#deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

/etc/apt/sources.list
Code:
#deb http://ftp.ru.debian.org/debian-archive/debian stretch main contrib
#deb http://ftp.ru.debian.org/debian-archive/debian stretch-proposed-updates  main contrib
deb http://ftp.ru.debian.org/debian buster main contrib
deb http://ftp.ru.debian.org/debian buster-updates main contrib
#deb http://ftp.ru.debian.org/debian bullseye main contrib

#deb http://download.proxmox.com/debian/corosync-3/ stretch main

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

#deb http://download.proxmox.com/debian/pve buster pve-no-subscription
#deb http://download.proxmox.com/debian bullseye pve-no-subscription

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


#hp
#deb http://downloads.linux.hpe.com/SDR/repo/mcp stretch/current non-free
#deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/9.50 non-free


#deb http://ftp.ru.debian.org/debian bullseye main contrib

#deb http://ftp.ru.debian.org/debian bullseye-updates main contrib

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


Please help.
 
i check and may be found a problem
Code:
root@pve:~# apt policy pve-libspice-server1
pve-libspice-server1:
  Installed: 0.14.1-2
  Candidate: 0.14.1-2
  Version table:
 *** 0.14.1-2 100
        100 /var/lib/dpkg/status
root@pve:~# apt policy libspice-server1
libspice-server1:
  Installed: (none)
  Candidate: 0.14.2-4~pve6+1
  Version table:
     0.14.2-4~pve6+1 500
        500 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 Packages
     0.14.2-4~pve6 500
        500 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 Packages
     0.14.0-1.3+deb10u1 500
        500 http://ftp.ru.debian.org/debian buster/main amd64 Packages
        500 http://security.debian.org buster/updates/main amd64 Packages
apt see a conflict (becouse of different names) not an update. how i can fix it?