TASK ERROR: command 'apt-get update' failed: exit code 100

v8racerman

New Member
Jun 2, 2023
1
0
1
Hi,

I'm having problems with the automatic Update Package Database. I've not changed anything myself, but this error started to occur a few days ago.

I'm running Proxmox VE 7.4-3

Task log:

starting apt-get update
Hit:1 http://ftp.debian.org/debian bullseye InRelease
Hit:2 http://ftp.debian.org/debian bullseye-updates InRelease
Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists...
W: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'http://ftp.debian.org/debian bullseye InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/i18n/Translation-en' as repository 'http://ftp.debian.org/debian bullseye InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'contrib/binary-amd64/Packages' as repository 'http://ftp.debian.org/debian bullseye InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'contrib/i18n/Translation-en' as repository 'http://ftp.debian.org/debian bullseye InRelease' doesn't have the component 'contrib' (component misspelt in sources.list?)
E: Repository 'http://security.debian.org/debian-security bullseye-security InRelease' changed its 'Origin' value from 'Proxmox' to 'Debian'
E: Repository 'http://security.debian.org/debian-security bullseye-security InRelease' changed its 'Label' value from 'Proxmox Debian Repository' to 'Debian-Security'
E: Repository 'http://security.debian.org/debian-security bullseye-security InRelease' changed its 'Codename' value from 'bullseye' to 'bullseye-security'
TASK ERROR: command 'apt-get update' failed: exit code 100

My /etc/apt/sources.list looks like this:

deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib
deb http://security.debian.org/debian-security bullseye-security main contrib
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription


Any ideas?

... update ...
I've done some manual editing to /etc/apt/sources.list to try to fix it:
1) I've changed "ftp" to "deb"
2) i've commented out the security line.

This has removed the error, but I guess this is only a temporary fix as it disables the security updates ...
... update 2 ...
Just tried running the update again and its all working fine now. Must have been a glitch on the Debian repository (Official Debian 12 release is imminent).
 
Last edited: