tokland / arch-bootstrap

Bootstrap a base Arch Linux system
312 stars 88 forks source link

Error: cannot find package: archlinux-keyring #45

Open rajil opened 4 years ago

rajil commented 4 years ago

Got the following error:


# /usr/local/bin/arch-bootstrap -a x86_64 -r "http://mirror.aktkn.sg/archlinux/" /mnt/arch
--- destination directory: /mnt/arch
--- core repository: http://mirror.aktkn.sg/archlinux/core/os/x86_64
--- temporary directory: /tmp/tmp.sDYR1Glicf
--- fetch packages list: http://mirror.aktkn.sg/archlinux/core/os/x86_64/
--- pacman package and dependencies: acl archlinux-keyring attr bzip2 curl expat glibc gpgme libarchive libassuan libgpg-error libnghttp2 libssh2 lzo openssl pacman pacman-mirrorlist xz zlib krb5 e2fsprogs keyutils libidn2 libunistring gcc-libs lz4 libpsl icu libunistring zstd filesystem
--- download package: http://mirror.aktkn.sg/archlinux/core/os/x86_64/acl-2.2.53-2-x86_64.pkg.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  131k  100  131k    0     0   586k      0 --:--:-- --:--:-- --:--:--  589k
--- uncompress package: /tmp/tmp.sDYR1Glicf/acl-2.2.53-2-x86_64.pkg.tar.xz
--- Error: cannot find package: archlinux-keyring
tiredofit commented 4 years ago

See #44 for fix

Noahmatada commented 4 years ago

I too have this problem, and this did not fix it.

nerdroychan commented 4 years ago

Same problem here.

nerdroychan commented 4 years ago

See #44 for fix

Can confirm this patch works. New zstd support is necessary for future bootstrap..

rolfen commented 4 years ago

The archlinux-keyring package is a zstd file.

@Noahmatada

The fix #44 should work I did the same changes and it worked for me.

This is the fixed script: https://raw.githubusercontent.com/tiredofit/arch-bootstrap/support-zst/arch-bootstrap.sh

bensuperpc commented 3 years ago

The archlinux-keyring package is a zstd file.

@Noahmatada

The fix #44 should work I did the same changes and it worked for me.

This is the fixed script: https://raw.githubusercontent.com/tiredofit/arch-bootstrap/support-zst/arch-bootstrap.sh

I haver same issue but i can't fetch packages :/

--- fetch packages list: ftp://ftp.archlinux.org/core/os/x86_64/
--- Error: cannot fetch packages list: ftp://ftp.archlinux.org/core/os/x86_64
--- pacman package and dependencies: acl archlinux-keyring attr bzip2 curl expat glibc gpgme libarchive libassuan libgpg-error libnghttp2 libssh2 lzo openssl pacman pacman-mirrorlist xz zlib krb5 e2fsprogs keyutils libidn2 libunistring gcc-libs lz4 libpsl icu libunistring zstd filesystem
--- Error: cannot find package: acl