I've try to run pacman-static under debian wheezy.
I can run "help" (-h) but if i use "pacman-static -Syy" it says:
error: failed to initialize alpm library (could not find or read directory)
Search Criteria
Package Details: pacman-static 7.0.0.r6.gc685ae6-16
Package Actions
Git Clone URL: | https://aur.archlinux.org/pacman-static.git (read-only, click to copy) |
---|---|
Package Base: | pacman-static |
Description: | Statically-compiled pacman (to fix or install systems without libc) |
Upstream URL: | https://www.archlinux.org/pacman/ |
Licenses: | GPL-2.0-or-later |
Submitter: | mazieres |
Maintainer: | Morganamilo (andreas_baumann) |
Last Packager: | andreas_baumann |
Votes: | 65 |
Popularity: | 3.31 |
First Submitted: | 2013-01-09 02:17 (UTC) |
Last Updated: | 2025-04-03 10:34 (UTC) |
Dependencies (5)
- pacman (pacman-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- kernel-headers-musl (make)
- meson (meson-gitAUR) (make)
- musl (musl-gitAUR) (make)
Required by (0)
Sources (26)
- ca-dir.patch
- git+https://github.com/tukaani-project/xz#tag=v5.8.0
- git+https://gitlab.archlinux.org/pacman/pacman.git#tag=v7.0.0?signed
- https://curl.haxx.se/download/curl-8.12.1.tar.gz
- https://curl.haxx.se/download/curl-8.12.1.tar.gz.asc
- https://github.com/c-ares/c-ares/releases/download/v1.34.4/c-ares-1.34.4.tar.gz
- https://github.com/c-ares/c-ares/releases/download/v1.34.4/c-ares-1.34.4.tar.gz.asc
- https://github.com/facebook/zstd/releases/download/v1.5.7/zstd-1.5.7.tar.zst
- https://github.com/facebook/zstd/releases/download/v1.5.7/zstd-1.5.7.tar.zst.sig
- https://github.com/libarchive/libarchive/releases/download/v3.7.9/libarchive-3.7.9.tar.xz
- https://github.com/libarchive/libarchive/releases/download/v3.7.9/libarchive-3.7.9.tar.xz.asc
- https://github.com/nghttp2/nghttp2/releases/download/v1.65.0/nghttp2-1.65.0.tar.xz
- https://github.com/openssl/openssl/releases/download/openssl-3.4.1/openssl-3.4.1.tar.gz
- https://github.com/openssl/openssl/releases/download/openssl-3.4.1/openssl-3.4.1.tar.gz.asc
- https://gnupg.org/ftp/gcrypt/libassuan/libassuan-3.0.0.tar.bz2
- https://gnupg.org/ftp/gcrypt/libassuan/libassuan-3.0.0.tar.bz2.sig
- https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.51.tar.bz2
- https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.51.tar.bz2.sig
- https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
- https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz.sig
- https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.24.2.tar.bz2
- https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.24.2.tar.bz2.sig
- https://zlib.net/zlib-1.3.1.tar.gz
- https://zlib.net/zlib-1.3.1.tar.gz.asc
- openssl-3.0.7-no-atomic.patch
- pacman-revertme-makepkg-remove-libdepends-and-libprovides.patch
<deleted-account> commented on 2013-08-01 14:10 (UTC)
axlrose commented on 2013-03-23 10:16 (UTC)
nice work
mazieres commented on 2013-01-09 02:35 (UTC)
If you are totally hosed, to the point that even gpg cannot run to verify signatures, but you still have a root shell, you must do the following:
# cat > /tmp/conf <<EOF
[options]
Architecture = auto
SigLevel = Never
[core]
Include = /etc/pacman.d/mirrorlist
EOF
# pacman-static --config /tmp/conf -S glibc
...
Pinned Comments
Morganamilo commented on 2022-02-20 18:30 (UTC)
There's now a custom repo and binaries again. Though only for x86_64 currently.
Custom Repo
Pre compiled binaries
https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/