You are not logged in.

#1 2024-07-24 15:42:05

0505Oryon
Member
Registered: 2012-02-05
Posts: 25

403 error on pacman update

I get the following error as of today when I try to `sudo pacman -Suy`:

`:: Synchronizing package databases...
core                                                                                                                                   117.3 KiB   173 KiB/s 00:01 [######################################################################################################] 100%
extra                                                                                                                                    7.2 MiB  1619 KiB/s 00:05 [######################################################################################################] 100%
multilib                                                                                                                               138.2 KiB  1665 KiB/s 00:00 [######################################################################################################] 100%
error: failed retrieving file 'core.db' from archmirror.it : The requested URL returned error: 403
error: failed retrieving file 'extra.db' from archmirror.it : The requested URL returned error: 403
error: failed retrieving file 'multilib.db' from archmirror.it : The requested URL returned error: 403
warning: too many errors from archmirror.it, skipping for the remainder of this transaction
:: Starting full system upgrade...
there is nothing to do`

I read in other threads that this might be due to blocked connection, but I tried 3 different networks and all yield the same, while normal net works.

I also tried curling a server which was mentioned in another post which does not work:

curl -o /dev/null -v http://mirror.f4st.host/archlinux/core/ … 64/core.db                                                                                                                                                                         ✔  17:29:18 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Host mirror.f4st.host:80 was resolved.
* IPv6: 2a01:4f8:192:61b4::5003
* IPv4: 144.76.111.189
*   Trying 144.76.111.189:80...
*   Trying [2a01:4f8:192:61b4::5003]:80...
* Immediate connect fail for 2a01:4f8:192:61b4::5003: Network is unreachable
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0* connect to 144.76.111.189 port 80 from 192.168.0.105 port 60544 failed: No route to host
* Failed to connect to mirror.f4st.host port 80 after 2445 ms: Couldn't connect to server
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
* Closing connection
curl: (7) Failed to connect to mirror.f4st.host port 80 after 2445 ms: Couldn't connect to server

Did these mirrors changed or am I doing something wrong?

EDIT:

By removing archmirror.it the problem seems solved, however I am not entirely sure if that is safe to do. Can I simply remove stuff from the mirror list? Do all elements in the mirror list contain the same stuff and the multiple instances are just there as fail safe?

Last edited by 0505Oryon (2024-07-24 15:51:44)

Offline

#2 2024-07-24 16:00:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: 403 error on pacman update

0505Oryon wrote:

Can I simply remove stuff from the mirror list? Do all elements in the mirror list contain the same stuff and the multiple instances are just there as fail safe?

Yes, and yes.  In fact you should regularly update your mirrorlist as part of regular maintenance either using the mirrorlist generator on the arch website, or via a service like reflector.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-07-24 16:48:04

0505Oryon
Member
Registered: 2012-02-05
Posts: 25

Re: 403 error on pacman update

Perfectly clean, thanks a lot!

Offline

Board footer

Powered by FluxBB