Error 1101/500 in cloudflaremirrors.com

I can't run
akshara update
akshara update
without it failing to download core.db
Solution:
@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)...
Jump to solution
83 Replies
Thomas
Thomas4w ago
@Infrastructure A mirror is down. Do you use: akshara update, or: sudo akshara update?
Rudra
Rudra4w 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
Thomas4w ago
Good idea.
Thomas
Thomas4w ago
Oof
Rudra
Rudra4w 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
Thomas4w ago
Good.
limby-giga-Shakman🇪🇬
no its worker exception
No description
limby-giga-Shakman🇪🇬
i live in egypt egypt doesn't block cloudflare
Rudra
Rudra4w 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
Thomas4w ago
Also @Rudra ISO builds dont work.
Rudra
Rudra4w ago
fair enough lol
limby-giga-Shakman🇪🇬
Why what happened
Thomas
Thomas4w ago
This is the log for building.
Rudra
Rudra4w 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
Rudra4w 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
Thomas4w ago
Yes.
Rudra
Rudra4w ago
@Thomas ^
Thomas
Thomas4w ago
I will follow it.
Rudra
Rudra4w ago
it's quite complicated, and I might write a little script to automate that
Thomas
Thomas4w ago
Good luck!
Rudra
Rudra4w ago
implemented :) just gonna rebuild the package repo now, I'll let you know once that's done @limby-giga-Shakman🇪🇬 ^
Thomas
Thomas4w ago
wat.
No description
Rudra
Rudra4w ago
uh oh, could you send the output of ls archlinux-bootstrap-x86-64
Thomas
Thomas4w ago
ls: cannot access 'archlinux-bootstrap-x86-64': No such file or directory
Rudra
Rudra4w 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
Thomas4w ago
yes
Thomas
Thomas4w ago
No description
Rudra
Rudra4w ago
oops ls archlinux-bootstrap-x86_64 lol
Thomas
Thomas4w ago
pkglist.x86_64.txt root.x86_64
Rudra
Rudra4w 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
Thomas4w ago
Done
Rudra
Rudra4w 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
Thomas4w ago
Lemme try.
limby-giga-Shakman🇪🇬
imma try that
Solution
Rudra
Rudra4w 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
Thomas4w ago
No description
limby-giga-Shakman🇪🇬
can i use any arch mirror
Rudra
Rudra4w 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
Rudra4w 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
Thomas4w ago
Done.
Rudra
Rudra4w ago
oh nevermind it's https://git.blendos.co/blendOS/system-tools/akshara lol
Valkyrja
Valkyrja4w ago
rs2009 received a thank you Jao!
Rudra
Rudra4w ago
np :)
limby-giga-Shakman🇪🇬
its still account blocked
Thomas
Thomas4w 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
Rudra4w ago
oh yeah, you'll have to edit /etc/pacman.d/mirrorlist within the chroot and uncomment a mirror of your choice +1
Thomas
Thomas4w ago
Dont have nano.
Rudra
Rudra4w 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
Thomas4w 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
Rudra4w 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
Thomas4w 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
Rudra4w 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
Thomas4w 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
Asterisk4w ago
we do not control these mirrors
Thomas
Thomas4w ago
Ok
Rudra
Rudra4w ago
oh yeah, you'll have to edit root.x86_64/etc/pacman.conf from outside the chroot :(
Thomas
Thomas4w ago
I removed the chroot. My patience was gone.
Asterisk
Asterisk4w ago
su just type that enter root's password
Thomas
Thomas4w ago
^
Asterisk
Asterisk4w ago
sad
Thomas
Thomas4w ago
Why?
Valkyrja
Valkyrja4w ago
@Thomas, you've gained the level 3
Asterisk
Asterisk4w 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
Thomas4w ago
@Rudra said he's looking at it.
Asterisk
Asterisk4w 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
Rudra4w ago
oh sorry, I didn't notice your message lol
Rudra
Rudra4w 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
Valkyrja4w ago
rs2009 received a thank you Jao!
Rudra
Rudra4w ago
ah np :D
OldNine
OldNine2w 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
OldNine2w ago
my apps look like this. because the packages didnt install
No description
Asterisk
Asterisk2w 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
OldNine2w ago
ok thanks