6.4 to 7.0 didn't work

cdsJerry

Renowned Member
Sep 12, 2011
204
8
83
I'm taking my backup machine from 6.4-13 to 7 using the steps in the wiki. I didn't get any errors, but it doesn't seem to have updated to version 7 either. The update only took about 20 seconds so I'm not sure it actually worked. Below are some outputs in case they are helpful.
root@pve:~# pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.4.157-1-pve)
pve-manager: 6.4-13 (running version: 6.4-13/9f411e79)
pve-kernel-5.4: 6.4-11
pve-kernel-helper: 6.4-11
pve-kernel-5.3: 6.1-6
pve-kernel-5.4.157-1-pve: 5.4.157-1
pve-kernel-5.4.114-1-pve: 5.4.114-1
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-5.3.13-2-pve: 5.3.13-2
pve-kernel-5.3.10-1-pve: 5.3.10-1
ceph-fuse: 15.2.15-pve1~bpo10
corosync: 3.1.5-pve2~bpo10+1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
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-4
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-3
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.13-2
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-1
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-6
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.6-pve1~bpo10+1

root@pve:~# grep '' /etc/apt/sources.list
# deb http://ftp.us.debian.org/debian bullseye main contrib

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

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

# Updated repository
deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise

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

# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main

# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main

# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main
# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main

# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main

root@pve:~# grep '' /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/ceph.list:# Added for upgrade to 7
/etc/apt/sources.list.d/ceph.list:deb http://download.proxmox.com/debian/ceph-octopus buster main
/etc/apt/sources.list.d/pve-enterprise.list:deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
/etc/apt/sources.list.d/pve-no-subscription.list:
 
I thought that had worked as it appeared to be doing the update. I rebooted when it finished but I appear to still be on version 6.4-13.

I re-ran the apt update command but get an unauthorized error saying I need to run a touch command to remove the file. That may or may not make sense since it doesn't appear to have updated.

I then re-ran the apt dist-upgrade and it started doing what appeared to be an update. It took several min while a progress bar slowly counted to 100% complete on the bottom of the screen. I then rebooted. After the boot however it comes to a log-in prompt and doesn't appear to be running proxmox. There is no GUI. If I try to connect with SSH now I get an error saying it couldn't agree with a key exchange algorithm.
If I run a pveversion -v command it says command not found.

root@pve:~# apt update
Hit:1 http://ftp.us.debian.org/debian bullseye InRelease
Hit:2 http://ftp.us.debian.org/debian bullseye-updates InRelease
Hit:3 http://download.proxmox.com/debian/ceph-octopus buster InRelease
Ign:4 http://hwraid.le-vert.net/debian stretch InRelease
Hit:5 http://security.debian.org bullseye-security InRelease
Get:6 http://hwraid.le-vert.net/debian stretch Release [3,211 B]
Get:7 http://hwraid.le-vert.net/debian stretch Release.gpg [520 B]
Err:8 https://enterprise.proxmox.com/debian/pve bullseye InRelease
401 Unauthorized [IP: 144.217.225.162 443]
Ign:7 http://hwraid.le-vert.net/debian stretch Release.gpg
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease 401 Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bullseye InRelease' is not signed.
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.
W: GPG error: http://hwraid.le-vert.net/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6005210E23B3D3B4
E: The repository 'http://hwraid.le-vert.net/debian stretch Release' is not signed.
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.
W: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/pve-enterprise.list:1
W: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/pve-enterprise.list:1
W: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/pve-enterprise.list:1
W: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/pve-enterprise.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:17
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:17
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:17
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:20
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:20
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:22
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:22
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:25
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:25
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:25
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list:25
 

Attachments

  • proxmox screen_sm.jpg
    proxmox screen_sm.jpg
    533.6 KB · Views: 11
Last edited:
The message with the touch command was something like "do this only IF you REALLY REALLY want to remove Proxmox VE" so that people don't remove the proxmox-ve package by accident. If you touched that file and did it again you indeed removed your complete PVE from the host so that you now got something like a normal debian.

You can try to fix your repositories and do a apt update && apt install proxmox-ve and try to install it again.

And you should either use the PVE enterprise OR the PVE no-subscription repo. If you somewhere got a enterprise repo without actually haveing a valid subscription the apt update will complain about "unauthorized IPs".
Code:
Err:8 https://enterprise.proxmox.com/debian/pve bullseye InRelease
401 Unauthorized [IP: 144.217.225.162 443]
So that means you got no subscription and need to remove or comment out the enterprise repos everywhere or buy a subscription.
 
Last edited:
I forget the exact language but it wasn't as clear as your example. I was under the impression that it had to be removed for the update to take place based on it's language.

I have updated the repositories as suggested already but when I run
apt install proxmox-ve
I get an error saying 'proxmox-ve' has no installation candidate

You are right, I did get the error about an unauthorized IP. I'll go # that line back out again. Do I take out both lines or just the top one?
deb http://ftp.us.debian.org/debian bullseye main contrib
deb http://ftp.us.debian.org/debian bullseye-updates main contrib
 
Last edited:
The most worrisome thing is that this is my backup system. I wanted to do it first to make sure it went well before doing the live machine. The problem is that following the instructions is how I got here (except for that touch command) and I don't know how to avoid ending up at this same place with the live machine when I attempt that update. The process had failed before I got to where I am now, and I don't know how to avoid that failure with the other machine.
 
You are right, I did get the error about an unauthorized IP. I'll go # that line back out again. Do I take out both lines or just the top one?
deb http://ftp.us.debian.org/debian bullseye main contrib
deb http://ftp.us.debian.org/debian bullseye-updates main contrib
You need both. What you need to comment out are the proxmox enterprise repos:
# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise in your "/etc/apt/sources.list" and the line in your "/etc/apt/sources.list.d/pve-enterprise.list" file.

And then you got the "/etc/apt/sources.list.d/ceph.list:deb http://download.proxmox.com/debian/ceph-octopus buster main" which is for Buster (Debian 10) and not Bullseye (Debian 11). And your 3ware repos are for Stretch (Debian 9). You should only use repos that are made for Bullseye.
The most worrisome thing is that this is my backup system. I wanted to do it first to make sure it went well before doing the live machine. The problem is that following the instructions is how I got here (except for that touch command) and I don't know how to avoid ending up at this same place with the live machine when I attempt that update. The process had failed before I got to where I am now, and I don't know how to avoid that failure with the other machine.
To me it looks like you are using the wrong repositories. If they don't perfectly fit you run in such errors where you got mixed up packages that don't fit each other and then stuff can't be installed because of missing dependencies or you try to install a wrong package that is in conflict with the proxmox-ve package so apt will ask you if you want to remove proxmox-ve so that this package can be installed.
 
Last edited:
I don't have a "/etc/apt/sources.list.d/pve-enterprise.list" file. That directory only holds a file named "pve-no-subscription.list" and a second one named "ceph.list". The "pve-no-subscription.list" file is empty.

The only changes I've made to this system since installing from the ISO were changed I was instructed to do in the forums over time. There haven't been many, but I don't recall what they were. I do seem to recall that being told to change repositories was one of them but it's presented no issue until now. Updates were working.

Currently if I attempt to run the apt install proxmox-ve command I get an error "Package 'proxmox-ve' has no installation candidate. Is that because the pve-no-subscription.list file is empty? I had run the "sed -i -e 's/buster/bullseye/g' /etc/apt/sources.list.d/pve-install-repo.list" command as instructed in the update.
 
Last edited:
I don't have a "/etc/apt/sources.list.d/pve-enterprise.list" file. That directory only holds a file named "pve-no-subscription.list" and a second one named "ceph.list". The "pve-no-subscription.list" file is empty.
But line was from your grep '' /etc/apt/sources.list.d/* output you wrote in your first post.
The only changes I've made to this system since installing from the ISO were changed I was instructed to do in the forums over time. There haven't been many, but I don't recall what they were. I do seem to recall that being told to change repositories was one of them but it's presented no issue until now. Updates were working.

Currently if I attempt to run the apt install proxmox-ve command I get an error "Package 'proxmox-ve' has no installation candidate. Is that because the pve-no-subscription.list file is empty? I had run the "sed -i -e 's/buster/bullseye/g' /etc/apt/sources.list.d/pve-install-repo.list" command as instructed in the update.
Best would be if you can post again what your repos now look like. So the content of your "/etc/apt/sources.list" and the content of all files in your "/etc/apt/sources.list.d/" folder.
 
But line was from your grep '' /etc/apt/sources.list.d/* output you wrote in your first post.

Best would be if you can post again what your repos now look like. So the content of your "/etc/apt/sources.list" and the content of all files in your "/etc/apt/sources.list.d/" folder.
The file exists, but it's empty. There are no lines of text inside of it.

root@pve:~# grep '' /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/ceph.list:# Added for upgrade to 7
/etc/apt/sources.list.d/ceph.list:deb http://download.proxmox.com/debian/ceph-oc topus buster main
/etc/apt/sources.list.d/pve-enterprise.list:deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
/etc/apt/sources.list.d/pve-no-subscription.list:
root@pve:~#

Here are the contents of my etc/apt/sources.list file:
deb http://ftp.us.debian.org/debian bullseye main contrib

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

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

# Updated repository
#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise

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

# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main

# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main

# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main
# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main

# 3ware raid adapter
deb http://hwraid.le-vert.net/debian stretch main

Here's the etc/apt/sources.list.d/ceph.list
# Added for upgrade to 7
deb http://download.proxmox.com/debian/ceph-octopus buster main

Here's etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise

Here's etc/apt/sources.list.d/pve-no-subscription.list (it's empty... no lines of text of any kind inside)
 
Last edited:
Here's the etc/apt/sources.list.d/ceph.list
# Added for upgrade to 7
deb http://download.proxmox.com/debian/ceph-octopus buster main
That is used to upgrade CEPH from Nautilus to Octopus and has to be done BEFORE upgrading to PVE7.X while still being on PVE6.4 and Debian Buster like described here: https://pve.proxmox.com/wiki/Ceph_Nautilus_to_Octopus
After that upgrade to Octopus you need to remove that line and change it to "deb [URL]http://download.proxmox.com/debian/ceph-octopus[/URL] bullseye main" so it fits to bullseye.
Here's etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
That should be commented out too.
 
In a different thread I addressed the CEPH issue. I don't have CEPH installed at all as this isn't in a cluster. Since CEPH isn't installed I was told to skip the entire Nautilus to Octopus part of the upgrade... there's nothing to upgrade. It doesn't say anything about removing the line afterward. Since I don't have CEPH installed at all, should I add the new line listed above or just leave the CEPH.LIST file empty?
 
Not sure, but atleast you shouldn't use the CEPH repo for Debian Buster if you are running Bullseye. I would use the bullseye one instead of removing it. If PVE doesn't need it, it won't hurt if its there.
 
If your system is just a basic install (Debian + PVE) with no extra software (CEPH,etc.) then the only thing you need is a /etc/apt/sources.list that looks like this (No Subscription):

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

All the other files under /etc/apt/sources.list.d you don´t need.
 
  • Like
Reactions: cdsJerry
If I delete the files under etc/apt/sources.list.d and leave only the files you listed above in the etc/apt/sources.list then try to do the update/install I get this
root@pve:~# apt update
Hit:1 http://ftp.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
41 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@pve:~# apt install proxmox-ve
Reading package lists... Done
Building dependency tree... Done
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:
ceph-common : Depends: librbd1 (= 14.2.21-1) but 15.2.15-pve1~bpo10 is to be installed
Depends: python3-cephfs (= 14.2.21-1) but it is not going to be installed
Depends: python3-rados (= 14.2.21-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@pve:~#
 
root@pve:~# apt update Hit:1 http://ftp.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org/debian-security bullseye-security InRelease Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 41 packages can be upgraded. Run 'apt list --upgradable' to see them.

That looks ok.

But why this command?

root@pve:~# apt install proxmox-ve


What is the output if this:

apt full-upgrade
 
But why this command?

In the comments above it appear that Proxmox got removed from this machine while attempting the update so we need to try to re-install it somehow. Now knowing this, should I still run apt full-upgrade?
 

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!