Error 1101/500 in cloudflaremirrors.com

I can't run
akshara update
akshara update
without it failing to download core.db
Solution:
We've changed the default mirror to geo.mirror.pkgbuild.com
Jump to solution
86 Replies
Thomas
Thomas2y ago
@Infrastructure A mirror is down. Do you use: akshara update, or: sudo akshara update?
rudra | 🌈
rudra | 🌈2y ago
oh, could you share a screenshot/image of the error? that's likely an Arch mirror, and I think I might just move over to cloudflaremirrors.com for the Arch repos in akshara (we currently use reflector, but it often fails and ends up using the first few mirrors in pacman.conf)
Thomas
Thomas2y ago
Good idea.
Thomas
Thomas2y ago
Oof
rudra | 🌈
rudra | 🌈2y ago
oh hmm, same issue as yesterday; are you able to download https://cloudflaremirrors.com/archlinux/core/os/x86_64/core.db from a browser? I suspect it could be a country block or similar; if that does turn out to be the case, I'll add an option to force an arch repo rq
Thomas
Thomas2y ago
Good.
limby-giga-Shakman🇪🇬
no its worker exception
No description
limby-giga-Shakman🇪🇬
i live in egypt egypt doesn't block cloudflare
rudra | 🌈
rudra | 🌈2y ago
alright; I'll add an option to force the use of a mirror now
limby-giga-Shakman🇪🇬
tbf depending on one mirror isnt a good idea
Thomas
Thomas2y ago
Also @Rudra ISO builds dont work.
rudra | 🌈
rudra | 🌈2y ago
fair enough lol
limby-giga-Shakman🇪🇬
Why what happened
Thomas
Thomas2y ago
This is the log for building.
rudra | 🌈
rudra | 🌈2y ago
oh yep, you'll have to add arch-install-scripts as a package to /.system.yaml, download the latest Arch rootfs from https://geo.mirror.pkgbuild.com/iso/2024.06.01/archlinux-bootstrap-x86_64.tar.zst, extract it, run sudo arch-chroot <PATH_TO_EXTRACTED_ROOTFS> and then follow the instructions here: https://blendos.co/reference/iso-building/
ISO Building - blendOS
Building a blendOS ISO
rudra | 🌈
rudra | 🌈2y ago
ooh, is this in an Arch container? if so, that's expected (containers are namespaced, so you can't run ISO builds in them unfortunately)
Thomas
Thomas2y ago
Yes.
rudra | 🌈
rudra | 🌈2y ago
@Thomas ^
Thomas
Thomas2y ago
I will follow it.
rudra | 🌈
rudra | 🌈2y ago
it's quite complicated, and I might write a little script to automate that
Thomas
Thomas2y ago
Good luck!
rudra | 🌈
rudra | 🌈2y ago
implemented :) just gonna rebuild the package repo now, I'll let you know once that's done @limby-giga-Shakman🇪🇬 ^
Thomas
Thomas2y ago
wat.
No description
rudra | 🌈
rudra | 🌈2y ago
uh oh, could you send the output of ls archlinux-bootstrap-x86-64
Thomas
Thomas2y ago
ls: cannot access 'archlinux-bootstrap-x86-64': No such file or directory
rudra | 🌈
rudra | 🌈2y ago
oh, and btw, here's how you have to extract the arch rootfs (to keep attributes and stuff): tar --acls --xattrs -xf <path-to-the-downloaded-rootfs> are you sure it exists?
Thomas
Thomas2y ago
yes
Thomas
Thomas2y ago
No description
rudra | 🌈
rudra | 🌈2y ago
oops ls archlinux-bootstrap-x86_64 lol
Thomas
Thomas2y ago
pkglist.x86_64.txt root.x86_64
rudra | 🌈
rudra | 🌈2y ago
oh nevermind, yep, sudo arch-chroot archlinux-bootstrap-x86_64/root.x86_64 oh before that if you extracted the rootfs tarball from the Files app (nautilus), I'd suggest deleting it and running this in a terminal instead: sudo tar --acls --xattrs -xf <path-to-the-downloaded-rootfs>
Thomas
Thomas2y ago
Done
rudra | 🌈
rudra | 🌈2y ago
built; you'll have to clone https://git.blendos.co/system-tools/akshara, cd to it and run ./akshara update from it were you able to arch-chroot into it successfully this time?
Thomas
Thomas2y ago
Lemme try.
limby-giga-Shakman🇪🇬
imma try that
rudra | 🌈
rudra | 🌈2y ago
@limby-giga-Shakman🇪🇬 oh before that rq, to force a mirror, you'll have to add this to /system.yaml: arch-repo: 'https://mirror.pkgbuild.com' (or any other mirror for that matter)
Thomas
Thomas2y ago
No description
limby-giga-Shakman🇪🇬
can i use any arch mirror
rudra | 🌈
rudra | 🌈2y ago
ah nevermind, just exit that chrooted shell, run sudo mount --bind root.x86_64 root.x86_64 and then run arch-chroot again (else, pacman will fail to run within the chroot) oh yeah sure +1
limby-giga-Shakman🇪🇬
its account blocked
rudra | 🌈
rudra | 🌈2y ago
you only have to use git version of akshara for this update btw, since the version of akshara on your system doesn't support the arch-repo: option
Thomas
Thomas2y ago
Done.
rudra | 🌈
rudra | 🌈2y ago
oh nevermind it's https://git.blendos.co/blendOS/system-tools/akshara lol
Valkyrja
Valkyrja2y ago
rs2009 received a thank you Jao!
rudra | 🌈
rudra | 🌈2y ago
np :)
limby-giga-Shakman🇪🇬
its still account blocked
Thomas
Thomas2y ago
[root@blend /]# pacman -S archiso warning: database file for 'core' does not exist (use '-Sy' to download) warning: database file for 'extra' does not exist (use '-Sy' to download) error: target not found: archiso [root@blend /]# pacman -yS archiso :: Synchronizing package databases... error: failed to synchronize all databases (no servers configured for repository) [root@blend /]#
rudra | 🌈
rudra | 🌈2y ago
oh yeah, you'll have to edit /etc/pacman.d/mirrorlist within the chroot and uncomment a mirror of your choice +1
Thomas
Thomas2y ago
Dont have nano.
rudra | 🌈
rudra | 🌈2y ago
oh, just run echo 'Server = https://cloudflaremirrors.com/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist to use cloudflaremirrors.com/archlinux as your mirror sudo pacman -Sy archiso should work then
Thomas
Thomas2y ago
Im getting tired of this: warning: Public keyring not found; have you run 'pacman-key --init'? downloading required keys... error: keyring is not writable error: keyring is not writable error: keyring is not writable error: keyring is not writable error: keyring is not writable error: keyring is not writable error: required key missing from keyring error: failed to commit transaction (unexpected error) Errors occurred, no packages were upgraded. [root@blend /]#
rudra | 🌈
rudra | 🌈2y ago
oh 🤦‍♂️ yep, you have to run sudo pacman-key --init; sudo pacman-key --populate too I really should write a script or smth to make this simpler
Thomas
Thomas2y ago
rror: dosfstools: signature from "Felix Yan <felixonmars@archlinux.org>" is unknown trust :: File /var/cache/pacman/pkg/dosfstools-4.2-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] sudo pacman-key --populate error: erofs-utils: signature from "David Runge <dvzrv@archlinux.org>" is unknown trust :: File /var/cache/pacman/pkg/erofs-utils-1.7.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: grub: signature from "Christian Hesse <eworm@archlinux.org>" is unknown trust :: File /var/cache/pacman/pkg/grub-2:2.12-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: libburn: signature from "Antonio Rojas <arojas@archlinux.org>" is unknown trust :: File /var/cache/pacman/pkg/libburn-1.5.6-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: libisofs: signature from "Antonio Rojas <arojas@archlinux.org>" is unknown trust :: File /var/cache/pacman/pkg/libisofs-1.5.6-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: libisoburn: signature from "Antonio Rojas <arojas@archlinux.org>" is unknown trust :: File /var/cache/pacman/pkg/libisoburn-1.5.6-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: mtools: signature from "David Runge <dvzrv@archlinux.org>" is unknown trust :: File /var/cache/pacman/pkg/mtools-1:4.0.44-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: lzo: signature from "Felix Yan <felixonmars@archlinux.org>" is unknown trust
rudra | 🌈
rudra | 🌈2y ago
oh, for now, could you just run sudo pacman -S nano to install nano, edit /etc/pacman.conf and scroll down to the line beginning with SigLevel = , and replace it with SigLevel = Never? (just a workaround)
Thomas
Thomas2y ago
Dont have sudo lol. Cant install nano becuz of the keyring problems. lets just stop with this. I dont want to waste your time.
Asterisk
Asterisk2y ago
we do not control these mirrors
Thomas
Thomas2y ago
Ok
rudra | 🌈
rudra | 🌈2y ago
oh yeah, you'll have to edit root.x86_64/etc/pacman.conf from outside the chroot :(
Thomas
Thomas2y ago
I removed the chroot. My patience was gone.
Asterisk
Asterisk2y ago
su just type that enter root's password
Thomas
Thomas2y ago
^
Asterisk
Asterisk2y ago
sad
Thomas
Thomas2y ago
Why?
Valkyrja
Valkyrja2y ago
@Thomas, you've gained the level 3
Asterisk
Asterisk2y ago
it really is just for you cloudflare is not having any outages it could be trying to fetch from a mirror that is down a mirror in your area
limby-giga-Shakman🇪🇬
idk i never had any issue like it
Thomas
Thomas2y ago
@Rudra said he's looking at it.
Asterisk
Asterisk2y ago
as such we can add the option to change it but I don't see why we should stop using cloudflaremirrors it is still in beta
limby-giga-Shakman🇪🇬
i didnt say we should stop i said we should have more mirrors
rudra | 🌈
rudra | 🌈2y ago
oh sorry, I didn't notice your message lol
rudra | 🌈
rudra | 🌈2y ago
hmm, it shouldn't be; are you able to open https://git.blendos.co/blendOS/system-tools/akshara in a browser?
limby-giga-Shakman🇪🇬
dont worry it opened now thanks @Rudra it works now
Valkyrja
Valkyrja2y ago
rs2009 received a thank you Jao!
rudra | 🌈
rudra | 🌈2y ago
ah np :D
OldNine
OldNine2y ago
Hey guys, so i pretty much followed your steps with this fix for the Error 500 with the mirrors i run the ./akshara update from the repo, it did install everything but once it got to the end threw a FileNotFoundError. I did a reboot and i didnt see of the updates. can you please shed some light on what i might have done wrong
No description
OldNine
OldNine2y ago
my apps look like this. because the packages didnt install
No description
Asterisk
Asterisk2y ago
put akshara in /usr/bin don't just put it somewhere and ./ it the update failed so it didn't install the apps
OldNine
OldNine2y ago
ok thanks
Solution
Asterisk
Asterisk2y ago
We've changed the default mirror to geo.mirror.pkgbuild.com
Asterisk
Asterisk2y ago
should be fixed
Asterisk
Asterisk2y ago
You'll need to redownload the ISO

Did you find this page helpful?