PVE apt Problem

magnomnom

New Member
Apr 9, 2024
23
0
1
Dies ist das empfohlene Repository für Test- und Nichtproduktionszwecke. Die enthaltenen Pakete sind nicht so intensiv getestet und validiert wie jene aus dem Proxmox VE Enterprise Repository. Für den Zugriff auf das pve-no-subscription Repository benötigen Sie keinen Subscription Key.

Zum Verwenden des No-Subscription Repositories wählen Sie folgende Einstellungen in /etc/apt/sources.list:

deb http://ftp.at.debian.org/debian bookworm main contrib
deb http://ftp.at.debian.org/debian bookworm-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org bookworm-security main contrib

Hinweis: damit die Meldung "failed to fetch" dauerhaft verschwindet, müssen Sie in den folgenden beiden Dateien das jeweils angeführte Repository mit einer mit einer "#" auskommentieren:



Nach diesem Skript habe ich meine Repos angepasst. Leider bekomme ich immer noch den Fehler:
E: Failed to fetch https://enterprise.proxmox.com/debian/pbs/dists/bullseye/InRelease 401 Unauthorized [IP: 212.224.123.70 443]
E: The repository 'https://enterprise.proxmox.com/debian/pbs bullseye InRelease' is not signed.
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.
Bin ganz neu in Proxmoxx und weis leider nicht wie ich genau weiter machen soll
 
You mention some script you followed, but don't provide details.
Your errors mention PBS. Are you sure you're in the right forum?
Maybe the script was written for PBS but you are really looking for PVE help? I just don't know.
 
Last edited:
Just comment out the enterprise repository line in your sources
 
You mention some script you followed, but don't provide details.
Your errors mention PBS. Are you sure you're in the right forum?
Maybe the script was written for PBS but you are really looking for PVE help? I just don't know.
I am sure it belongs to here. I have installed a Proxmoxx Virtual Environment 8.1.10. and I try to make apt update. But I always get the same error
 
I adapted my repos according to this script
Which script?

Why are you showing:

E: Failed to fetch https://enterprise.proxmox.com/debian/pbs/dists/bullseye/InRelease 401 Unauthorized [IP: 212.224.123.70 443]
E: The repository ' https:/ /enterprise.proxmox.com/debian/pbs bullseye InRelease' is not signed.

PBS is for Proxmox Backup Server

Some of our conversation maybe affected by German/English translation. I believe this is an English-language forum.
 
  • Like
Reactions: Dunuin
Hi,

please post the output of tail -n+0 /etc/apt/sources.list /etc/apt/sources.list.d/*
The enterprise repository is normally configured via a separate file in /etc/apt/sources.list.d/, so you won't find in it /etc/apt/sources.list.

Also, as @gfngfn256 mentioned, please pay attention what repos you are configuring.
If you are uncomfortable with the command line, all of this can also be done in a few clicks in the web UI.
 
grep -ris enterprise /etc/apt should show you the file and line, just add a # in front of it
 
Hi,

please post the output of tail -n+0 /etc/apt/sources.list /etc/apt/sources.list.d/*
The enterprise repository is normally configured via a separate file in /etc/apt/sources.list.d/, so you won't find in it /etc/apt/sources.list.

Also, as @gfngfn256 mentioned, please pay attention what repos you are configuring.
If you are uncomfortable with the command line, all of this can also be done in a few clicks in the web UI.
root@pve:~# tail -n+0 /etc/apt/sources.list /etc/apt/sources.list.d/*
==> /etc/apt/sources.list <==

deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib

# Proxmox VE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib

==> /etc/apt/sources.list.d/ceph.list <==
deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription

==> /etc/apt/sources.list.d/pbs-enterprise.list <==
deb https://enterprise.proxmox.com/debian/pbs bullseye pbs-enterprise _--> HERE I THINK pbs-no-subscription

==> /etc/apt/sources.list.d/pve-enterprise.list <==
# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
deb http://download.proxmox.com/debian/pbs buster pbs-no-subscription
 
That's not a script, its the PVE Wiki.
Anyway it doesn't contain any PBS linked sources.

For you:
Das ist kein Skript, es ist das PVE-Wiki.

Es enthält jedenfalls keine mit PBS verknüpften Quellen.
 
Almost surely OP used some script (not mentioned) which has messed up his sources.
I also noticed this (as Dunuin points out) from the older Debian versions being used.

Users have to be extra careful not to run any web-search produced script - which potentially could reek havoc on any system.
 
Last edited:
  • Like
Reactions: cheiss

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!