Package Details: pacman-static 7.0.0.r6.gc685ae6-17

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: 2.33
First Submitted: 2013-01-09 02:17 (UTC)
Last Updated: 2025-04-17 06:10 (UTC)

Dependencies (5)

Required by (0)

Sources (26)

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
[pacman-static]
SigLevel = Required
Server = https://pkgbuild.com/~morganamilo/$repo/$arch
Pre compiled binaries

https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

andreas_baumann commented on 2025-04-17 06:06 (UTC)

  • updated curl to 8.13.0
  • updated gpgerror to 1.53
  • updated c-ares to 1.34.5
  • updated openssl to 3.5.0
  • updated xz to 5.8.1

andreas_baumann commented on 2025-04-03 10:35 (UTC) (edited on 2025-04-03 10:39 (UTC) by andreas_baumann)

third party software update:

updated libnghttp2 to 1.65.0

updated xz to 5.8.0

updated zstd to 1.5.7

updated libarchive to 3.7.9

andreas_baumann commented on 2024-12-14 07:28 (UTC) (edited on 2024-12-14 07:31 (UTC) by andreas_baumann)

This is due to some newer bash constructs (you might have to update bash first).

    # apply patch level commits on top of annotated tag for pacman
    if [[ -n ${_git_patch_level_commit} ]]; then
        if [[ v${_git_tag} != $(git describe --tags --abbrev=0 "${_git_patch_lev
            error "patch level commit ${_git_patch_level_commit} is not a descen
            exit 1
        fi
        git rebase "${_git_patch_level_commit}"
    fi

I took over the patching code from upstream: https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/blob/main/PKGBUILD?ref_type=heads#L69

I had a similar issue on some ARMv6 Archlinux ARM systems. You can just comment out everything but the git rebase "${_git_patch_level_commit}".

Which bash version do you have?

he_ruoyang commented on 2024-12-14 04:20 (UTC) (edited on 2024-12-14 04:29 (UTC) by he_ruoyang)

Is there a syntax error in line 141 of PKGBUILD?

makepkg report:

/home/user/aur/pacman-static/PKGBUILD:行141: 未预期的符号“then”附近有语法错误
/home/user/aur/pacman-static/PKGBUILD:行141: `        if [[ v${_git_tag} != $(git describe --tags --abbrev=0 "${_git_patch_level_commit}") ]] then'
==> 错误: 载入 /home/user/aur/pacman-static/PKGBUILD 失败

PKGBUILD的141行是否有语法错误?

makepkg 提示:

/home/user/aur/pacman-static/PKGBUILD:行141: 未预期的符号“then”附近有语法错误
/home/user/aur/pacman-static/PKGBUILD:行141: `        if [[ v${_git_tag} != $(git describe --tags --abbrev=0 "${_git_patch_level_commit}") ]] then'
==> 错误: 载入 /home/user/aur/pacman-static/PKGBUILD 失败

andreas_baumann commented on 2024-12-05 08:37 (UTC)

updated pacman to 7.0.0.r6.gc685ae6 and gpgme to 1.24.1

andreas_baumann commented on 2024-12-05 08:13 (UTC) (edited on 2024-12-05 08:15 (UTC) by andreas_baumann)

@txtsd: that's not up to me to decide (I'm just co-maintainer), you can ask Morganamilo directly (or eschwartz? He is still in the PKGBUILD as maintainer).

Sometimes updates take longer, because I want to make sure they also work on ARM or IA32. ;-)

txtsd commented on 2024-12-03 01:54 (UTC)

Could I have co-maintainer on this please? I'd like to help keep it up-to-speed. I {,co-}maintain a ton of packages on the AUR.

andreas_baumann commented on 2024-10-23 14:14 (UTC)

found a candidate which should probably be patched:

./scripts/pacman-key.sh.in:PACMAN_KEYRING_DIR=${PACMAN_KEYRING_DIR:-$(pacman-conf --config="$CONFIG" gpgdir)}

But I doubt a hook calls pacman-key..

andreas_baumann commented on 2024-10-23 14:07 (UTC)

strange. musl-gcc is part of the musl package which is a makedepend of the package.

There is a /usr/bin/pacman-conf-static, maybe copying that to /usr/bin/pacman-conf temporarily is an option to install libassuan. To me it's not clear which hook is calling pacman-conf..