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
Thomas7mo ago
@Infrastructure A mirror is down. Do you use: akshara update, or: sudo akshara update?
Rudra
Rudra7mo 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
Thomas7mo ago
Good idea.
Thomas
Thomas7mo ago
Oof
Rudra
Rudra7mo 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
Thomas7mo ago
Good.
limby-giga-Shakman🇪🇬
no its worker exception
No description
limby-giga-Shakman🇪🇬
i live in egypt egypt doesn't block cloudflare
Rudra
Rudra7mo 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
Thomas7mo ago
Also @Rudra ISO builds dont work.
Rudra
Rudra7mo ago
fair enough lol
limby-giga-Shakman🇪🇬
Why what happened
Thomas
Thomas7mo ago
This is the log for building.
Rudra
Rudra7mo 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
Rudra7mo 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
Thomas7mo ago
Yes.
Rudra
Rudra7mo ago
@Thomas ^
Thomas
Thomas7mo ago
I will follow it.
Rudra
Rudra7mo ago
it's quite complicated, and I might write a little script to automate that
Thomas
Thomas7mo ago
Good luck!
Rudra
Rudra7mo ago
implemented :) just gonna rebuild the package repo now, I'll let you know once that's done @limby-giga-Shakman🇪🇬 ^
Thomas
Thomas7mo ago
wat.
No description
Rudra
Rudra7mo ago
uh oh, could you send the output of ls archlinux-bootstrap-x86-64
Thomas
Thomas7mo ago
ls: cannot access 'archlinux-bootstrap-x86-64': No such file or directory
Rudra
Rudra7mo 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
Thomas7mo ago
yes
Thomas
Thomas7mo ago
No description
Rudra
Rudra7mo ago
oops ls archlinux-bootstrap-x86_64 lol
Thomas
Thomas7mo ago
pkglist.x86_64.txt root.x86_64
Rudra
Rudra7mo 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
Thomas7mo ago
Done
Rudra
Rudra7mo 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
Thomas7mo ago
Lemme try.
limby-giga-Shakman🇪🇬
imma try that
Rudra
Rudra7mo 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
Thomas7mo ago
No description
limby-giga-Shakman🇪🇬
can i use any arch mirror
Rudra
Rudra7mo 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
Rudra7mo 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
Thomas7mo ago
Done.
Rudra
Rudra7mo ago
oh nevermind it's https://git.blendos.co/blendOS/system-tools/akshara lol
limby-giga-Shakman🇪🇬
thanks
Valkyrja
Valkyrja7mo ago
rs2009 received a thank you Jao!
Rudra
Rudra7mo ago
np :)
limby-giga-Shakman🇪🇬
its still account blocked
Thomas
Thomas7mo 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
Rudra7mo ago
oh yeah, you'll have to edit /etc/pacman.d/mirrorlist within the chroot and uncomment a mirror of your choice +1
Thomas
Thomas7mo ago
Dont have nano.
Rudra
Rudra7mo 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
Thomas7mo 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
Rudra7mo 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
Thomas7mo ago
rror: dosfstools: signature from "Felix Yan <[email protected]>" 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 <[email protected]>" 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 <[email protected]>" 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 <[email protected]>" 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 <[email protected]>" 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 <[email protected]>" 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 <[email protected]>" 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 <[email protected]>" is unknown trust
Rudra
Rudra7mo 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
Thomas7mo 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
🎄 Asterisk7mo ago
we do not control these mirrors
Thomas
Thomas7mo ago
Ok
Rudra
Rudra7mo ago
oh yeah, you'll have to edit root.x86_64/etc/pacman.conf from outside the chroot :(
Thomas
Thomas7mo ago
I removed the chroot. My patience was gone.
🎄 Asterisk
🎄 Asterisk7mo ago
su just type that enter root's password
Thomas
Thomas7mo ago
^
🎄 Asterisk
🎄 Asterisk7mo ago
sad
Thomas
Thomas7mo ago
Why?
Valkyrja
Valkyrja7mo ago
@Thomas, you've gained the level 3
🎄 Asterisk
🎄 Asterisk7mo 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
Thomas7mo ago
@Rudra said he's looking at it.
🎄 Asterisk
🎄 Asterisk7mo 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
Rudra7mo ago
oh sorry, I didn't notice your message lol
Rudra
Rudra7mo 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
Valkyrja7mo ago
rs2009 received a thank you Jao!
Rudra
Rudra7mo ago
ah np :D
OldNine
OldNine7mo 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
OldNine7mo ago
my apps look like this. because the packages didnt install
No description
🎄 Asterisk
🎄 Asterisk7mo 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
OldNine7mo ago
ok thanks
Solution
🎄 Asterisk
🎄 Asterisk6mo ago
We've changed the default mirror to geo.mirror.pkgbuild.com
🎄 Asterisk
🎄 Asterisk6mo ago
should be fixed
🎄 Asterisk
🎄 Asterisk6mo ago
You'll need to redownload the ISO
Want results from more Discord servers?
Add your server