You are not logged in.

#1 2022-01-13 15:36:22

Liliana
Member
Registered: 2022-01-13
Posts: 5

Pacman hangs at 'synchronizing package databases'

Hi all,

I'm having a bit of trouble with pacman this morning. When trying to update my system or install packages, pacman hangs when 'synchronising package databases'. Yesterday everything worked correctly but today... ?

All I get is:

::Synchronizing package databases... 
core

then it sits and stops.

The pacman logs in /var/log/pacman.log just report

 [2022-01-13T10:23:38-0500] [PACMAN] Running 'pacman -Syu'
 [2022-01-13T10:23:38-0500] [PACMAN] synchronizing package lists

This happens on three machines all with arch in my home.

Any thoughts? or similar happenings for others?

Cheers

Offline

#2 2022-01-13 15:43:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Pacman hangs at 'synchronizing package databases'

Given that it happens with multiple systems in the home, I'd suspect a local network issue resolving the mirror name.  Do all three systems have the same mirror listed first?  Can you ping that mirror by name?  Posting the output with the --debug flag would be more informative.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2022-01-13 15:46:04

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: Pacman hangs at 'synchronizing package databases'

Hi and welcome to the forum!

"then it sits and stops" sounds weird - have you checked your mirrors?

grep -v "#" /etc/pacman.d/mirrorlist

https://archlinux.org/mirrorlist/

EDIT: Got ninja'd - sort of smile

Last edited by dogknowsnx (2023-03-17 12:46:28)


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#4 2022-01-13 16:19:39

Liliana
Member
Registered: 2022-01-13
Posts: 5

Re: Pacman hangs at 'synchronizing package databases'

I can ping the repos, it takes a little but it returns.

I also updated the mirror list with the tool from dogknowsnx's post and get the same issue.

The output with --debug is:

sudo pacman -Sy --debug

debug: pacman v6.0.1 - libalpm v13.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: Architecture: auto
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': http://mirror.0xem.ma/arch/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.0xem.ma/arch/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.cedille.club/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.mirror.colo-serv.net/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.csclub.uwaterloo.ca/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.csclub.uwaterloo.ca/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror2.evolution-host.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror2.evolution-host.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.its.dal.ca/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://muug.ca/mirror/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://muug.ca/mirror/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://arch.powerfly.ca/core/os/x86_64
debug: adding new server URL to database 'core': https://arch.powerfly.ca/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.mirror.rafal.ca/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.scd31.com/arch/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.scd31.com/arch/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.sergal.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.sergal.org/archlinux/core/os/x86_64

and so on for extra, community...

Could it be related to the missing pgp signature? It says optional though.

Offline

#5 2022-01-13 16:53:54

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Pacman hangs at 'synchronizing package databases'

and so on for extra, community...

So this is a stalled process and you posted some of the debug output, but not the actual tail, where is stalls?
I'd rethink that logic.

mirror.csclub.uwaterloo.ca is the first server in that list that actually responds for me - mirror.0xem.ma and mirror.cedille.club timeout, archlinux.mirror.colo-serv.net can't even be resolved

Please post the actual mirrorlist you use and consider the even superior tool https://archlinux.org/packages/community/any/reflector/

Edit: the god made an (ultimately irrelevant) typo ;-)

Last edited by seth (2022-01-13 17:05:16)

Online

#6 2022-01-13 16:55:07

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: Pacman hangs at 'synchronizing package databases'

I can't see anything out of the ordinary here - could you try and comment out mirrors starting from top and use a 'https' one as the top mirror preferably and then try the update again?

EDIT: Let the god be your guide... wink

Last edited by dogknowsnx (2022-01-13 17:08:14)


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#7 2022-01-13 16:58:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: Pacman hangs at 'synchronizing package databases'

Liliana wrote:

Could it be related to the missing pgp signature? It says optional though.

No, that is normal.  These haven't been implemented yet (thus the "optional" note).

I too would like to see the full output up to where it stalls.  And how long does it stall for (i.e., how long have you let it sit)?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2022-01-13 19:08:16

Liliana
Member
Registered: 2022-01-13
Posts: 5

Re: Pacman hangs at 'synchronizing package databases'

So, I had left it stalled while I went and ran errands, it stopped being stalled but returned an error code 28 with curl. The curl command returned the file when run alone. I started commenting out mirrors one by one, always the same issue.

Replacing the url with the ip address of mirror.csclub.uwaterloo.ca eliminated the wait time, so somethings off with my DNS resolution, but there were further errors (posted below). The problem seems to be that I'm missing optional signatures. But that makes no sense to me.


Pacman output with error:

sudo pacman -Sy --debug

debug: pacman v6.0.1 - libalpm v13.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: Architecture: auto
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': http://muug.ca/mirror/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://muug.ca/mirror/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://arch.powerfly.ca/core/os/x86_64
debug: adding new server URL to database 'core': https://arch.powerfly.ca/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.mirror.rafal.ca/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.scd31.com/arch/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.scd31.com/arch/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.sergal.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.sergal.org/archlinux/core/os/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': http://muug.ca/mirror/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://muug.ca/mirror/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://arch.powerfly.ca/extra/os/x86_64
debug: adding new server URL to database 'extra': https://arch.powerfly.ca/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.mirror.rafal.ca/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.scd31.com/arch/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.scd31.com/arch/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.sergal.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.sergal.org/archlinux/extra/os/x86_64
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': http://muug.ca/mirror/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://muug.ca/mirror/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://arch.powerfly.ca/community/os/x86_64
debug: adding new server URL to database 'community': https://arch.powerfly.ca/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.mirror.rafal.ca/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.scd31.com/arch/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.scd31.com/arch/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.sergal.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.sergal.org/archlinux/community/os/x86_64
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for multilib repository
debug: adding new server URL to database 'multilib': http://muug.ca/mirror/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://muug.ca/mirror/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://arch.powerfly.ca/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://arch.powerfly.ca/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://archlinux.mirror.rafal.ca/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.scd31.com/arch/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://mirror.scd31.com/arch/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.sergal.org/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://mirror.sergal.org/archlinux/multilib/os/x86_64
:: Synchronizing package databases...
 core downloading...
debug: core.db: url is http://muug.ca/mirror/archlinux/core/os/x86_64/core.db
debug: core.db: maxsize 134217728
debug: core.db: using time condition 1640890389
debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: core.db: curl returned result 28 from transfer
error: failed retrieving file 'core.db' from muug.ca : Resolving timed out after 10000 milliseconds
debug: core.db: curl returned result 28 from transfer
error: failed retrieving file 'core.db' from muug.ca : Resolving timed out after 10000 milliseconds
debug: core.db: curl returned result 28 from transfer
error: failed retrieving file 'core.db' from arch.powerfly.ca : Resolving timed out after 10000 milliseconds
debug: core.db: curl returned result 28 from transfer
error: failed retrieving file 'core.db' from arch.powerfly.ca : Resolving timed out after 10000 milliseconds
debug: core.db: curl returned result 28 from transfer
error: failed retrieving file 'core.db' from archlinux.mirror.rafal.ca : Resolving timed out after 10000 milliseconds
debug: core.db: curl returned result 28 from transfer
error: failed retrieving file 'core.db' from mirror.scd31.com : Resolving timed out after 10000 milliseconds
debug: core.db: curl returned result 28 from transfer
error: failed retrieving file 'core.db' from mirror.scd31.com : Resolving timed out after 10000 milliseconds
debug: core.db: curl returned result 28 from transfer
error: failed retrieving file 'core.db' from mirror.sergal.org : Resolving timed out after 10000 milliseconds
debug: core.db: curl returned result 28 from transfer
error: failed retrieving file 'core.db' from mirror.sergal.org : Resolving timed out after 10000 milliseconds
debug: core.db: no more servers to retry
debug: curl_download_internal return code is -1
debug: failed to sync dbs: download library error
error: failed to synchronize all databases (download library error)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'

Full mirrorlist:

##
## Arch Linux repository mirrorlist
## Generated on 2022-01-13
##

## Canada
#Server = http://mirror.0xem.ma/arch/$repo/os/$arch
#Server = https://mirror.0xem.ma/arch/$repo/os/$arch
#Server = http://mirror.cedille.club/archlinux/$repo/os/$arch
#Server = http://archlinux.mirror.colo-serv.net/$repo/os/$arch
#Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
#Server = https://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
#Server = https://mirror2.evolution-host.com/archlinux/$repo/os/$arch
#Server = http://mirror2.evolution-host.com/archlinux/$repo/os/$arch
#Server = http://mirror.its.dal.ca/archlinux/$repo/os/$arch
Server = http://muug.ca/mirror/archlinux/$repo/os/$arch
Server = https://muug.ca/mirror/archlinux/$repo/os/$arch
Server = http://arch.powerfly.ca/$repo/os/$arch
Server = https://arch.powerfly.ca/$repo/os/$arch
Server = http://archlinux.mirror.rafal.ca/$repo/os/$arch
Server = http://mirror.scd31.com/arch/$repo/os/$arch
Server = https://mirror.scd31.com/arch/$repo/os/$arch
Server = http://mirror.sergal.org/archlinux/$repo/os/$arch
Server = https://mirror.sergal.org/archlinux/$repo/os/$arch

New errors after using ip address of csclub.uwaterloo.ca

:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
debug: core.db: url is http://129.97.134.71/archlinux/core/os/x86_64/core.db
debug: core.db: maxsize 134217728
debug: core.db: using time condition 1642096686
debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: core.db: curl returned result 0 from transfer
debug: core.db: response code 304
debug: core.db.sig: url is http://129.97.134.71/archlinux/core/os/x86_64/core.db.sig
debug: core.db.sig: maxsize 16384
debug: core.db.sig: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: core.db: file met time condition
debug: core.db.sig: curl returned result 0 from transfer
debug: core.db.sig: response code 404
debug: core.db.sig: no more servers to retry
debug: extra.db: url is http://129.97.134.71/archlinux/extra/os/x86_64/extra.db
debug: extra.db: maxsize 134217728
debug: extra.db: using time condition 1642097914
debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: extra.db: curl returned result 0 from transfer
debug: extra.db: response code 304
debug: extra.db.sig: url is http://129.97.134.71/archlinux/extra/os/x86_64/extra.db.sig
debug: extra.db.sig: maxsize 16384
debug: extra.db.sig: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: extra.db: file met time condition
debug: extra.db.sig: curl returned result 0 from transfer
debug: extra.db.sig: response code 404
debug: extra.db.sig: no more servers to retry
debug: community.db: url is http://129.97.134.71/archlinux/community/os/x86_64/community.db
debug: community.db: maxsize 134217728
debug: community.db: using time condition 1642095675
debug: community.db: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: community.db: curl returned result 0 from transfer
debug: community.db: response code 200
debug: community.db.sig: url is http://129.97.134.71/archlinux/community/os/x86_64/community.db.sig
debug: community.db.sig: maxsize 16384
debug: community.db.sig: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb)
debug: community.db.sig: curl returned result 0 from transfer
debug: community.db.sig: response code 404
debug: community.db.sig: no more servers to retry
debug: multilib.db: url is http://129.97.134.71/archlinux/multilib/os/x86_64/multilib.db
debug: multilib.db: maxsize 134217728
debug: multilib.db: using time condition 1642097928
debug: multilib.db: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
debug: multilib.db: curl returned result 0 from transfer
debug: multilib.db: response code 304
debug: multilib.db.sig: url is http://129.97.134.71/archlinux/multilib/os/x86_64/multilib.db.sig
debug: multilib.db.sig: maxsize 16384
debug: multilib.db.sig: opened tempfile for download: /var/lib/pacman/sync/multilib.db.sig.part (wb)
debug: multilib.db: file met time condition
debug: multilib.db.sig: curl returned result 0 from transfer
debug: multilib.db.sig: response code 404
debug: multilib.db.sig: no more servers to retry
debug: curl_download_internal return code is 0
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'

Offline

#9 2022-01-13 19:13:57

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Pacman hangs at 'synchronizing package databases'

The databases are not currently signed which is why the signature files are not present.  The databases signatures are optional and the command finishes correctly when using the IP address.

Offline

#10 2022-01-13 19:16:46

Liliana
Member
Registered: 2022-01-13
Posts: 5

Re: Pacman hangs at 'synchronizing package databases'

Ah, you're right. So I have a DNS issue to track down.

Thanks all.

Offline

#11 2022-01-13 20:26:52

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Pacman hangs at 'synchronizing package databases'

So I have a DNS issue to track down.

dig csclub.uwaterloo.ca
dig @8.8.8.8 dig csclub.uwaterloo.ca
getent hosts csclub.uwaterloo.ca
nslookup csclub.uwaterloo.ca
stat /etc/resolv.conf
cat /etc/resolv.conf
cat /etc/nsswitch.conf

Online

#12 2022-01-13 20:50:19

Liliana
Member
Registered: 2022-01-13
Posts: 5

Re: Pacman hangs at 'synchronizing package databases'

I have resolved the DNS issue. I'm not sure exactly what happened, but pointing resolv.conf at the machine running my pihole sped things up considerably. Earlier it was pointed at my router which was in turn using 1.1.1.1 as a DNS server. I ran some digs:

dig @8.8.8.8 dig csclub.uwaterloo.ca - First query time ~ 187 msec
dig @1.1.1.1 dig csclub.uwaterloo.ca - First query time ~ 178msec
dig @192.168.1.3 dig csclub.uwaterloo.ca - First query time ~ 20msec

(192.168.1.3 - pihole)

But pacman mirrors respond quickly only having urls in the mirrorlist, so success... ?

Offline

#13 2022-01-13 21:40:23

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Pacman hangs at 'synchronizing package databases'

seth needs to stop copy and fail because he wrote:

dig @8.8.8.8 dig csclub.uwaterloo.ca

Liliana wrote:

But pacman mirrors respond quickly only having urls in the mirrorlist, so success... ?

All pointers point there smile

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

#14 2023-03-17 11:16:03

geekecom
Member
Registered: 2023-03-17
Posts: 1

Re: Pacman hangs at 'synchronizing package databases'

dogknowsnx wrote:

Hi and welcome to the forum!

"then it sits and stops" sounds weird - have you checked your mirrors?

cat /etc/pacman.d/mirrorlist | grep -v #

https://archlinux.org/mirrorlist/

EDIT: Got ninja'd - sort of smile

Generating the mirrorlist at https://archlinux.org/mirrorlist/, replacing the # in the generated server list and copying into /etc/pacman.d/mirrorlist did work for pacman and yay.

Thanks!

Offline

#15 2023-03-17 12:43:01

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: Pacman hangs at 'synchronizing package databases'

Correcting myself...

grep -v "#" /etc/pacman.d/mirrorlist

Last edited by dogknowsnx (2023-03-17 12:45:05)


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

Board footer

Powered by FluxBB