You are not logged in.

#1 2026-11-06 23:40:13

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 335
Website

Issue with aur package and archiso

I am seeing an issue when adding the boxes package to an archiso image. This is difficult to troubleshoot because it is intermittent. In my latest failed attempt I got the following:

mkarchiso

[mkarchiso] INFO: Validating options...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: mkarchiso configuration settings
[mkarchiso] INFO:              Architecture:   x86_64
[mkarchiso] INFO:         Working directory:   /tmp/mkarchiso
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:                Build date:   2026-11-06T18:31-0500
[mkarchiso] INFO:          Output directory:   /tmp/archsetup/out
[mkarchiso] INFO:        Current build mode:   iso
[mkarchiso] INFO:               Build modes:   iso
[mkarchiso] INFO:                   GPG key:   None
[mkarchiso] INFO:                GPG signer:   None
[mkarchiso] INFO: Code signing certificates:   None
[mkarchiso] INFO:                   Profile:   /tmp/archsetup
[mkarchiso] INFO: Pacman configuration file:   /tmp/archsetup/pacman.conf
[mkarchiso] INFO:           Image file name:   archlinux-11.06.1831-x86_64.iso
[mkarchiso] INFO:          ISO volume label:   Arch-11.06.1831
[mkarchiso] INFO:             ISO publisher:   Arch Linux <https://archlinux.org>
[mkarchiso] INFO:           ISO application:   Arch Linux Live/Rescue DVD
[mkarchiso] INFO:                Boot modes:   bios.syslinux uefi.grub
[mkarchiso] INFO:             Packages File:   /tmp/archsetup/packages
[mkarchiso] INFO:                  Packages:   base arch-install-scripts linux fish linux-firmware-amdgpu linux-firmware-realtek linux-firmware-mediatek amd-ucode efibootmgr grub syslinux edk2-shell xfsprogs dosfstools mtools squashfs-tools mkinitcpio-archiso figlet parted rsync bat mkinitcpio vim memtest86+-efi memtest86+ unzip eza lolcat boxes iwd wireless-regdb reflector terminus-font
[mkarchiso] INFO: Copying custom pacman.conf to work directory...
[mkarchiso] INFO: Using pacman CacheDir: /var/cache/pacman/pkg/
[mkarchiso] INFO: Copying custom airootfs files...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Installing packages to '/tmp/mkarchiso/x86_64/airootfs/'...
==> Creating install root at /tmp/mkarchiso/x86_64/airootfs
==> Installing packages to /tmp/mkarchiso/x86_64/airootfs
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 localrepo downloading...
resolving dependencies...
:: There are 2 providers available for libxtables.so=12-64:
:: Repository core
   1) iptables  2) iptables-legacy

Enter a number (default=1):
looking for conflicting packages...

Package (195)                 New Version                 Net Change  Download Size

core/acl                      2.4.0-1                       0.34 MiB
core/archlinux-keyring        20260909-1                    1.73 MiB
core/attr                     2.6.0-1                       0.23 MiB
core/audit                    4.2.1-1                       1.05 MiB
core/bash                     5.3.20-1                      9.59 MiB
core/binutils                 2.47-4                       43.76 MiB
core/brotli                   1.2.1-1                       1.06 MiB
core/bzip2                    1.0.8-6                       0.14 MiB
core/ca-certificates          20240618-1                    0.00 MiB
core/ca-certificates-mozilla  3.133-1                       1.00 MiB
core/ca-certificates-utils    20240618-1                    0.01 MiB
core/coreutils                9.12-2                       17.66 MiB
core/cryptsetup               2.8.8-1                       3.62 MiB
core/curl                     8.23.0-1                      2.27 MiB
core/dbus                     1.16.2-2                      1.01 MiB
core/dbus-broker              37-3                          0.35 MiB
core/dbus-broker-units        37-3                          0.00 MiB
core/dbus-units               37-3                          0.00 MiB
core/device-mapper            2.03.44-1                     0.83 MiB
core/diffutils                3.12-2                        1.50 MiB
core/e2fsprogs                1.47.4-1                      5.28 MiB
core/efivar                   39-2                          0.53 MiB
extra/ell                     0.83-1                        0.65 MiB
core/expat                    2.10.0-1                      0.53 MiB
core/file                     5.48-1                       10.53 MiB
core/filesystem               2025.10.12-1                  0.02 MiB
core/findutils                4.11.0-1                      1.87 MiB
core/gawk                     5.4.1-1                       4.09 MiB
core/gcc-libs                 16.2.1+r23+gd564253eb6c8-1    0.00 MiB
core/gdbm                     1.26-2                        0.72 MiB
core/gettext                  1.0-2                        20.79 MiB
core/glib2                    2.90.1-1                     38.39 MiB
core/glibc                    2.44+r50+g1848099f063e-1     50.66 MiB
core/gmp                      6.3.0-3                       1.01 MiB
core/gnulib-l10n              20241231-1                    0.61 MiB
core/gnupg                    2.4.9-4                      10.41 MiB
core/gnutls                   3.8.13-3                      8.22 MiB
core/gpgme                    2.2.0-1                       0.77 MiB
core/gpm                      1.20.7.r38.ge82d1a6-7         0.38 MiB
core/grep                     3.12-2                        0.88 MiB
core/gzip                     1.15-1                        0.17 MiB
core/hwdata                   0.412-1                      10.08 MiB
core/iana-etc                 20260617-1                    4.02 MiB
core/icu                      78.3-1                       43.23 MiB
core/iproute2                 7.3.0-1                       3.11 MiB
core/iptables                 1:1.8.13-1                    2.35 MiB
core/iputils                  20250605-1                    0.65 MiB
core/iw                       6.17-1                        0.28 MiB
core/jansson                  2.15.1-1                      0.27 MiB
core/json-c                   0.19-1                        0.19 MiB
core/kbd                      2.10.0-1                      3.29 MiB
core/keyutils                 1.6.3-4                       0.20 MiB
core/kmod                     34.3-1                        0.34 MiB
core/krb5                     1.22.2-1                      4.72 MiB
core/leancrypto               1.9.1-1                       7.01 MiB
core/libarchive               3.8.11-1                      1.28 MiB
core/libasan                  16.2.1+r23+gd564253eb6c8-1    1.88 MiB
core/libassuan                3.0.0-1                       0.23 MiB
core/libatomic                16.2.1+r23+gd564253eb6c8-1    0.04 MiB
core/libbpf                   1.7.0-1                       0.82 MiB
core/libcap                   2.78-1                        2.08 MiB
core/libcap-ng                0.9.6-1                       0.17 MiB
core/libedit                  20260512_3.1-1                0.27 MiB
core/libelf                   0.197-1                       3.33 MiB
core/libevent                 2.1.13-2                      1.21 MiB
core/libffi                   3.8.0-1                       0.11 MiB
core/libgcc                   16.2.1+r23+gd564253eb6c8-1    0.18 MiB
core/libgcrypt                1.12.4-1                      1.96 MiB
core/libgfortran              16.2.1+r23+gd564253eb6c8-1    3.51 MiB
extra/libgit2                 1:1.9.7-1                     3.16 MiB
core/libgomp                  16.2.1+r23+gd564253eb6c8-1    0.43 MiB
core/libgpg-error             1.61-1                        1.14 MiB
core/libhwasan                16.2.1+r23+gd564253eb6c8-1    0.72 MiB
core/libidn2                  2.3.8-1                       0.37 MiB
core/libinih                  62-2                          0.06 MiB
core/libksba                  1.8.1-1                       0.34 MiB
core/libldap                  2.7.2-2                       0.64 MiB
core/liblsan                  16.2.1+r23+gd564253eb6c8-1    0.55 MiB
core/libmakepkg-dropins       20-2                          0.01 MiB
core/libmnl                   1.0.5-2                       0.03 MiB
core/libnetfilter_conntrack   1.1.1-1                       0.16 MiB
core/libnfnetlink             1.0.2-2                       0.05 MiB
core/libnftnl                 1.3.2-1                       0.26 MiB
core/libnghttp2               1.71.0-1                      0.39 MiB
core/libnghttp3               1.19.0-1                      0.27 MiB
core/libngtcp2                1.26.0-1                      0.75 MiB
core/libnl                    3.12.0-1                      2.12 MiB
core/libnsl                   2.0.1-2                       0.07 MiB
core/libobjc                  16.2.1+r23+gd564253eb6c8-1    0.09 MiB
core/libp11-kit               0.26.5-1                      3.31 MiB
core/libpcap                  1.11.0-1                      0.69 MiB
core/libpsl                   0.21.5-2                      0.22 MiB
core/libquadmath              16.2.1+r23+gd564253eb6c8-1    0.30 MiB
core/libsasl                  2.1.28-5                      0.50 MiB
core/libseccomp               2.6.0-1                       0.31 MiB
core/libsecret                0.21.8.2-1                    1.09 MiB
core/libssh2                  1.11.1-7                      0.49 MiB
core/libstdc++                16.2.1+r23+gd564253eb6c8-1    2.81 MiB
extra/libsysprof-capture      51.0-1                        0.28 MiB
core/libtasn1                 4.21.0-1                      0.27 MiB
core/libtirpc                 1.3.8-1                       0.43 MiB
core/libtsan                  16.2.1+r23+gd564253eb6c8-1    1.46 MiB
core/libubsan                 16.2.1+r23+gd564253eb6c8-1    0.50 MiB
core/libunistring             1.4.2-1                       2.73 MiB
extra/liburcu                 0.15.7-1                      0.73 MiB
core/libusb                   1.0.30-1                      0.23 MiB
core/libverto                 0.3.2-6                       0.07 MiB
core/libxcrypt                4.5.2-1                       0.19 MiB
core/libxml2                  2.15.4-1                      3.07 MiB
extra/libyaml                 0.2.5-3                       0.18 MiB
core/licenses                 20240728-1                    1.54 MiB
core/linux-api-headers        7.3-1                         7.07 MiB
core/linux-firmware-whence    20261019-1                    0.49 MiB
extra/llhttp                  9.3.1-1                       0.11 MiB
extra/lmdb                    0.9.35-1                      0.40 MiB
core/lz4                      1:1.11.0-1                    0.52 MiB
core/lzo                      2.10-5                        0.38 MiB
core/mkinitcpio-busybox       1.36.1-1                      0.51 MiB
core/mpdecimal                4.0.1-3                       0.32 MiB
core/mpfr                     4.2.2-1                       1.01 MiB
core/ncurses                  6.6-2                         4.09 MiB
core/nettle                   4.0-1                         1.03 MiB
extra/nftables                1:1.1.7-3                     1.15 MiB
core/npth                     1.8-1                         0.08 MiB
extra/oniguruma               6.9.10-3                      0.87 MiB
core/openssl                  3.6.5-1                      12.26 MiB
core/p11-kit                  0.26.5-1                      1.14 MiB
core/pacman                   7.1.0.r9.g54d9411-3           5.04 MiB
core/pacman-mirrorlist        20260610-1                    0.03 MiB
core/pam                      1.7.3-1                       2.94 MiB
core/pambase                  20260616-1                    0.00 MiB
core/pciutils                 3.15.0-1                      0.41 MiB
core/pcre2                    10.49-1                       7.11 MiB
core/pinentry                 1.3.3-1                       0.66 MiB
core/popt                     1.19-2                        0.23 MiB
core/procps-ng                4.0.7-1                       2.55 MiB
core/psmisc                   23.7-2                        0.76 MiB
core/python                   3.14.9-1                     73.88 MiB
core/readline                 8.3.6-1                       1.50 MiB
extra/ruby                    3.4.12-1                     16.94 MiB
extra/ruby-erb                4.0.4.1-1                     0.10 MiB
extra/ruby-manpages           0.6.1-8                       0.05 MiB
extra/ruby-optimist           3.2.1-1                       0.15 MiB
extra/ruby-paint              2.3.0-6                       0.07 MiB
extra/ruby-rdoc               6.14.0-1                      3.17 MiB
extra/rubygems        warning: couldn't find or create package cache, using /tmp/ instead
        3.6.9-1                       2.73 MiB
core/sed                      4.10-2                        0.71 MiB
core/shadow                   4.20.0.arch1-1                3.59 MiB
core/sqlite                   3.54.1-1                     16.98 MiB
core/systemd                  262.1-1                      40.57 MiB
core/systemd-libs             262.1-1                       3.78 MiB
core/systemd-sysvcompat       262.1-1                       0.00 MiB
core/tar                      1.35-5                        2.80 MiB
core/tpm2-tss                 4.2.0-2                       3.65 MiB
core/tzdata                   2026f-1                       1.66 MiB
core/util-linux               2.42.4-1                     19.96 MiB
core/util-linux-libs          2.42.4-1                      1.39 MiB
extra/vim-runtime             9.2.1178-1                   38.81 MiB       7.68 MiB
extra/xxhash                  0.8.4-1                       0.42 MiB
core/xz                       5.8.4-1                       2.86 MiB
core/zlib                     1:1.3.2-4                     0.22 MiB
core/zstd                     1.5.7-3                       1.54 MiB
core/amd-ucode                20261019-1                    0.59 MiB
extra/arch-install-scripts    32-1                          0.04 MiB
core/base                     3-3                           0.00 MiB
extra/bat                     0.26.1-3                      5.10 MiB
localrepo/boxes               2.3.2-1                       0.23 MiB
core/dosfstools               4.2-5                         0.40 MiB
extra/edk2-shell              202608-1                      6.19 MiB       0.94 MiB
core/efibootmgr               18-4                          0.08 MiB
extra/eza                     0.23.5-2                      1.83 MiB
extra/figlet                  2.2.5-6                       0.63 MiB
extra/fish                    4.9.3-1                      18.24 MiB
core/grub                     2:2.16-1                     43.16 MiB
extra/iwd                     3.12-2                        2.21 MiB
core/linux                    7.2.14.arch1-1              161.64 MiB
core/linux-firmware-amdgpu    20261019-1                   27.78 MiB
core/linux-firmware-mediatek  20261019-1                   37.00 MiB
core/linux-firmware-realtek   20261019-1                    8.64 MiB
extra/lolcat                  100.0.1-5                     0.13 MiB
extra/memtest86+              9.00-1                        0.20 MiB       0.09 MiB
extra/memtest86+-efi          9.00-1                        0.40 MiB       0.17 MiB
core/mkinitcpio               42.2-1                        0.21 MiB
extra/mkinitcpio-archiso      73-1                          0.05 MiB       0.02 MiB
extra/mtools                  1:4.0.50-1                    0.39 MiB
extra/parted                  3.8-1                         2.67 MiB
extra/reflector               2023-5                        0.15 MiB
extra/rsync                   3.5.2-1                       0.86 MiB
extra/squashfs-tools          4.7.5-1                       0.92 MiB
core/syslinux                 6.04.pre3.r3.g05ac953c-5      4.26 MiB       1.38 MiB
extra/terminus-font           4.49.1-8                      3.03 MiB
extra/unzip                   6.0-23                        0.30 MiB
extra/vim                     9.2.1178-1                    5.40 MiB       2.54 MiB
core/wireless-regdb           2026.09.03-1                  0.02 MiB
core/xfsprogs                 7.2.1-1                       4.64 MiB

Total Download Size:    12.81 MiB
Total Installed Size:  998.59 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 vim-runtime-9.2.1178-1-x86_64 downloading...
 vim-9.2.1178-1-x86_64 downloading...
 syslinux-6.04.pre3.r3.g05ac953c-5-x86_64 downloading...
 edk2-shell-202608-1-any downloading...
 memtest86+-efi-9.00-1-any downloading...
 boxes-2.3.2-1-x86_64 downloading...
 memtest86+-9.00-1-any downloading...
 mkinitcpio-archiso-73-1-any downloading...
checking keyring...
checking package integrity...
error: failed to commit transaction (invalid or corrupted package)
:: File /var/cache/pacman/pkg/boxes-2.3.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n]
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root
[mkarchiso] INFO: Done! Packages installed successfully.
[mkarchiso] INFO: Creating version files...
touch: cannot touch '/tmp/mkarchiso/x86_64/airootfs/usr/lib/clock-epoch': No such file or directory

The error message at the end is correct.
There is no path /tmp/mkarchiso/x86_64/ even when mkarchiso runs successfully.
At this point the pattern of failure in unknown to me.

Last edited by lenhuppe (2026-11-09 20:51:16)

Offline

#2 2026-11-07 01:13:03

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,729
Website

Re: Issue with aur package and archiso

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2026-11-07 10:32:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,582

Re: Issue with aur package and archiso

error: failed to commit transaction (invalid or corrupted package)
:: File /var/cache/pacman/pkg/boxes-2.3.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n]
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root

Try re-running mkarchiso, if it fails with the same message again something may be wrong with your localrepo .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2026-11-07 11:07:20

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 335
Website

Re: Issue with aur package and archiso

Lone_Wolf wrote:
error: failed to commit transaction (invalid or corrupted package)
:: File /var/cache/pacman/pkg/boxes-2.3.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n]
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root

Try re-running mkarchiso, if it fails with the same message again something may be wrong with your localrepo .

localrepo>config.fish

#!/usr/bin/env fish

# repo directory
set repo /archive/localrepo_(stamp)
mkdir -p $repo

set repo_list \
    # pamac
    libpamac-aur pamac-aur \
    # sensors
    gnome-shell-extension-freon \
    # apps
    opera vim-airline vim-airline-themes \
    # tools
    sysz boxes paru-bin

# build
for pkg in $repo_list
    set build /tmp/$pkg
    if test -d $build
        rm -rf $build
    end
    prnt "Building $pkg"
    git clone https://aur.archlinux.org/$pkg $build
    makepkg -D $build --noconfirm -sic PKGDEST=$repo
    repo-add -n $repo/localrepo.db.tar.zst $repo/"$pkg"*.pkg.tar.zst
end

pacman.conf

[localrepo]
SigLevel = Optional TrustAll
Server = file:///archive/localrepo

This is how I am building my repo, and how I am configuring pacman.
Boxes is installing onto the localhost and working as expedited.
I am no longer able to use the repo to add it to an iso image.
I can add vim-airline to an iso with no apparent issues.

Last edited by lenhuppe (2026-11-08 00:20:43)

Offline

#5 2026-11-08 12:11:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,582

Re: Issue with aur package and archiso

Noting suspicious in that config.

Please upload packages.x86_64 to somewhere public.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2026-11-09 02:16:04

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 335
Website

Re: Issue with aur package and archiso

Lone_Wolf wrote:

Noting suspicious in that config.

Please upload packages.x86_64 to somewhere public.

I don't use any public places ... perhaops you can suggest one?
Meanwhile this is the package list I am using.
As you can see my ISO is small coming in well under a gig.

packages.x86_64

base
arch-install-scripts
linux
fish
linux-firmware-amdgpu
linux-firmware-realtek
linux-firmware-mediatek
amd-ucode
efibootmgr
grub
syslinux
edk2-shell
xfsprogs
dosfstools
mtools
squashfs-tools
iwd
wireless-regdb
reflector
terminus-font
ttf-nerd-fonts-symbols
mkinitcpio-archiso
figlet
parted
rsync
bat
mkinitcpio
memtest86+-efi
memtest86+
unzip
eza
lolcat
git
vim

At this point boxes is the only aur package I would like to add.
I need to find detailed instructions on building a trusted repo.
That seems like the next thing to try.

Offline

#7 2026-11-09 09:02:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,015

Re: Issue with aur package and archiso

google drive or (depending on the package size) some pastebin - nb.

md5sum /var/cache/pacman/pkg/boxes-2.3.2-1-x86_64.pkg.tar.zst
find /archive/localrepo/ -name boxes-2.3.2-1-x86_64.pkg.tar.zst -exec md5sum {} ';'

Is /archive/localrepo a *local* path or some NFS/SMB share?

Online

#8 2026-11-09 12:27:51

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 335
Website

Re: Issue with aur package and archiso

seth wrote:

google drive or (depending on the package size) some pastebin - nb.

md5sum /var/cache/pacman/pkg/boxes-2.3.2-1-x86_64.pkg.tar.zst
find /archive/localrepo/ -name boxes-2.3.2-1-x86_64.pkg.tar.zst -exec md5sum {} ';'

Is /archive/localrepo a *local* path or some NFS/SMB share?

Today I rebuilt the repo and the md5sums were different.
The way that I use the repo is to copy it into my ISO, and then copy it to a fresh install to be used as part of the installation process.
So far that works as expected. For what its worth here is my script.
Lastly /archive/localrepo is a local file system.

Offline

#9 2026-11-09 14:21:19

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 335
Website

Re: Issue with aur package and archiso

I think that I figured it out. Its a pacman cache issue.
Because I tinker as I learn, I need to clean my cache.
Before running mkarchiso I did the following:

find /var/cache/pacman/pkg -name "download-*" -type d -exec sudo rm -rf {} \;
yes | sudo pacman -Scc

Last edited by lenhuppe (2026-11-09 15:03:40)

Offline

Board footer

Powered by FluxBB