All mirrors returns error 404

When i update pacman -Syu, or -Syyu, or -Syy, all mirrors returns me error 404, but internet work.Whats wrong? im on raspberry 4

Hi friend,
I think maybe you missed this announcement:

[ ach. @scachemaille schtatimille. :racing_car: :stuck_out_tongue_winking_eye: ]

:sweat: :sweat: :sweat:
And how i update the pacman-mirrorlist?sorry i m a newby

sudo pacman -U http://ftp-osl.osuosl.org/pub/manjaro-arm/repo/stable/aarch64/core/pacman-mirrorlist-20200225-1-any.pkg.tar.xz

5 Likes

Thanks a lot!

I'm also seeing this problem. And get the following error when trying to update mirror list:

loading packages...

"error: '/var/cache/pacman/pkg/pacman-mirrorlist-20200211-1-any.pkg.tar.xz': package missing required signature"

Moved from raspian to manjaro around 2 hours ago.. so it's most likely some amateur mistake!

Try deleting that package and download it again by running @philm command above.

1 Like

That worked, thanks!

I tried all of this and still get the error "failed to retrieve file" followed by a bunch of files. I'm on Rpi4

You might be missing one step.

First you have to update pacman-mirrorslist by issuing:

sudo pacman -U http://ftp.osuosl.org/pub/manjaro-arm/repo/stable/core/aarch64/pacman-mirrorlist-20200217-1-any.pkg.tar.xz.sig

After it finishes type:

sudo pacman-mirrors -g

To generate the new mirrorlist and you should be good to go if I remember correctly.

That osuosl.org link is now also 404'ing. So the pacman -U isn't working because that URL is also 404'ing.

I updated the link to the newest package. Thanks!

2 Likes

11 posts were split to a new topic: Get Manjaro ARM i3 working on Pinebook

Still does not work for me. Does the link get invalid every other day?

Anyway: Why is the manjaro arm image shipped with non working mirrors?

It's not. We released new images yesterday. Those have fixed mirrorlists.
The old images have the old mirrorlist, so you would need to install the mirrorlist by hand, if you are updating one of those.

For an link that I will keep updated in the near future, please see the 20.02 release thread.

In case someone else hasn't been updating it for a long time like me, here is the latest mirrorlist package command :

sudo pacman -U http://ftp-osl.osuosl.org/pub/manjaro-arm/repo/stable/core/aarch64/pacman-mirrorlist-20200225-1-any.pkg.tar.xz

If it doesn't work, maybe there is a newer version, so you'll need to do the following :

  1. In a browser, go to : http://ftp-osl.osuosl.org/pub/manjaro-arm/repo/stable/core/aarch64/
  2. Check the name of the latest mirrorlist package - search for "pacman-mirrorlist" and get the name of the package name (the one that ends in ".tar.xz" - not "sig")
  3. Enter the command in the terminal, replacing {package_name_here} with the file name from step #2 :
sudo pacman -U http://ftp-osl.osuosl.org/pub/manjaro-arm/repo/stable/core/aarch64/{package_name_here}

Hope this helps

1 Like

Well I'm stumped!

I got the 404's coming up today on my pi running as a local mirror.

[pi@manjaropi New Folder]$ sudo pacman -Syu
:: Synchronising package databases...
error: failed retrieving file 'core.db' from manjaropi : The requested URL returned error: 404
error: failed to update core (failed to retrieve some files)
error: failed retrieving file 'extra.db' from manjaropi : The requested URL returned error: 404
error: failed to update extra (failed to retrieve some files)
error: failed retrieving file 'community.db' from manjaropi : The requested URL returned error: 404
error: failed to update community (failed to retrieve some files)
error: failed to synchronize all databases
[pi@manjaropi New Folder]$ sudo pacman -U http://ftp-osl.osuosl.org/pub/manjaro-arm/repo/stable/core/aarch64/pacman-mirrorlist-20200225-1-any.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
:: pacman-mirrorlist and pacman-mirrors are in conflict. Remove pacman-mirrors? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pacman-mirrors breaks dependency 'pacman-mirrors' required by pacman
:: removing pacman-mirrors breaks dependency 'pacman-mirrors' required by pamac-common
[pi@manjaropi New Folder]$ sudo pacman -U http://ftp-osl.osuosl.org/pub/manjaro-arm/repo/stable/core/aarch64/pacman-mirrorlist-20200225-1-any.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
:: pacman-mirrorlist and pacman-mirrors are in conflict. Remove pacman-mirrors? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: pacman-mirrorlist and pacman-mirrors are in conflict
[pi@manjaropi New Folder]$

The other computers on the network, running Manjaro (normal, not Arm) connect to the pi and update without problem! That command produces to output above and I don't know what to do now.

Well you wont get anywhere if you keep inputting 'N/No' to the proposed upgrade / replacement.

:: pacman-mirrorlist and pacman-mirrors are in conflict. Remove pacman-mirrors? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pacman-mirrors breaks dependency 'pacman-mirrors' required by pacman
:: removing pacman-mirrors breaks dependency 'pacman-mirrors' required by pamac-common

Not that simple!

And no, pacman-mirrorlist doesn't exist as a package.

Forum kindly sponsored by