[SOLVED] Upgrade from debian 10 pve 6-4-1 to debian 11 pve 7 failed

sg29

New Member
Jun 18, 2020
7
1
3
39
Hello,

I have two node to upgrade from debian 10 with pve 6 4 1 to debian 11 pve 7, my first node upgrade with no error, but the second one does not, they have the same hardware (just a second network card with bond on the failing one and lot more ram), i do the same process, pve6to7 is fine, no error.

i changed source liste as discribed in the faq :

Code:
deb http://deb.debian.org/debian/ bullseye main contrib
deb-src http://deb.debian.org/debian/ bullseye main contrib

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

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

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

I removed the conflict package :

Code:
apt remove linux-image-amd64

But the dist-upgrade want to remove promox-ve package and so fail.

Code:
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt full-upgrade' to upgrade your system
E: Le sous-processus /usr/share/proxmox-ve/pve-apt-hook a renvoyé un code d'erreur (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

What do i do wrong ?
 
Hello,

Please provide us with the full output of:
Code:
~ pve6to7 --full
~ pveversion -v
~ apt update && apt dist-upgrade
 
Hello,

my message is too long, see attached file please.

i know there is 3 running guest, they will be stoped for upgrade.
 

Attachments

  • proxmox.txt
    34.2 KB · Views: 15
Last edited:
Hello,

i finally manage to solve it by adding :
Code:
echo "deb http://download.proxmox.com/debian/ceph-octopus bullseye main" > /etc/apt/sources.list.d/ceph.list

That's weird , i have no ceph installed.
 

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!