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

Mar 19, 2018
27
1
6
48
Hi there,
I've noticed my install of 5.1-32 has started showing some errors in the last few days ( since Nov 25 ).

These are to do with 'apt-get update' failing.

When I run this from the shell via SSH, I get the following output:

root@proxmox:~# apt-get update
Ign:1 http://ftp.au.debian.org/debian stretch InRelease
Ign:2 http://download.proxmox.com/debian/pve stretch InRelease
Err:3 http://ftp.au.debian.org/debian stretch Release
Cannot initiate the connection to ftp.au.debian.org:80 (2001:388:1034:2900::25). - connect (101: Network is unreachable) [IP: 2001:388:1034:2900::25 80]
Err:4 http://download.proxmox.com/debian/pve stretch Release
Cannot initiate the connection to download.proxmox.com:80 (2607:5300:60:5506::81). - connect (101: Network is unreachable) [IP: 2607:5300:60:5506::81 80]
Ign:5 http://security.debian.org stretch/updates InRelease
Err:6 http://security.debian.org stretch/updates Release
Unable to connect to security.debian.org:http: [IP: 2a04:4e42:2::204 80]
Reading package lists... Done
E: The repository 'http://ftp.au.debian.org/debian stretch Release' does no longer 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.
E: The repository 'http://download.proxmox.com/debian/pve stretch Release' does no longer 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.
E: The repository 'http://security.debian.org stretch/updates Release' does no longer 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.


Has something changed recently? How can I figure out how to fix this?
 
Seems like you have an ipv6 address configured (probably via SLAAC), but not a default route to the internet (maybe something changed with your ISP/Hosting provider)
I'm pretty sure that nothing in that respect changed in apt recently.

Check your routing table, and network configuration for ipv6:
`ip -6 route`
`ip -6 addr`
`cat /etc/network/interfaces`

and ask your provider
 
  • Like
Reactions: Sebastiaan7676
Seems like you have an ipv6 address configured (probably via SLAAC), but not a default route to the internet (maybe something changed with your ISP/Hosting provider)
I'm pretty sure that nothing in that respect changed in apt recently.

Check your routing table, and network configuration for ipv6:
`ip -6 route`
`ip -6 addr`
`cat /etc/network/interfaces`

and ask your provider

Many thanks.

I got it working. that cat /etc/network/interface command helped me see the issue.

My default gateway IP recently changed. Have fixed that now via 'ip route change default <new_ip>' and we are back in business.

Thanks.
 
glad to hear! please mark the thread as solved - that way all readers know what to expect :)
 

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!