PVE 8 to 9 In-place Upgrade

Question about the trixie repo's that need to be added prior to the upgrade.

The upgrade document instructs you to update Debian Base Repositories to Trixie using sed for both "/etc/apt/sources.list" and "/etc/apt/sources.list.d/pve-enterprise.list"

It then instructs to add the Proxmox VE9 Package Repository using the new deb822 style which results in a new "pve-enterprise.sources" file.

After doing this and running apt update, warnings are presented because of target packages and translations being configured multiple times. This looks to be because they are configured both in pve-enterprise.list and the new file pve-enterprise.sources.


Code:
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://ftp.us.debian.org/debian trixie InRelease
Hit:3 http://ftp.us.debian.org/debian trixie-updates InRelease
Hit:4 https://enterprise.proxmox.com/debian/pve trixie InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
582 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1

Is this safe to ignore? I get that its just a warning and not an error.
 
After doing this and running apt update, warnings are presented because of target packages and translations being configured multiple times. This looks to be because they are configured both in pve-enterprise.list and the new file pve-enterprise.sources.
Hi!

The upgrade guide then also states "Then you can remove the old /etc/apt/sources.list.d/pve-enterprise.list file", once you confirmed that apt policy shows that the new repositories have been picked up as expected. I think you might have just missed that one step.
 
  • Like
Reactions: Nagorg