apt update issue on Proxmox 9 (Ceph repo error + duplicate sources.list entries)

issa2020

Active Member
Sep 9, 2020
88
4
28
Hello,

I recently installed/configured Proxmox 9 and when I run apt update I get several errors and warnings related to the repositories:

Here’s the full output:

Code:
root@pve:~# apt-get update
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian trixie-updates InRelease                                             
Hit:3 http://security.debian.org/debian-security trixie-security InRelease                               
Hit:4 http://repository.netdata.cloud/repos/stable/debian bookworm/ InRelease                           
Hit:5 http://download.proxmox.com/debian/pve trixie InRelease                                   
Ign:6 http://download.proxmox.com/debian/ceph-quincy trixie InRelease                           
Err:7 http://download.proxmox.com/debian/ceph-quincy trixie Release
  404  Not Found [IP: 51.91.38.34 80]
Hit:8 http://repository.netdata.cloud/repos/repoconfig/debian bookworm/ InRelease
Reading package lists... Done
W: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/proxmox.sources:1 and /etc/apt/sources.list.d/pve-no-subscription.list:2
W: Target Packages (pve-no-subscription/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/proxmox.sources:1 and /etc/apt/sources.list.d/pve-no-subscription.list:2
W: Target Translations (pve-no-subscription/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/proxmox.sources:1 and /etc/apt/sources.list.d/pve-no-subscription.list:2
W: Target Translations (pve-no-subscription/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/proxmox.sources:1 and /etc/apt/sources.list.d/pve-no-subscription.list:2
E: The repository 'http://download.proxmox.com/debian/ceph-quincy trixie Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (pve-no-subscription/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/proxmox.sources:1 and /etc/apt/sources.list.d/pve-no-subscription.list:2
W: Target Packages (pve-no-subscription/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/proxmox.sources:1 and /etc/apt/sources.list.d/pve-no-subscription.list:2
W: Target Translations (pve-no-subscription/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/proxmox.sources:1 and /etc/apt/sources.list.d/pve-no-subscription.list:2
W: Target Translations (pve-no-subscription/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/proxmox.sources:1 and /etc/apt/sources.list.d/pve-no-subscription.list:2
root@pve:~#

I’m not sure if this is a misconfiguration on my side or if Proxmox 9 does not yet support ceph-quincy on Debian Trixie.


Does anyone know how to properly fix these errors and clean up the sources so apt update runs without issues?


Thanks in advance!
 
Your configuration contains duplicates and a mix of Troixie and Bookworm.
Maybe just remove /etc/apt/sources.list.d/pve-no-subscription.list as duplicates of those are also in the more modern /etc/apt/sources.list.d/proxmox.sources? It's all in the error message that you showed.
I don't know what http://repository.netdata.cloud/repos/repoconfig/debian is but you are using bookworm instead of trixie. Either remove it or update it.
 
i don't understand what i need to remove :
Code:
oot@pve:~# apt-get update
Hit:1 http://security.debian.org/debian-security trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease                 
Hit:3 http://download.proxmox.com/debian/pve trixie InRelease       
Hit:4 http://deb.debian.org/debian trixie-updates InRelease         
Ign:5 http://download.proxmox.com/debian/ceph-quincy trixie InRelease
Err:6 http://download.proxmox.com/debian/ceph-quincy trixie Release
  404  Not Found [IP: 51.91.38.34 80]
Hit:7 http://repository.netdata.cloud/repos/stable/debian bookworm/ InRelease
Hit:8 http://repository.netdata.cloud/repos/repoconfig/debian bookworm/ InRelease
Reading package lists... Done                               
E: The repository 'http://download.proxmox.com/debian/ceph-quincy trixie Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@pve:~#


1756486164580.png

can we remove all this and get all by defaut ?
 
i don't understand what i need to remove
Maybe just remove /etc/apt/sources.list.d/pve-no-subscription.list
Unless there are more repositories in there that you really need, but I doubt that. It's probably the file that contains the duplicates.

can we remove all this and get all by defaut ?
You could try (but keep a copy of those files somewhere else if case you want to reference them later) and then re-add the repositories for Proxmox from the Proxmox web GUI. I don't know if you can add the Debian repositories from the Proxmox web GUI. There is also this third-party repository that you added in the past and that is on the wrong version.

There is documentation about the package repositories in the manual: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_package_repositories . I'm sure Debian also has documentation about their package repositories. I don't know about netdata.cloud.