You are not logged in.
hello everyone
noob here.
i was updating my system, but then i decided this would be a good time to play a game while playing a movie in the background whilst also having 3 browsers open and a jetbrains ide at the same time, so my system froze and when i turned it off and on again it said error: load kernel first and giving me back grubs boot menu over and over. so i thought maybe the update got borked and i need to redo it somehow, so i followed the steps in this topic: https://bbs.archlinux.org/viewtopic.php?id=250845 which basically was to arch-chroot with a bootable usb and i'm in my system now but when i do pacman -Syu it says Bus error (core dumped). so i'm stuck now. any insight would be much appreciated
Offline
https://wiki.archlinux.org/title/Pacman … an_upgrade
Don't chroot into the system, use the pacman of the install iso along --sysroot
Offline
how's it going @seth? nice to hear from you again
is there an article perhaps with instructions i can use?
Offline
The instructions you can use are in the link seth gave you.
Online
thanks. i missed that, i appreciate all the help btw.
i did the instructions in that link up to step 5 but now, a new problem:
error: failed retrieving file 'core.db' from < a couple of different host urls> : could not resolve ...this error is repeated as many times as the amount of urls in the mirrorlist
Offline
You have to connect to the internet first
Offline
how's it going, thanks for your reply.
it is connected to the internet. pinging 8.8.8.8 and google.com works fine which tells me dns is also okay
Offline
Can you ping any of the failing servers?
Offline
thanks. yeah, now that i do that, the packets dont seem to come back.. 100% packet loss
any ideas how to go from here, i can't figure out how to refresh the mirrorlist on the bootable media
Last edited by Bluish9992 (2023-06-07 17:24:02)
Offline
You can just edit the mirrorlist and pick on of those.
https://archlinux.org/mirrorlist/?count … _status=on
Sanity check:
ping -4 google.comworks?
Offline
ty for replying, i don't know if i'm doing it right
ping -4 google.comdoes work yes
same error occured aftered i tried removing all the registered servers and only leaving one server which was the world wid one
same error also occurs when replacing the /etc/pacman.d/mirrorlist file with the official one by doing
# curl -o /etc/pacman.d/mirrorlist https://archlinux.org/mirrorlist/all/still no luck
Offline
Post the actual error you receive
pacman -Syu --debug 2>&1 | tee /tmp/pacman.dbg
cat /tmp/pacman.dbg | curl -F 'f:1=<-' ix.ioOffline
assuming you wanted
pacman --sysroot /mnt -Syu --debug 2>&1 | tee /tmp/pacman.dbg
cat /tmp/pacman.dbg | curl -F 'f:1=<-' ix.iosince doing just pacman -Syu will attempt to upgrade write protected packages from the bootable media
the output is:
Warning: Invalid character is found in given range. A specified range MUST
Warning: have only digits in 'start'-'stop'. The server's response to this
Warning: request ls uncertain.
TL;DR curl -F 'f:1=<-' ix.ioLast edited by Bluish9992 (2023-06-07 20:05:16)
Offline
copy-paste error, you forgot a quote or used backticks or whatever?
Offline
ty for replying, it's impossible to copy paste since the pc i'm doing it on isn't booting into x server for any gui
but i found what was wrong with how i typed in your command, this is the output:
http://ix.io/4xI6Offline
mirror.anigil.com doesn't respond to pings here. Remove that.
Edit: http(s) works, though.
You can
ping -c3 mirror.funami.techw/o errors?
Last edited by seth (2023-06-07 20:32:59)
Offline
but changing the /etc/pacman.d/mirrorlist file doesn't seem to be working. adding or removing lines to it doesn't seem to be affecting the list of errors that comes out saying 'core.db' couldnot be retrieved.
like right now, i don't have mirror.anigil.com in that file and the first error stiill says
error: failed retrieving file 'core.db' from mirror.anigil.com : Could not resolvve host: mirror.anigil.commaybe pacman is pointing to a different file? but /etc/pacman.conf says it's using that file with multiple lines saying
Include = /etc/pacman.d/mirrorlistand doing
ping -c3 mirror.funami.techcomes back 100% packetloss
Offline
Are you editing the mirrorlist of the iso or of the installed system on /mnt
Regardless of that, there's a network issue.
What IP does mirror.funami.tech resolve?
Offline
I'm editing the mirrorlist of the iso, /mnt/etc/pacman.d/mirrorlist doesn't even exist for some reason
I don't think mirror.funami.tech is resolving anything pinging it doesn't result in any output message it's just blank but the shell prompt isn't there unless I Ctrl+c which doesn't give any outputs either
Offline
ls -laR /mnt/etc/pacman*
ip a
ip r
getent ahostsv4 mirror.funami.techOffline
Thanks for the quick reply @seth, your ls command does seem to reveal that /mnt/etc/pacman.d/mirrorlist does exist, it is a symlink to /etc/pacman.d/mirrorlist.pacnew I don't know why it was saying nonexistent when doing a cat.
Anyway here is the output for the 2 ip commands:
https://ibb.co/vvPMhw4
I'm connected to wifi
The getent output is this:
146.56.166.92 STREAM mirror.funami.tech
146.56.166.92 DGRAM
146.56.166.92 RAW
after doing this pinging it returns an output:
PING mirror.funami.tech(2603:c022:8002:8b69:d15c:632:ec0:cbe8 (2603:c022:8002:8b69:d15c:632:ec0:cbe8)) 56 data bytes
Then I interrupted after a minute and it returns 100percent packet loss
Last edited by Bluish9992 (2023-06-08 20:57:04)
Offline
Because /etc/pacman.d/mirrorlist.pacnew would be on the install iso…
Can you ping the IPv4
ping -c3 146.56.166.92Disable IPv6, https://wiki.archlinux.org/title/IPv6#Disable_IPv6
Offline
Hi there ![]()
Doing
ping -c3 146.56.166.92Does work
I disabled ipv6 by doing:
sysctl -w net.ipv6.conf.all.disable_ipv6=1And I think it worked, coz when I do:
sysctl -a 2>/dev/null | grep disable_ipv6It outputs:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.enp2s0.disable_ipv6 = 1
net.ipv6.conf.io.disable_ipv6 = 1
net.ipv6.conf.wlan0.disable_ipv6 = 1Also when I ping mirror.funami.tech, the ping works.
So now the problem is back to changing the mirror urls pacman is using coz I still get that list of errors saying failed to retrieve 'core.db' from the original urls included in the bootable media even though I have changed them in the /etc/pacman.d/mirrorlist file when I do
pacman --sysroot /mnt -SyuLast edited by Bluish9992 (2023-06-08 22:12:41)
Offline
The first error in that list is with mirror.anigil.com but when I ping that url it comes back 100% packet loss
Pinging it also resolves into 110.9.231.150 but and pinging that is also a 100% packet loss
Last edited by Bluish9992 (2023-06-08 22:05:16)
Offline
Update:
I was changing the wrong file I needed to change the /mnt/etc/pacman.d/mirrorlist.pacnew
Now, changing it does affect which urls it looks for the packages but I still get the list of errors I'll be it from the new urls
Now these urls I can ping fine but the error message is still
error: failed to retrieve 'core.db' from geo.mirror.pkgbuild.com : Could not resolve host: geo.mirror.pkgbuild.comEven though pinging this url works fine
Last edited by Bluish9992 (2023-06-09 02:45:10)
Offline