You are not logged in.

#1 2024-10-05 17:13:09

TokiPete
Member
Registered: 2024-10-05
Posts: 1

[Arch Newbie] Pacman not working ? :(

Hey guys I'm new to arch and I recently installed it and have had tons of fun with it but after a week of not using my pc I came back to update my system but for some reason Pac-Man isn't pacmanig sad he's not downloading or reaching out to the DB here is the output. I have a feeling it's to something to do with the mirros but sadly idk how to change them can I change them just like I did when I was installing arch? Going into the Mirror file with nano and changing, or how does it work ?

  ~  sudo pacman -Syyu
:: Synchronizing package databases...
 core                                                                      117.2 KiB   503 KiB/s 00:00 [-------------------------------------------------------------] 100%
 extra                                                                       7.5 MiB  17.4 MiB/s 00:00 [-------------------------------------------------------------] 100%
 multilib                                                                  133.6 KiB   589 KiB/s 00:00 [-------------------------------------------------------------] 100%
error: failed retrieving file 'core.db' from de.arch.niranjan.co : Failed to connect to de.arch.niranjan.co port 443 after 10002 ms: Timeout was reached
error: failed retrieving file 'extra.db' from de.arch.niranjan.co : Failed to connect to de.arch.niranjan.co port 443 after 10002 ms: Timeout was reached
error: failed retrieving file 'multilib.db' from de.arch.niranjan.co : Failed to connect to de.arch.niranjan.co port 443 after 10002 ms: Timeout was reached
warning: too many errors from de.arch.niranjan.co, skipping for the remainder of this transaction
error: failed retrieving file 'core.db' from al.arch.niranjan.co : Failed to connect to al.arch.niranjan.co port 443 after 10002 ms: Timeout was reached
error: failed retrieving file 'extra.db' from al.arch.niranjan.co : Failed to connect to al.arch.niranjan.co port 443 after 10002 ms: Timeout was reached
error: failed retrieving file 'multilib.db' from al.arch.niranjan.co : Failed to connect to al.arch.niranjan.co port 443 after 10002 ms: Timeout was reached
warning: too many errors from al.arch.niranjan.co, skipping for the remainder of this transaction

Offline

#2 2024-10-05 17:52:27

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,486

Re: [Arch Newbie] Pacman not working ? :(

Hi,
yes, that's how it works. Have a look at https://wiki.archlinux.org/title/Mirrors
The Arch iso uses the reflector tool to ensure pacman picks active mirrors.

Offline

#3 2024-10-05 21:54:57

cryptearth
Member
Registered: 2024-02-03
Posts: 1,024

Re: [Arch Newbie] Pacman not working ? :(

when you get your pacman back up working I recommend installing https://wiki.archlinux.org/title/Reflector which can be used to regenerate a new mirror list in such cases
as for the issue itself: have you only ONE mirror in your mirror list? if so: it's called "list" for a reason so you can have multiple entries in it - as it's supposed to work as a failover: when one mirror can't be reached pacman uses the next one

Offline

#4 2024-10-06 20:04:37

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,981

Re: [Arch Newbie] Pacman not working ? :(

https://archlinux.org/mirrors/status/ shows http://de.arch.niranjan.co and https://de.arch.niranjan.co  are fully uptodate and have a great score making it a very good choice.

error: failed retrieving file 'core.db' from de.arch.niranjan.co : Failed to connect to de.arch.niranjan.co port 443 after 10002 ms: Timeout was reached

That message suggests there's something wrong with your network connection, not with the mirror .

Run ping -c3 1.1.1.1 to verify if your network connection is functional .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2024-10-07 00:56:58

Sir_Caljerque
Member
Registered: 2024-08-31
Posts: 3

Re: [Arch Newbie] Pacman not working ? :(

it might be your network connection. try accessing a website of your choice or using ```ping -c1 archlinux.org```
check out networkmanager for wireless connections setup

Offline

#6 2024-10-07 15:40:04

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,232

Re: [Arch Newbie] Pacman not working ? :(

TokiPete, also, using Syy is considered bad form.  It is a waste of yours and your mirror's bandwidth.  The Syy option is almost never the correct thing to do and should only be done if there is reasonable suspicion that the database is corrupt.

Edit:  The unsaid part,  just use the single -y

Last edited by ewaller (2024-10-07 15:40:53)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB