[SOLVED] apt-get update not working - "No longer have a Release file"

ledoxe

New Member
Mar 13, 2023
2
0
1
Hi, I've been getting an error over the past couple of days when trying to update the database

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

The output is

starting apt-get update
Ign:1 http://hwraid.le-vert.net/debian stretch InRelease
Ign:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://hwraid.le-vert.net/debian stretch Release
Ign:4 http://ftp.by.debian.org/debian stretch InRelease
Err:5 http://security.debian.org/debian-security stretch/updates Release
404 Not Found [IP: 146.75.118.132 80]
Ign:6 http://ftp.by.debian.org/debian stretch-updates InRelease
Err:7 http://ftp.by.debian.org/debian stretch Release
404 Not Found [IP: 82.209.230.71 80]
Err:8 http://ftp.by.debian.org/debian stretch-updates Release
404 Not Found [IP: 82.209.230.71 80]
Hit:10 http://download.proxmox.com/debian stretch InRelease
Hit:11 http://download.proxmox.com/debian/pve stretch InRelease
Reading package lists...
E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does no longer have a Release file.
E: The repository 'http://ftp.by.debian.org/debian stretch Release' does no longer have a Release file.
E: The repository 'http://ftp.by.debian.org/debian stretch-updates Release' does no longer have a Release file.
TASK ERROR: command 'apt-get update' failed: exit code 100

Could you please explain what is the problem?
 
Last edited:
Hi, I've been getting an error over the past couple of days when trying to update the database

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

The output is

starting apt-get update
Ign:1 http://hwraid.le-vert.net/debian stretch InRelease
Ign:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://hwraid.le-vert.net/debian stretch Release
Ign:4 http://ftp.by.debian.org/debian stretch InRelease
Err:5 http://security.debian.org/debian-security stretch/updates Release
404 Not Found [IP: 146.75.118.132 80]
Ign:6 http://ftp.by.debian.org/debian stretch-updates InRelease
Err:7 http://ftp.by.debian.org/debian stretch Release
404 Not Found [IP: 82.209.230.71 80]
Err:8 http://ftp.by.debian.org/debian stretch-updates Release
404 Not Found [IP: 82.209.230.71 80]
Hit:10 http://download.proxmox.com/debian stretch InRelease
Hit:11 http://download.proxmox.com/debian/pve stretch InRelease
Reading package lists...
E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does no longer have a Release file.
E: The repository 'http://ftp.by.debian.org/debian stretch Release' does no longer have a Release file.
E: The repository 'http://ftp.by.debian.org/debian stretch-updates Release' does no longer have a Release file.
TASK ERROR: command 'apt-get update' failed: exit code 100

Could you please explain what is the problem?
Hi,
please try and configure a different mirror, you can find them here https://www.debian.org/mirror/list

Also, please post your current mirror configuration, cat /etc/apt/sources.list /etc/apt/sources.list.d/*, your security update repo seems to be configured incorrectly.
 
Last edited:
Hi,
please try and configure a different mirror, you can find them here https://www.debian.org/mirror/list

Also, please post your current mirror configuration, cat /etc/apt/sources.list /etc/apt/sources.list.d/*, your security update repo seems to be configured incorrectly.
Sure

xxx-pve:~# cat /etc/apt/sources.list /etc/apt/sources.list.d/*
deb http://download.proxmox.com/debian stretch pve-no-subscription

# deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 NETINST 20171209-12:10]/ stretch main

#deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 NETINST 20171209-12:10]/ stretch main

deb http://ftp.by.debian.org/debian/ stretch main
deb-src http://ftp.by.debian.org/debian/ stretch main

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile'
deb http://ftp.by.debian.org/debian/ stretch-updates main
deb-src http://ftp.by.debian.org/debian/ stretch-updates main

#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
deb http://hwraid.le-vert.net/debian stretch main
 

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!