Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [Solved] unable to synchronise or update any packages with pacman (Read 975 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Solved] unable to synchronise or update any packages with pacman

Hi,
I'm finding it impossible to do anything with pacman and yay today,
 -Syu, even -Syyu both not working
also  -S is not working for every package I have tried

I am super confused, have been trying to figure this out all day.
I remember this problem starting when I was changing pacman.conf to enable multilib,


here is me trying -Syu in yay:

Spoiler (click to show/hide)

here is "sudo pacman -S gedit" as an example:

Spoiler (click to show/hide)

my mirrorlist
Spoiler (click to show/hide)


my pacman conf


Spoiler (click to show/hide)


Re: unable to synchronise or update any packages with pacman

Reply #2
booflet451-Reboofed:[booflet451]:~$ ping artixlinux.org
PING artixlinux.org(2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012)) 56 data bytes
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=1 ttl=52 time=12.4 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=2 ttl=52 time=13.1 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=3 ttl=52 time=13.2 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=4 ttl=52 time=12.4 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=5 ttl=52 time=13.0 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=6 ttl=52 time=12.3 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=7 ttl=52 time=12.7 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=8 ttl=52 time=13.4 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=9 ttl=52 time=13.0 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=10 ttl=52 time=12.7 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=11 ttl=52 time=13.0 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=12 ttl=52 time=13.5 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=13 ttl=52 time=12.7 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=14 ttl=52 time=14.0 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=15 ttl=52 time=12.9 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=16 ttl=52 time=13.0 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=17 ttl=52 time=19.2 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=18 ttl=52 time=13.3 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=19 ttl=52 time=12.7 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=20 ttl=52 time=12.7 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=21 ttl=52 time=12.4 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=22 ttl=52 time=13.1 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=23 ttl=52 time=13.6 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=24 ttl=52 time=13.7 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=25 ttl=52 time=13.2 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=26 ttl=52 time=14.7 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=27 ttl=52 time=13.5 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=28 ttl=52 time=13.4 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=29 ttl=52 time=12.9 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=30 ttl=52 time=14.1 ms
64 bytes from 2606:4700:3039::6815:c012 (2606:4700:3039::6815:c012): icmp_seq=31 ttl=52 time=12.9 ms
^C
--- artixlinux.org ping statistics ---
31 packets transmitted, 31 received, 0% packet loss, time 30050ms
rtt min/avg/max/mdev = 12.320/13.310/19.170/1.190 ms

seems to be fine

edit:
clarification, even though I am able to ping, I am still having the issue  as originally described


Re: unable to synchronise or update any packages with pacman

Reply #4
Assuming your mirrorlist is /etc/pacman.d/mirrorlist: it contains the arch mirrors, not artix.
This is the artix mirrorlist. The arch mirrorlist is named /etc/pacman.d/mirrorlist-arch. Fix this and it should all be fine again.

 

Re: unable to synchronise or update any packages with pacman

Reply #5
wow, that was it, thank you so much  :D
serves me right for looking in the arch forums for answers.

for people reading this:

I used
Code: [Select]
sudo nano edit /etc/pacman.d/mirrorlist

deleted everything

then went to
https://gitea.artixlinux.org/packagesA/artix-mirrorlist/src/branch/master/trunk/mirrorlist

clicker raw and  copied the mirrorlist

then ctrl X, Y to save and quit,

now I can run sudo pacman -Syu again.