upgrade Fehler

frsco

Member
Apr 4, 2021
6
0
6
40
Vienna
Hallo,

ich bekomme beim Versuch meinen Server zu aktualisieren folgenden Fehler:

root@Server:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'pve-enterprise.list.backup' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension


Die einstellungen der no-subscription reository habe ich mit sudo /etc/apt/sources.list auf diese Werte geändert:

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

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

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

Habe ich etwas übersehen?
 
Ja, steht doch da: die Datei hat die falsche Endung. Apt kann nur was mit Dateien anfangen, die auf .list enden, versucht aber dennoch, alle Dateien in sources.list.d auszuwerten.
Benenn die Datei wieder um und kommentiere das Enterprise-Repository darin aus, dann hast du Ruhe.
 
Im übrigens niemand ein "apt upgrade" durchführen. Damit kannst du dir das ganze Proxmox zerschießen. Nutz entweder die GUI oder "apt dist-upgrade" oder "apt full-upgrade" stattdessen.
 

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!