You are not logged in.

#26 2023-06-09 04:07:45

Bluish9992
Member
Registered: 2022-12-14
Posts: 47

Re: Bus error (core dumped) doing pacman -Syu

Update:
Did

reflector -l 20 -f5 > /mnt/etc/pacman.d/mirrorlist.pacnew

To get a fresh list of mirrors, pinging these urls work fine

Edited the /etc/resolve.conf to only have this line:

nameserver 8.8.8.8

And it does say this in the SERVER line in the output when doing a dig to any url so I think that confirms which DNS I'm using but same issue occurs with failing to retrieve core.db coz it cannot resolve the url

Starting to think this might not be a DNS issue or an issue with the correct mirror servers but what else could it be I wonder

Offline

#27 2023-06-09 06:18:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,234

Re: Bus error (core dumped) doing pacman -Syu

Don't edit the pacnew file, fix the symlink

mv /mnt/etc/pacman.d/mirrorlist.pacnew /mnt/etc/pacman.d/mirrorlist

Then please post an update of the pacman --sysroot /mnt -Syu command and instead of --sysroot try

pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -Syu

then check how many bad packages there are

sudo LC_ALL=C pacman --sysroot /mnt -Qkk | grep -v ', 0 altered files'

and in doubt re-install all packages it lists explicitly.

Offline

Board footer

Powered by FluxBB