You are not logged in.

#1 2015-04-01 10:37:20

flangemonkey
Member
Registered: 2011-06-25
Posts: 3

[Solved] Pacman fails to get packages http 403 or 404 error

Hi,

I'm not sure if I should raise this as a bug or not, or indeed if I am doing something fundamentally wrong...

Pacman tells me there are updates to do, but:

Using the mirror "mirrors.manchester.m247.com" I get a 404 error

Using the mirror "http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch" I get a 403 error

example:

# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date                                                                            0.0   B  0.00B/s 00:00 [-----------------------------------------------------------------------]   0%
 community is up to date                                                                        0.0   B  0.00B/s 00:00 [-----------------------------------------------------------------------]   0%
 multilib is up to date                                                                         0.0   B  0.00B/s 00:00 [-----------------------------------------------------------------------]   0%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (9) ca-certificates-mozilla-3.18-3  dhcpcd-6.8.1-1  gnupg-2.1.2-3  iptables-1.4.21-3  p11-kit-0.23.1-2  procps-ng-3.3.10-2  sudo-1.8.13-1  which-2.21-1  whois-5.2.7-1

Total Download Size:    0.03 MiB
Total Installed Size:  21.35 MiB
Net Upgrade Size:       4.34 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages ...
error: failed retrieving file 'whois-5.2.7-1-x86_64.pkg.tar.xz' from mirrors.manchester.m247.com : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

any ideas?

[edited to add solved tag to title]

Last edited by flangemonkey (2015-04-01 15:29:18)

Offline

#2 2015-04-01 10:55:56

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [Solved] Pacman fails to get packages http 403 or 404 error

Hi flangemonkey,

that mirror was not synced yet when you did the upgrade (the last sync ended today at 10:54 UTC, about 17 mitues after you posted on this borad). It should be ok now, just try to redo the update. Next time, you may want to check first the status of the mirrors https://www.archlinux.org/mirrors/status wink

edit: typo

Last edited by mauritiusdadd (2015-04-01 11:06:10)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-04-01 11:11:58

flangemonkey
Member
Registered: 2011-06-25
Posts: 3

Re: [Solved] Pacman fails to get packages http 403 or 404 error

Thanks for the reply, I will make a note of that page - most useful smile

However my 404 still persists on mirrors.manchester.m247.com

Works fine on mirror.bytemark.co.uk

As you say, probably a glitch smile

Offline

#4 2015-04-01 16:06:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Pacman fails to get packages http 403 or 404 error

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB