[SOLVED] Bug report - artix-bootstrap 06 March 2024, 09:51:16 artix-bootstrapVery useful tool.Now needs libnghttp3 as well as libnghttp2 in PACMAN_PACKAGESOr at least it did for me. Last Edit: 07 March 2024, 22:48:12 by Hitman
Re: Bug report - artix-bootstrap Reply #1 – 06 March 2024, 17:17:59 I opened up a PR but I don't think anyone is actively maintaining this.
Re: Bug report - artix-bootstrap Reply #2 – 06 March 2024, 18:10:24 Quote from: corysanin – on 06 March 2024, 17:17:59I opened up a PR but I don't think anyone is actively maintaining this.No worries. If it happens it happens. Just letting you know.Like I say, useful tool. No messing about with iso's. mkdir, mount and bootstrap.Below for the benefit of search enginesCode: [Select]/usr/bin/pacman: error while loading shared libraries: libnghttp3.so.9: cannot open shared object file: No such file or directory
Re: Bug report - artix-bootstrap Reply #3 – 07 March 2024, 21:10:53 The change has been merged, thanks for reporting! 1 Likes
Re: [SOLVED] Bug report - artix-bootstrap Reply #4 – 19 March 2025, 18:30:47 This broke again some time back and I've only just got round to having a proper look as to why.My fork at https://github.com/gripped/artix-bootstrap is working again now.This commit fixes it.Spoiler (click to show/hide)Code: [Select]diff --git a/artix-bootstrap.sh b/artix-bootstrap.shindex b1fa2be..2afa153 100755--- a/artix-bootstrap.sh+++ b/artix-bootstrap.sh@@ -121,6 +121,8 @@ configure_minimal_system() { test -e "$DEST/dev/random" || mknod -m 0644 "$DEST/dev/random" c 1 8 test -e "$DEST/dev/urandom" || mknod -m 0644 "$DEST/dev/urandom" c 1 9 + sed -i 's|^#XferCommand = /usr/bin/curl -L|XferCommand = /usr/bin/curl -k -L|' "$DEST/etc/pacman.conf"+ sed -i 's/^DownloadUser/#DownloadUser/' "$DEST/etc/pacman.conf" sed -i "s/^[[:space:]]*\(CheckSpace\)/# \1/" "$DEST/etc/pacman.conf" sed -i "s/^[[:space:]]*SigLevel[[:space:]]*=.*$/SigLevel = Never/" "$DEST/etc/pacman.conf"Explanation:The Arch version of this script has a commit Disable DownloadUser in pacman.conf so I replicated that.However pacman was still failing to sync the databases. curl was complaining about the lack of /etc/ssl/certs/ca-certificates.crt , which is a symlink to ../../ca-certificates/extracted/tls-ca-bundle.pem that doesn't exist at this stage of the process. So I changed the curl command with -k to allow insecure connections. Which is a moot point as the script uses an http mirror anyway.I also made another commit to replace /etc/pacman.conf with the default version at the end of the process.Spoiler (click to show/hide)Code: [Select]diff --git a/artix-bootstrap.sh b/artix-bootstrap.shindex 2afa153..d9870ab 100755--- a/artix-bootstrap.sh+++ b/artix-bootstrap.sh@@ -178,6 +178,8 @@ install_packages() { cleanup_files() { DEST=$1 rm "$DEST/.BUILDINFO" "$DEST/.INSTALL" "$DEST/.MTREE" "$DEST/.PKGINFO"+ rm "$DEST/etc/pacman.conf"+ mv "$DEST/etc/pacman.conf.pacnew" "$DEST/etc/pacman.conf" } show_usage() {Not strictly necessary but made sense to me.I'm aware I may well be the only person who uses this script but as I've fixed it I may as well let you know. Last Edit: 19 March 2025, 20:32:12 by gripped
Re: [SOLVED] Bug report - artix-bootstrap Reply #5 – 19 March 2025, 19:48:37 Merged it upstream, thanks 1 Likes