Target Packages is configured multiple times

robertkwild

Member
Jun 17, 2022
32
1
13
hi all,

when im trying to update my pve from 8.0.3 to 8.1 i get this when running "apt update"

my plan is to run

Code:
apt update
apt upgrade

but getting stuck at the first hurdle

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

this is the line in question in both files

Code:
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription



thanks,
rob
 
Last edited:
my plan is to run

Code:
apt update
apt upgrade
Please never run apt upgrade! Always run apt dist-upgrade or use the GUI. Instructions for updating are in the manual: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#system_software_updates
but getting stuck at the first hurdle

Code:
W: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Packages (pve-no-subscription/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Translations (pve-no-subscription/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Translations (pve-no-subscription/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Packages (pve-no-subscription/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Translations (pve-no-subscription/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/pve-install-repo.list:1
W: Target Translations (pve-no-subscription/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/pve-install-repo.list:1
You probably configured the same repository multiple times, as the warning suggests. What are the contents of /etc/apt/sources.list and /etc/apt/sources.list.d/pve-install-repo.list? Did you add /etc/apt/sources.list.d/pve-install-repo.list (my system does not have it) and why? Instructions on configuring repositories are also in the manual.
 
what about for the last update/upgrade i did

Code:
apt update
apt upgrade

will that mess up my pve, i will in future do dist-upgrade

in the end i removed file

Code:
rm -f /etc/apt/sources.list.d/pve-install-repo.list

ran the update/dist-upgrade and all worked well as i can see from the webgui 8.1.3
 

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!