Target Package ist configured multiple times after upgrade from 8 to 9

Andi17

Member
Dec 18, 2023
55
2
8
Hi,

i just upgraded my proxmox from 8 to 9 and now if i refresh my Update i get this message:


Code:
W: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/proxmox.sources:1
W: Target Packages (pve-no-subscription/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/proxmox.sources:1
W: Target Translations (pve-no-subscription/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/proxmox.sources:1
W: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/proxmox.sources:1
W: Target Packages (pve-no-subscription/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/proxmox.sources:1
W: Target Translations (pve-no-subscription/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/proxmox.sources:1

Screenshot 2025-08-08 at 18.47.43.png

Here i can see 2 times pve-no-subscription. If i disable on of them it works.

How can i fix this?

The following command fixed my problem:
Code:
apt modernize-sources

Best regards,
Andreas
 
Last edited:
@Andi17 , "apt modernize-sources" did not fix it for me. Can you show me the contents of your /etc/apt/sources.list.d/proxmox.sources file?
Hi, yes. Below you can find the content:

Code:
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
Enabled: false

# Modernized from /etc/apt/sources.list
Types: deb
URIs: http://download.proxmox.com/debian/pve/
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg

Is it the same one you have?

How looks you repositorie?

1755079739832.png
 
Hi, yes. Below you can find the content:

Code:
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
Enabled: false

# Modernized from /etc/apt/sources.list
Types: deb
URIs: http://download.proxmox.com/debian/pve/
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg

Is it the same one you have?

How looks you repositorie?

View attachment 89398
Here is a screen of my repositories:

Screenshot 2025-08-13 at 13.15.02.png

The contents of my sources file:

Code:
root@proxmox:~# cat /etc/apt/sources.list.d/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
 
Here is a screen of my repositories:

View attachment 89401

The contents of my sources file:

Code:
root@proxmox:~# cat /etc/apt/sources.list.d/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
I´m not a expert, but can the deph.sources be the problem? it is still on bookwoorm.

can you post your error code?