upgrading 6.x to 7.x problem

sushant

New Member
Mar 28, 2023
1
0
1
apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://ftp.debian.org/debian bookworm InRelease
Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease
Get:4 http://download.proxmox.com/debian/pve bookworm InRelease [2,768 B]
Get:5 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease [2,651 B]
Get:6 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 Packages [78.6 kB]
Get:7 http://download.proxmox.com/debian/ceph-octopus bullseye/main amd64 Packages [51.1 kB]
Fetched 135 kB in 3s (39.8 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
719 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@server4:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
ceph-common : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
Depends: python3-ceph-common (= 17.2.5-pve1) but it is not installed
Depends: python3-rbd (= 17.2.5-pve1) but it is not installed
Depends: python3-rgw (= 17.2.5-pve1) but it is not installed
Depends: liboath0 (>= 1.10.0) but it is not installed
python3-cephfs : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 
Proxmox VE 7.4 is based on Debian bullseye, please make sure your
/etc/apt/sources.list and further files in the /etc/apt/sources.list.d directory point to bullseye rather than bookworm. If you still have questions, please share the contents of said files.

For more information, please check the migration guide [1].

[1] https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
 
same error

my /etc/apt/sources.list

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

# Proxmox VE 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
#deb http://security.debian.org/debian-security bullseye-security main

deb http://security.debian.org/debian-security bullseye-security main contrib non-free non-free-firmware
 
Last edited:
root@server4:~# apt-get update && apt-get upgrade
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://ftp.debian.org/debian bullseye InRelease
Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:5 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease
Reading package lists... Done
W: Skipping acquire of configured file 'non-free-firmware/binary-amd64/Packages' as repository 'http://security.debian.org/debian-security bullseye-security InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en' as repository 'http://security.debian.org/debian-security bullseye-security InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en_US' as repository 'http://security.debian.org/debian-security bullseye-security InRelease' doesn't have the component 'non-free-firmware' (component misspelt in sources.list?)
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
ceph-common : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
Depends: python3-ceph-common (= 17.2.5-pve1) but it is not installed
Depends: python3-rbd (= 17.2.5-pve1) but it is not installed
Depends: python3-rgw (= 17.2.5-pve1) but it is not installed
Depends: liboath0 (>= 1.10.0) but it is not installed
python3-cephfs : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@server4:~#
 
Did you follow the ceph migration guide [1]? Thats a prerequisite to upgrade to pve 7.x.

Note that apt-get upgrade won't work when updating between mayor versions, please use apt dist-upgrade as stated in the migration guide.

Note also that http://security.debian.org/debian-security does not provide non-free-firmware updates, you should remove this.

[1] https://pve.proxmox.com/wiki/Ceph_Nautilus_to_Octopus
root@server4:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
ceph-common : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
Depends: python3-ceph-common (= 17.2.5-pve1) but it is not installed
Depends: python3-rbd (= 17.2.5-pve1) but it is not installed
Depends: python3-rgw (= 17.2.5-pve1) but it is not installed
Depends: liboath0 (>= 1.10.0) but it is not installed
python3-cephfs : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 

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!