(SOLVED) Cant Upgrade from 4.x to 5.0

Alfio

Renowned Member
Jul 29, 2013
21
2
68
Hi, I have my server with version Virtual Environment 4.4-15/7599e35a, and we bought a subscription key, but when i try to run apt-get update i got this error:

root@Orion:/etc/apt# apt-get update
Hit http://download.proxmox.com jessie InRelease
Get:1 http://download.proxmox.com jessie/pve-no-subscription amd64 Packages [279 kB]
Get:2 https://enterprise.proxmox.com jeezy InRelease [162 B]
Ign https://enterprise.proxmox.com jeezy InRelease
Get:3 https://enterprise.proxmox.com jeezy Release.gpg [162 B]
Ign https://enterprise.proxmox.com jeezy Release.gpg
Get:4 https://enterprise.proxmox.com jeezy Release [162 B]
Ign https://enterprise.proxmox.com jeezy Release
Get:5 https://enterprise.proxmox.com jeezy/pve-enterprise amd64 Packages [162 B]
Get:6 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en_GB [162 B]
Get:7 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en [162 B]
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en_GB
Hit http://security.debian.org jessie/updates InRelease
Get:8 https://enterprise.proxmox.com jeezy/pve-enterprise amd64 Packages [162 B]
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en
Get:9 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en_GB [162 B]
Get:10 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en [162 B]
Get:11 https://enterprise.proxmox.com jeezy/pve-enterprise amd64 Packages [162 B]
Get:12 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en_GB [162 B]
Get:13 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en [162 B]
Get:14 https://enterprise.proxmox.com jeezy/pve-enterprise amd64 Packages [162 B]
Get:15 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en_GB [162 B]
Get:16 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en [162 B]
Get:17 https://enterprise.proxmox.com jeezy/pve-enterprise amd64 Packages [162 B]
Err https://enterprise.proxmox.com jeezy/pve-enterprise amd64 Packages
HttpError404
Get:18 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en_GB [162 B]
Ign https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en_GB
Get:19 https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en [162 B]
Ign https://enterprise.proxmox.com jeezy/pve-enterprise Translation-en
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Fetched 279 kB in 0s (605 kB/s)
W: Failed to fetch https://enterprise.proxmox.com/debian/dists/jeezy/pve-enterprise/binary-amd64/Packages HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.

I loaded the subscription key Do i have to enable something else?

Thanks in advanced.
 
Hi I did the modifications, when i run apt-get update

root@Orion:/etc/apt/sources.list.d# apt-get update
Get:1 http://download.proxmox.com jessie InRelease [2,413 B]
Ign http://download.proxmox.com jessie InRelease
Ign http://download.proxmox.com jessie/pve-no-subscription amd64 Packages/DiffIndex
Hit http://download.proxmox.com jessie/pve-no-subscription amd64 Packages
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en_GB
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en
Hit https://enterprise.proxmox.com stretch InRelease
Hit https://enterprise.proxmox.com stretch/pve-enterprise amd64 Packages
Get:2 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en_GB [162 B]
Get:3 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en [162 B]
Get:4 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en_GB [162 B]
Get:5 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en [162 B]
Get:6 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en_GB [162 B]
Get:7 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en [162 B]
Get:8 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en_GB [162 B]
Get:9 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en [162 B]
Get:10 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en_GB [162 B]
Ign https://enterprise.proxmox.com stretch/pve-enterprise Translation-en_GB
Get:11 https://enterprise.proxmox.com stretch/pve-enterprise Translation-en [162 B]
Ign https://enterprise.proxmox.com stretch/pve-enterprise Translation-en
Fetched 2,413 B in 0s (3,733 B/s)
Reading package lists... Done
W: GPG error: http://download.proxmox.com jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C23AC7F49887F95A
root@Orion:/etc/apt/sources.list.d#
**************************************************************************************************************

After that i run apt-get dist-upgrade

root@Orion:/etc/apt/sources.list.d# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
corosync-pve dmeventd dmsetup libcorosync4-pve libdevmapper-event1.02.1 liblvm2cmd2.02 lvm2
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
2 not fully installed or removed.
2427144,0
How odd... The sizes didn't match, email apt@packages.debian.org
Need to get 0 B/2,427 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
pve-manager
Install these packages without verification? [y/N] y
Setting up pve-manager (4.4-15) ...
Job for pvedaemon.service failed. See 'systemctl status pvedaemon.service' and 'journalctl -xn' for details.
dpkg: error processing package pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-manager; however:
Package pve-manager is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-manager
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Orion:/etc/apt/sources.list.d#



I cant update my server.
 
  • Like
Reactions: Juan Torres
Hi, thanks for your help, I was checking the repos files and the some repos were disable, I enable it again and everything worked fine, thanks again.
 
  • Like
Reactions: Juan Torres