Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] sudo pacman -Syu Not Working (Read 10148 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] sudo pacman -Syu Not Working

Well,
Quote
sudo pacman -Syu
[sudo] password for limo:
:: Synchronizing package databases...
 system.db failed to download
error: failed retrieving file 'system.db' from mirror.rackspace.com : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.digitalnova.at : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.0xem.ma : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirrors.dotsrc.org : 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.bethselamin.de : 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 repo.greeklug.gr : The requested URL returned error: 404
error: failed retrieving file 'system.db' from archmirror.it : The requested URL returned error: 403
error: failed retrieving file 'system.db' from ftp.tsukuba.wide.ad.jp : The requested URL returned error: 404
error: failed retrieving file 'system.db' from mirror.netweaver.uk : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)
lenovo:[limo]:~$

All these404? How come?

So, as I read https://forum.artixlinux.org/index.php/topic,3009.0.html
Quote
sudo nano  /etc/pacman.d/mirrorlist
and I hashed # all non hashed.
Then
Quote
sudo pacman -Syu
:: Synchronizing package databases...
error: failed to synchronize all databases (no servers configured for repository)

I don't understand this!

What can I do so that I can update the system.

P.S. Unfortunately had to install pamac and enabled AUR. (but I mainly depend on pacman)
Tried to install google chrome in pamac, didn't work
Quote
Preparing...
Cloning google-chrome build files...
Checking google-chrome dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building google-chrome...
==> ERROR: Cannot find the fakeroot binary.
System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS

Re: sudo pacman -Syu Not Working

Reply #1
Code: [Select]
Server = https://artix.wheaton.edu/repos/$repo/os/$arch
Server = https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch
Server = https://us-mirror.artixlinux.org/$repo/os/$arch
Server = http://www.nylxs.com/mirror/repos/$repo/os/$arch
Server = https://mirrors.nettek.us/artix-linux/$repo/os/$arch

Try those servers in /etc/pacman.d/mirrorlist and commenting out all Servers is the reason for last error.
For the fakeroot error after fixing mirrors: pacman -Syy ; pacman -Su ; pacman -S base-devel

Re: sudo pacman -Syu Not Working

Reply #2
Code: [Select]
Server = https://artix.wheaton.edu/repos/$repo/os/$arch
Server = https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch
Server = https://us-mirror.artixlinux.org/$repo/os/$arch
Server = http://www.nylxs.com/mirror/repos/$repo/os/$arch
Server = https://mirrors.nettek.us/artix-linux/$repo/os/$arch

Try those servers in /etc/pacman.d/mirrorlist and commenting out all Servers is the reason for last error.
For the fakeroot error after fixing mirrors: pacman -Syy ; pacman -Su ; pacman -S base-devel
Thank you @ndowens
It worked.
I'll appreciate if you can just hint briefly (because I am so curious about Artix):
- what are those commands?
- How come all these servers give 404?
-  Are the repos you listed Artix or Arch? Would it be OK to add Arch repos (what links)?

Thank you very much.
System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS

Re: [SOLVED] sudo pacman -Syu Not Working

Reply #3
Unsure why those mirrors gave 404, though assuming they may not exist anymore. They are Artix repos. pacman -Syy forces resync, pacman -Su is just upgrade but you could have done pacman -Syu as well. Arch's mirrors go in /etc/pacman.d/mirrorlist-arch

 

Re: [SOLVED] sudo pacman -Syu Not Working

Reply #4
Unsure why those mirrors gave 404, though assuming they may not exist anymore. They are Artix repos. pacman -Syy forces resync, pacman -Su is just upgrade but you could have done pacman -Syu as well. Arch's mirrors go in /etc/pacman.d/mirrorlist-arch
Thank you @ndowens  very much.
That was really strange that all these give 404!
System:  Kernel: 6.4.10-artix1-1 , KDE Plasma 5.27.7, HP Spectre x360 Convertible 13-ae0xx
Dual Core  i7-8550U bits: 64
8 GB Ram - SSD:  (250 GiB), BTRFS