Probable partial update from 5.3-5 5.4

ciro

Member
Oct 29, 2019
11
1
23
60
good morning
It seems that my transition from version 5.3-5 to 5.4 was not completely successful, it did not install the pve5to6 tool and therefore I cannot even install corosymc v3 I am waiting for "The following packages have been kept back: corosync libpve-access-control pve-manager; I am using a version without subscription
"pveversion
Proxmox-ve: 5.4-2 (running kernel: 4.15.18-30-pve)
pve-manager: 5.3-5 (running version: 5.3-5/97ae681d)
pve-kernel-4.15: 5.4-19
pve-kernel-4.15.18-30-pve: 4.15.18-58
pve-kernel-4.15.18-9-pve: 4.15.18-30
corosync: 2.4.4-pve1
anyone have any suggestions
my intention is to upgrade to 6.x
as per the guide https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0

source.list
#deb http://ftp.it.debian.org/debian stretch main contrib
#deb http://ftp.it.debian.org/debian stretch-updates main contrib
# security updates
#deb http://security.debian.org stretch/updates main contrib
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

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

thanks
 
Last edited:
Do you have other repositories configured? ls -l /etc/apt/sources.list.d
Do you have the `linux-image` package installed? dpkg -l | grep 'linux-image'
What does it show in the upgraded/new/removed package lists when you try to manually install corosync before confirming it? (Don't confirm it!)
 
Do you have other repositories configured? ls -l /etc/apt/sources.list.d
Do you have the `linux-image` package installed? dpkg -l | grep 'linux-image'
What does it show in the upgraded/new/removed package lists when you try to manually install corosync before confirming it? (Don't confirm it!)
ls -l /etc/apt/sources.list.d
total 8
-rw-r--r-- 1 root root 64 Aug 8 11:32 corosync3.list
-rw-r--r-- 1 root root 137 Aug 8 11:20 pve-enterprise.list

dpkg -l | grep 'linux-image'
I don't get results

if I try to install corosync manually it is missing Depends: libknet1 (>= 1.10) if I try to install libknet1 it is missing libzstd1 up to Package 'libzstd1' has no installation candidate
more or less the same thing if I want to install the other missing packages

apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
corosync libpve-access-control pve-manager
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

apt update
Hit:1 http://download.proxmox.com/debian/pve stretch InRelease
Hit:2 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done

apt list --upgradable
Listing... Done
corosync/stable 3.0.4-pve1~bpo9 amd64 [upgradable from: 2.4.4-pve1]
libpve-access-control/stable 5.1-12 amd64 [upgradable from: 5.1-3]
pve-manager/stable 5.4-15 amd64 [upgradable from: 5.3-5]

3 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
Last edited:
Mi è sfuggito nei commenti, ma non hai configurato un repository Debian:

Sono tutti stati commentati e libzstd1 è disponibile in essi.
Assicuratevi sempre di avere abilitati i repository Debian standard insieme a quelli PVE.
thanks Mira, so I uncomment everything and try to manually redo the installation of the missing dependencies?
 
Last edited:
No, simply run apt update and then apt full-upgrade and see if there are still packages held back rather than manually installing those dependencies.
 
nothing to do Mira, look

more sources.list
deb http://ftp.it.debian.org/debian stretch main contrib

deb http://ftp.it.debian.org/debian stretch-updates main contrib

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

deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

apt update
Ign:1 http://ftp.it.debian.org/debian stretch InRelease
Ign:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://download.proxmox.com/debian/pve stretch InRelease
Ign:4 http://ftp.it.debian.org/debian stretch-updates InRelease
Err:5 http://security.debian.org stretch/updates Release
404 Not Found [IP: 151.101.242.132 80]
Err:6 http://ftp.it.debian.org/debian stretch Release
404 Not Found [IP: 85.94.199.210 80]
Hit:7 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Err:8 http://ftp.it.debian.org/debian stretch-updates Release
404 Not Found [IP: 85.94.199.210 80]
Hit:9 http://download.proxmox.com/debian stretch InRelease
Reading package lists... Done
E: The repository 'http://security.debian.org stretch/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ftp.it.debian.org/debian stretch Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ftp.it.debian.org/debian stretch-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
corosync libpve-access-control pve-manager
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
 
Right, since Debian Stretch is no longer supported, the repositories can be found on archive.debian.org instead.
Comment out those 3 Debian repositories again and the following:
Code:
deb http://archive.debian.org/debian stretch main contrib
deb http://archive.debian.org/debian-security stretch/updates main contrib
Now try those commands again.
 
Mira sorry for the delay, I just tried the new repositories and it worked, now I have version 5.4-15, now I will try to upgrade to 6.x as per the guide Thanks a lot for the support
Right, since Debian Stretch is no longer supported, the repositories can be found on archive.debian.org instead.
Comment out those 3 Debian repositories again and the following:
Code:
deb http://archive.debian.org/debian stretch main contrib
deb http://archive.debian.org/debian-security stretch/updates main contrib
Now try those commands again.
Mira sorry for the delay, I just tried the new repositories and it worked, now I have version 5.4-15, now I will try to upgrade to 6.x as per the guide Thanks a lot for the support
 
  • Like
Reactions: mira

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!