[SOLVED] Warning: Target Packages configured multiple times

rogierl

Active Member
May 23, 2021
66
13
28
44
Netherlands
rogier.lommers.org
After upgrading 8 to 9, I get the following warnings when I do an apt update.
Any clue what could be wrong and how to solve this?

Code:
root@proxmox:~# apt update
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://ftp.nl.debian.org/debian trixie InRelease
Hit:3 http://ftp.nl.debian.org/debian trixie-updates InRelease
Hit:4 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease
Hit:5 https://enterprise.proxmox.com/debian/pve trixie InRelease
Get:6 https://pkgs.tailscale.com/stable/debian bookworm InRelease
Fetched 6,581 B in 0s (13.9 kB/s)
All packages are up to date.
Warning: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.sources:1 and /etc/apt/sources.list.d/pve-enterprise.sources:2
Warning: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.sources:1 and /etc/apt/sources.list.d/pve-enterprise.sources:2
Warning: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.sources:1 and /etc/apt/sources.list.d/pve-enterprise.sources:2
Warning: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.sources:1 and /etc/apt/sources.list.d/pve-enterprise.sources:2
Warning: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.sources:1 and /etc/apt/sources.list.d/pve-enterprise.sources:2
Warning: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.sources:1 and /etc/apt/sources.list.d/pve-enterprise.sources:2
Warning: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.sources:1 and /etc/apt/sources.list.d/pve-enterprise.sources:2
Warning: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.sources:1 and /etc/apt/sources.list.d/pve-enterprise.sources:2
 
Here is the content of my pve-enterprise.sources file. So indeed it's mentioned twice, but can I safely edit the file and remove one?

Code:
root@proxmox:/etc/apt/sources.list.d# cat pve-enterprise.sources
Types: deb
URIs: https://enterprise.proxmox.com/debian/pve
Suites: trixie
Components: pve-enterprise
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg

Types: deb
URIs: https://enterprise.proxmox.com/debian/pve/
Suites: trixie
Components: pve-enterprise
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg