LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Can't install QEMU from Extra repository (https://www.linuxquestions.org/questions/arch-29/cant-install-qemu-from-extra-repository-4175714161/)

AKM512 07-02-2022 10:39 PM

Can't install QEMU from Extra repository
 
For a Linux Foundation System administration course I just enrolled in, I've tried to install a virtual machine on Arch. I have been trying to install QEMU, but when I follow the instructions to install it on the ArchWiki, but when I run
Code:

sudo pacman -S qemu-full
I get this long list of error messages:
Code:

error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from mirrors.bloomu.edu : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from mirror.clarkson.edu : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from iad.mirrors.misaka.one : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from archmirror1.octyl.net : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from mirrors.sonic.net : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from mirrors.kernel.org : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from mirror.sfo12.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from ord.mirror.rackspace.com : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from mirrors.rit.edu : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from zxcvfdsa.com : The requested URL returned error: 404
error: failed retrieving file 'brltty-6.4-10-x86_64.pkg.tar.zst' from mirrors.radwebhosting.com : The requested URL returned error: 404

and so on, until:
Code:

error: failed retrieving file 'liburing-2.1-1-x86_64.pkg.tar.zst' from mirrors.advancedhosters.com : 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.

Do I need to git clone the necessary packages (and dependencies) from the AUR, or is there some other means

Timothy Miller 07-02-2022 10:43 PM

Do a pacman -Sy first. Your repos are out of date, brltty is currently at version 6.5-1. It can't find the packages because it's looking for old packages that have been replaced.

teckk 07-03-2022 09:59 AM

Quote:

Do a pacman -Sy first
No, do a pacman -Syu first.

If you do a pacman -Sy, then you need to do a pacman -Su before you install anything. Or you will have a mix/match partially updated arch machine. An updated pacman database, with old software, and then you install new software from the new database, without updating everything else.

That will lead to broken software, or a broken machine

If you are going to use arch, first stop is the wiki.

https://wiki.archlinux.org/title/Pacman

AKM512 07-03-2022 12:37 PM

Quote:

Originally Posted by teckk (Post 6365308)
No, do a pacman -Syu first.

If you do a pacman -Sy, then you need to do a pacman -Su before you install anything. Or you will have a mix/match partially updated arch machine. An updated pacman database, with old software, and then you install new software from the new database, without updating everything else.

That will lead to broken software, or a broken machine

If you are going to use arch, first stop is the wiki.

https://wiki.archlinux.org/title/Pacman

Thanks, it worked. I'll mark this as solved.

Quote:

If you are going to use arch, first stop is the wiki.
My bad. I should have recognized that as a potential factor. I bookmarked the ArchWiki.


All times are GMT -5. The time now is 02:50 AM.