Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspbian mirror 404 #2499

Closed
YukiRainee opened this issue Feb 5, 2019 · 9 comments
Closed

Raspbian mirror 404 #2499

YukiRainee opened this issue Feb 5, 2019 · 9 comments
Labels
External bug 🐞 For bugs which are not caused by DietPi.

Comments

@YukiRainee
Copy link

Details:

  • Date | Mon 4 Feb 20:57:16 PST 2019
  • Bug report | N/A
  • DietPi version | v6.19.7 (Fourdee/master)
  • Img creator | n/a
  • Pre-image | n/a
  • SBC device | RPi 3 Model B (armv7l) (index=3)
  • Kernel version | Letsencrypt supports Free Noip.com Dynamic DNS #1159 SMP Sun Nov 4 17:50:20 GMT 2018
  • Distro | stretch (index=4)
  • Command | G_AGUP
  • Exit code | 100
  • Software title | DietPi-Update

Steps to reproduce:

  1. Attempt to update to v6.20.6
  2. ...

Expected behaviour:

  • Update should proceed smoothly with no errors

Actual behaviour:

  • Gives a 404 error for the raspbian stretch Release...

Extra details:

  • not sure if its a issue on my end but I did check the link in the browser and it seems to obviously not exist anymore

Additional logs:

Log file contents:
Hit:1 http://apt.sonarr.tv develop InRelease
Hit:2 https://dtcooper.github.io/raspotify jessie InRelease
Ign:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:4 https://download.docker.com/linux/raspbian stretch InRelease
Err:5 http://raspbian.raspberrypi.org/raspbian stretch Release
  404  Not Found
Hit:6 https://download.mono-project.com/repo/debian raspbianstretch InRelease
Hit:7 http://dev2day.de/pms stretch InRelease
Hit:8 https://archive.raspberrypi.org/debian stretch InRelease
Reading package lists...
E: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does no longer have a Release file.
@MichaIng
Copy link
Owner

MichaIng commented Feb 5, 2019

@Rainee4563
Thanks for your report.

This should be only a temporary issue. The release file exists now: http://archive.raspberrypi.org/debian/dists/stretch/Release

Please retry: G_AGUP

@FWeissenb
Copy link

FWeissenb commented Feb 5, 2019 via email

@MichaIng
Copy link
Owner

MichaIng commented Feb 5, 2019

Changing the APT mirror only affects the Debian repo, the Raspbian repo is only available via this one mirror.

Hmm strange it does not work, at least yesterday night it did on my RPi.

Will retest later.

@FWeissenb
Copy link

FWeissenb commented Feb 5, 2019 via email

@fyrfli
Copy link

fyrfli commented Feb 5, 2019

So I noticed a difference between what the DietPi link is and the link you specified:

i.e. DietPi - http://raspbian.raspberrypi.org/raspbian
Your link - http://archive.raspberrypi.org/debian/dists/stretch/Release

And I know my knowledge of how repositories work might be limited, but can you say whether that difference matters? I am still getting the error:

"W: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does not have a Release file."

@MichaIng
Copy link
Owner

MichaIng commented Feb 5, 2019

EDIT Ah no wait lol raspbian.raspberrypi.org is inside /etc/apt/sources.list (Raspbian repo) while archive.raspberrypi.org is inside /etc/apt/sources.list.d/raspi.list (RaspberryPi repo for firmware and such) right? I mixed it up.
However in browser I see release files in both repos: http://raspbian.raspberrypi.org/raspbian/dists/stretch/Release
EDITEDIT So in this case it should work to switch the APT mirror via dietpi-config, if the error still appears.

Ah yeah did not think about the other URL. Both (should) however point to exactly the same repo. In DietPi we moved to the new URL since during one APT update of raspberrypi-sys-mods they patched it in the sources file in a way that broke the source, e.g. when https used or a mirror director. raspbian.raspberrypi.org does not support https, while archive.raspberrypi.org does.

However I see the Release file on both repos when opening on browser 🤔.

Perhaps you guys can try to switch the URL from between the mentioned ones inside /etc/apt/sources.list.d/raspi.list

@fyrfli
Copy link

fyrfli commented Feb 5, 2019

Original repo works now. I had just switched to one of the others in the list inside dietpi-config and all seems well.

Thanks!

@MichaIng
Copy link
Owner

MichaIng commented Feb 5, 2019

Hmm just tested here http://raspbian.raspberrypi.org/raspbian in sources and it worked well, although I run Buster here, not Stretch.

I am not sure if the above URL is a mirror director, so perhaps based on sync schedule this was fixed on one mirror earlier then on another.

I leave the topic open for a while, in case other users (still) run into this.

@MichaIng MichaIng added the External bug 🐞 For bugs which are not caused by DietPi. label Feb 5, 2019
@Fourdee
Copy link
Collaborator

Fourdee commented Feb 6, 2019

Will mark as closed, unable to replicate currently, appears to be a temp remote server issue.

@Fourdee Fourdee closed this as completed Feb 6, 2019
@Fourdee Fourdee changed the title Dietpi fails to update due to 404 error Raspbian mirror 404 Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External bug 🐞 For bugs which are not caused by DietPi.
Projects
None yet
Development

No branches or pull requests

5 participants