this post was submitted on 04 Apr 2025
20 points (88.5% liked)

Linux

52773 readers
624 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] 0xf@lemmy.ml 17 points 22 hours ago (1 children)

Might fix it self with a pacman -Syu

[–] SpiceDealer@lemmy.dbzer0.com 8 points 22 hours ago (2 children)

That did the trick. Thanks! Now I feel stupid for posting this.

[–] danhab99@programming.dev 9 points 21 hours ago

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.

[–] MyNameIsRichard@lemmy.ml 1 points 20 hours ago

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>