PVE upgrade from Buster to Bookworm

MrPegMan

New Member
Feb 2, 2025
2
0
1
Hi,
Seems like I have made a mess somewhere and now unsure how to resolve. Hope someone can help.

I have a mini PC that was running Buster. I decided to upgrade the Debian version.
I might have upgraded direct and not via Bullseye... cat /etc/debian_version is 12.9

Trying to upgrade in the webUI and getting
"unable to parse existing file /etc/apt/sources.list - check for repository 3 - missing component(s) (500)"

nano /etc/apt/sources.list ...
deb https://deb.debian.org/debian bullseye main
deb-src https://deb.debian.org/debian bullseye main

deb https://deb.debian.org/debian-security/ bullseye-security main
deb-src https://deb.debian.org/debian-security/ bullseye-security main

deb https://deb.debian.org/debian bullseye-updates main
deb-src https://deb.debian.org/debian bullseye-updates main

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

Proxmox still shows Buster in the pve respository list.
 
Hi,

you might have a file in /etc/apt/sources.list.d/ which still contains buster?
Otherwise this is the suggested content of sources.list for Bookworm from PVE documentation

Code:
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-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 bookworm pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib
 
  • Like
Reactions: MrPegMan
Ah yes, I just found /etc/apt/sources.list.d/pve-no-subscription.list
That was still set to Buster so I have amended

I don't think it liked me keeping the previous sources in the file but commented out.
When parsed by proxmox it must have still picked them up, #so no comments! #
/etc/apt/sources.list
 
Last edited: