Target Packages are configured multiple times

dpearceFL

Well-Known Member
Jun 1, 2020
116
9
58
66
When I try to perform a Refresh on the packages, I get the following messages. They are duplicated for some reason. Does it matter which *.list file I edit? I never touch these files BTW.

Code:
Fetched 1095 kB in 1s (1135 kB/s)
Reading package lists...
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/pve-install-repo.list: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/pve-install-repo.list: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/pve-install-repo.list: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/pve-install-repo.list: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/pve-install-repo.list: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/pve-install-repo.list:1
TASK OK
 
No, the file names themselves are somewhat arbitrary and don't matter functionally.

That said, /etc/apt/sources.list is typically managed by the OS and comes with default entries. Custom repositories, whether for users or applications, are generally expected to go into separate files under /etc/apt/sources.list.d/.

In theory, an OS upgrade could overwrite /etc/apt/sources.list, but it won’t touch custom files placed in /etc/apt/sources.list.d/, making that the safer location for persistent changes.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox