Skip to main content
Topic: can`t install some packages (mirrors returning 404) (Read 15339 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

can`t install some packages (mirrors returning 404)

I`m trying to install dlang but pacman is failing with:

Quote
error: failed retrieving file 'liblphobos-2:1.14.0-1-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'liblphobos-2:1.14.0-1-x86_64.pkg.tar.xz' from mirror.rackspace.com : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'ldc-2:1.14.0-1-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'ldc-2:1.14.0-1-x86_64.pkg.tar.xz' from mirror.rackspace.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.

it is also happening with some other packages. I already tried to change my mirrors to the closest with the command:

Code: [Select]
reflector --sort rate --protocol https --fastest 50 --number 100 --save /etc/pacman.d/mirrorlist

but the problem persists. How to solve this situation? Thanks in advance




Re: can`t install some packages (mirrors returning 404)

Reply #1
I`ve just noticed that seems that no mirror is working anymore but I`m connected to the internet (otherwise I wouldn`t be here lol)

Quote
pacman -Syyu
:: Synchronizing package databases...
error: failed retrieving file 'system.db' from www.caco.ic.unicamp.br : The requested URL returned error: 404
error: failed retrieving file 'system.db' from archlinux.olanfa.rocks : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.wdc1.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'system.db' from arch.mirror.square-r00t.net : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.dal10.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.csclub.uwaterloo.ca : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mex.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.lty.me : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.sfo12.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'system.db' from archlinux.mailtunnel.eu : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.cyberbits.eu : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.oldsql.cc : The requested URL returned error: 404
error: failed retrieving file 'system.db' from archlinux.uk.mirror.allworldit.com : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.i3d.net : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.kaminski.io : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirrors.xtom.com : The requested URL returned error: 404
error: failed retrieving file 'system.db' from arlm.tyzoid.com : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.bethselamin.de : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.ubrco.de : The requested URL returned error: 404
error: failed retrieving file 'system.db' from archlinux.nullpointer.io : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirrors.celianvdb.fr : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.netweaver.uk : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.23media.com : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.ungleich.ch : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.sergal.org : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirrors.n-ix.net : The requested URL returned error: 404
error: failed retrieving file 'system.db' from arch.jensgutermuth.de : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirrors.ukfast.co.uk : The requested URL returned error: 404
error: failed retrieving file 'system.db' from archlinux.dynamict.se : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.thekinrar.fr : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.wtnet.de : The requested URL returned error: 404
error: failed retrieving file 'system.db' from dist-mirror.fem.tu-ilmenau.de : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.fra10.de.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'system.db' from pkg.adfinis-sygroup.ch : The requested URL returned error: 404
error: failed retrieving file 'system.db' from archlinux.mirror.pcextreme.nl : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.f4st.host : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.neuf.no : The requested URL returned error: 404
error: failed retrieving file 'system.db' from gluttony.sin.cvut.cz : The requested URL returned error: 404
error: failed retrieving file 'system.db' from archmirror.nebulanet.cc : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.srv.fail : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.metalgamer.eu : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.orbit-os.com : The requested URL returned error: 404
error: failed retrieving file 'system.db' from ftp.spline.inf.fu-berlin.de : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.reisenbauer.ee : The requested URL returned error: 404
error: failed retrieving file 'system.db' from ftp.myrveln.se : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.dkm.cz : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.pseudoform.org : The requested URL returned error: 404
error: failed retrieving file 'system.db' from arch.eckner.net : The requested URL returned error: 404
error: failed retrieving file 'system.db' from archlinux.ip-connect.vn.ua : The requested URL returned error: 404
error: failed retrieving file 'system.db' from packages.oth-regensburg.de : The requested URL returned error: 404
error: failed to update system (unexpected error)


Re: can`t install some packages (mirrors returning 404)

Reply #2
Forget about my last post, it happened because reflector messed up with my mirrorlist file, I`ve updated it back as it is here and now it is working. However I still can`t find these packages on the mirrors and I found out why. Running pacman with --debug I saw that it is requesting the file:

http://mirrors.evowise.com/archlinux/community/os/x86_64/liblphobos-2:1.14.0-1-x86_64.pkg.tar.xz

which is obviously not present there, hence the 404, it has however the liblphobos-2:1.14.0-2-x86_64.pkg.tar.xz file so for some reason pacman is searching for a different version of the file. What is the best way to solve this

Re: can`t install some packages (mirrors returning 404)

Reply #3
it is also happening with some other packages. I already tried to change my mirrors to the closest with the command:

Somehow you have end up with arch mirrors, possibly arch pacman as well.
Your /etc/pacman.conf should have the following repositories :
system  -->mirrorlist
world  -->mirrorlist
galaxy   -->mirrorlist
extra ==> mirrorlist-arch
community ==> mirrorlist-arch

example:
Code: [Select]
[world]
Include = /etc/pacman.d/mirrorlist
.
.
[extra]
Include = /etc/pacman.d/mirrorlist-arch

Rename the mirrorlist you have shown to /etc/pacman.d/mirrorlist-arch
create a /etc/pacman.d/mirrorlist with the following content:

Code: [Select]
# Artix mirrors

Server = http://ftp.ntua.gr/pub/linux/artix-linux/$repo/os/$arch
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://artix.wheaton.edu/repos/$repo/os/$arch
Server = https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch
Server = https://ftp.cc.uoc.gr/mirrors/linux/artixlinux/$repo/os/$arch
Server = https://artix.unixpeople.org/repos/$repo/os/$arch
Server = https://artix.rw-net.de/repos/$repo/os/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/artixlinux/$repo/os/$arch
Server = http://www.nylxs.com/mirror/repos/$repo/os/$arch
Server = https://ftp.sh.cvut.cz/artix-linux/$repo/os/$arch
Server = https://mirrors.nettek.us/artix-linux/$repo/os/$arch
Server = http://mirror1.artixlinux.org/repos/$repo/os/$arch

then pacman -Syyu

Code: [Select]
# pacman -Ss libphobos
community/liblphobos 2:1.14.0-2 (dlang dlang-ldc)
    A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2

Re: can`t install some packages (mirrors returning 404)

Reply #4
Thanks, that solved the problem

Re: can`t install some packages (mirrors returning 404)

Reply #5
Actually, the same problem happening again. Btw I`ve enabled multilib to use some 32bits libs I`ll need for steam and other programs. Now it is faling at this package:

Quote
error: failed retrieving file 'lib32-util-linux-2.33-1-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
debug: url: http://mirror.rackspace.com/archlinux/multilib/os/x86_64/lib32-util-linux-2.33-1-x86_64.pkg.tar.xz

Whereas the current package there is lib32-util-linux-2.33.1-1-x86_64.pkg.tar.xz

Re: can`t install some packages (mirrors returning 404)

Reply #6
for 32bit  you have to enable the artix repositories lib32   -->  mirrorlist
and multilib (the arch repository for 32b) --> mirrorlist-arch

:)
So go back to /etc/pacman.conf and correct them