anatol / pacoloco

Caching proxy server for Arch Linux pacman
MIT License
216 stars 30 forks source link

Cannot download file status code is 404 #113

Closed Gibbz closed 2 months ago

Gibbz commented 2 months ago

A similar thread here, which looks like it was never fixed... https://github.com/anatol/pacoloco/issues/92

I have the issue with the double slash // appearing in the urls.

downloader.go:77: unable to download file manjaro/multilib/x86_64/multilib.files.sig: unable to download url https://ziply.mm.fcix.net/manjaro/stable//multilib/x86_64/multilib.files.sig, status code is 404

downloader.go:111: downloading https://mirror.2degrees.nz/manjaro/stable//multilib/x86_64/multilib.files.sig

downloader.go:77: unable to download file manjaro/multilib/x86_64/multilib.files.sig: unable to download url https://mirror.2degrees.nz/manjaro/stable//multilib/x86_64/multilib.files.sig, status code is 404

downloader.go:111: downloading https://gsl-syd.mm.fcix.net/manjaro/stable//multilib/x86_64/multilib.files.sig

downloader.go:77: unable to download file manjaro/multilib/x86_64/multilib.files.sig: unable to download url https://gsl-syd.mm.fcix.net/manjaro/stable//multilib/x86_64/multilib.files.sig, status code is 404

downloader.go:111: downloading https://mirror.aarnet.edu.au/pub/manjaro/stable//multilib/x86_64/multilib.files.sig

downloader.go:77: unable to download file manjaro/multilib/x86_64/multilib.files.sig: unable to download url https://mirror.aarnet.edu.au/pub/manjaro/stable//multilib/x86_64/multilib.files.sig, status code is 404
anatol commented 2 months ago

Hi, I just tried to download the files you mentioned:

% curl https://ziply.mm.fcix.net/manjaro/stable//multilib/x86_64/multilib.files.sig 
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.20.1</center>
</body>
</html>
% curl https://mirror.2degrees.nz/manjaro/stable//multilib/x86_64/multilib.files.sig
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

the files indeed 404, there are no signature files at the specified URLs. Pacoloco is correct here.

Gibbz commented 2 months ago

Oh it must just be a broken update on my systems. I'll dig around and see what's going on 👍 Should have checked that!