[EndeavorOS] Trying to install cmake but keeps returning errors
[EndeavorOS] Trying to install cmake but keeps returning errors
I'm using yay -S cmake
to install. This is the output it returns:
cmake-3.31.6-1-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.pseudoform.org : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.lty.me : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.lty.me : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from iad.mirrors.misaka.one : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from iad.mirrors.misaka.one : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from archlinux.thaller.ws : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from archlinux.thaller.ws : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from america.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.wtnet.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.wtnet.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arlm.tyzoid.com : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arlm.tyzoid.com : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from phinau.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from phinau.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.hu.fo : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.hu.fo : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.chaoticum.net : Could not resolve host: mirror.chaoticum.net
warning: fatal error from mirror.chaoticum.net, skipping for the remainder of this transaction
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from archmirror1.octyl.net : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from archmirror1.octyl.net : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.jensgutermuth.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.jensgutermuth.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.hackingand.coffee : Could not resolve host: mirror.hackingand.coffee
warning: fatal error from mirror.hackingand.coffee, skipping for the remainder of this transaction
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from arch.mirror.zachlge.org : Could not resolve host: arch.mirror.zachlge.org
warning: fatal error from arch.mirror.zachlge.org, skipping for the remainder of this transaction
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.arizona.edu : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.arizona.edu : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.mikrogravitation.org : Connection timed out after 10000 milliseconds
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.mikrogravitation.org : Connection timed out after 10001 milliseconds
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirrors.lug.mtu.edu : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirrors.lug.mtu.edu : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.bethselamin.de : Connection timed out after 10000 milliseconds
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.23m.com : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.23m.com : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404
warning: too many errors from mirror.moson.org, skipping for the remainder of this transaction
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirrors.niyawe.de : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.31.6-1-x86_64.pkg.tar.zst' from mirrors.niyawe.de : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
-> error installing repo packages
Thanks in advance.
Edit: Fixed with sudo pacman -Syu
Might fix it self with a pacman -Syu
That did the trick. Thanks! Now I feel stupid for posting this.
For your education:
Pacman like many other package managers tries to minimize network queries, to do this you download a manifest of every package available and its installation instructions.
-Sy
downloads the latest manifest from all of your pacman repos,-u
installs the packages whose "version" field changed between the old and new manifests.These error messages show that the domain name the manifest had for your package was unavailable, this is why you should check for updates.
Just to add, I have been told by people who know, that you should always update when installing a new package because not doing so can leave your system in an inconsistent state. Just get into the habit of running
pacman -Syu <package-name>
or if you use yay,yay -Syu <package-name>