`pmbootstrap install` fails during `apk add` without explaination (device bq-vegetahd)
When I am trying to install for device bq-vegetahd (https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4468) pmbootstrap install
fails, but the log doesn't explain why.
Install output:
$ pmbootstrap install
[18:41:22] *** (1/4) PREPARE NATIVE CHROOT ***
[18:41:27] (native) install cryptsetup util-linux parted
[18:41:28] *** (2/4) CREATE DEVICE ROOTFS ("bq-vegetahd") ***
[18:41:34] (rootfs_bq-vegetahd) install postmarketos-base device-bq-vegetahd postmarketos-ui-xfce4 alsa-plugins-pulse blueman faenza-icon-theme gnome-keyring greybird-themes network-manager-applet onboard pavucontrol pm-utils postmarketos-artwork-wallpapers pulseaudio unclutter-xfixes xfce4-pulseaudio-plugin xfce4-screensaver xfce4-terminal xfce4-whiskermenu-plugin postmarketos-base-nofde
[18:41:39] NOTE: The failed command's output is above the ^^^ line in the log file: /home/emanuele/.local/var/pmbootstrap/log.txt
[18:41:39] ERROR: Command failed (exit code 1): apk add postmarketos-base device-bq-vegetahd postmarketos-ui-xfce4 alsa-plugins-pulse blueman faenza-icon-theme gnome-keyring greybird-themes network-manager-applet onboard pavucontrol pm-utils postmarketos-artwork-wallpapers pulseaudio unclutter-xfixes xfce4-pulseaudio-plugin xfce4-screensaver xfce4-terminal xfce4-whiskermenu-plugin postmarketos-base-nofde
[18:41:39] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
Before you report this error, ensure that pmbootstrap is up to date.
Find the latest version here: https://git.sr.ht/~postmarketos/pmbootstrap/refs
Your version: 2.0.0
pmbootstrap log
log:
(043771) [18:41:22] % cd /home/emanuele/.local/var/pmbootstrap/cache_git/pmaports; git remote -v
TronFourtyTwo https://gitlab.com/TronFortyTwo/pmaports (fetch)
TronFourtyTwo https://gitlab.com/TronFortyTwo/pmaports (push)
origin https://gitlab.com/postmarketOS/pmaports.git (fetch)
origin https://gitlab.com/postmarketOS/pmaports.git (push)
(043771) [18:41:22] % cd /home/emanuele/.local/var/pmbootstrap/cache_git/pmaports; git show origin/master:channels.cfg
# Reference: https://postmarketos.org/channels.cfg
[channels.cfg]
recommended=edge
[edge]
description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
[v23.06]
description=Latest release / Recommended for best stability
branch_pmaports=v23.06
branch_aports=3.18-stable
mirrordir_alpine=v3.18
[v22.12]
description=Old release (unsupported)
branch_pmaports=v22.12
branch_aports=3.17-stable
mirrordir_alpine=v3.17
[v22.06]
description=Old release (unsupported)
branch_pmaports=v22.06
branch_aports=3.16-stable
mirrordir_alpine=v3.16
[v21.12]
description=Old release (unsupported)
branch_pmaports=v21.12
branch_aports=3.15-stable
mirrordir_alpine=v3.15
[v21.06]
description=Old release (unsupported)
branch_pmaports=v21.06
branch_aports=3.14-stable
mirrordir_alpine=v3.14
[v21.03]
description=Old release (unsupported)
branch_pmaports=v21.03
branch_aports=3.13-stable
mirrordir_alpine=v3.13
[v20.05]
description=Old release (unsupported)
branch_pmaports=v20.05
branch_aports=3.12-stable
mirrordir_alpine=v3.12
(043771) [18:41:22] *** (1/4) PREPARE NATIVE CHROOT ***
(043771) [18:41:22] (native) calculate depends of cryptsetup, util-linux, parted (pmbootstrap -v for details)
(043771) [18:41:27] (native) install cryptsetup util-linux parted
(043771) [18:41:27] % sudo rm -f /home/emanuele/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(043771) [18:41:27] % sudo mkfifo /home/emanuele/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(043771) [18:41:27] (native) % cat /tmp/apk_progress_fifo
(043771) [18:41:27] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add cryptsetup util-linux parted
(043771) [18:41:27] New background process: pid=43783, output=background
WARNING: opening /mnt/pmbootstrap-packages: No such file or directory
OK: 475 MiB in 145 packages
(043771) [18:41:28] *** (2/4) CREATE DEVICE ROOTFS ("bq-vegetahd") ***
(043771) [18:41:28] (rootfs_bq-vegetahd) % getent passwd user
user:x:10000:10000:Linux User,,,:/home/user:/bin/ash
(043771) [18:41:28] (rootfs_bq-vegetahd) % addgroup -S wheel
addgroup: group 'wheel' in use
(043771) [18:41:28] (rootfs_bq-vegetahd) % addgroup user wheel
(043771) [18:41:28] (rootfs_bq-vegetahd) % addgroup -S video
addgroup: group 'video' in use
(043771) [18:41:28] (rootfs_bq-vegetahd) % addgroup user video
(043771) [18:41:28] (rootfs_bq-vegetahd) % addgroup -S audio
addgroup: group 'audio' in use
(043771) [18:41:28] (rootfs_bq-vegetahd) % addgroup user audio
(043771) [18:41:29] (rootfs_bq-vegetahd) % addgroup -S input
addgroup: group 'input' in use
(043771) [18:41:29] (rootfs_bq-vegetahd) % addgroup user input
(043771) [18:41:29] (rootfs_bq-vegetahd) % addgroup -S plugdev
addgroup: group 'plugdev' in use
(043771) [18:41:29] (rootfs_bq-vegetahd) % addgroup user plugdev
(043771) [18:41:29] (rootfs_bq-vegetahd) % addgroup -S netdev
addgroup: group 'netdev' in use
(043771) [18:41:29] (rootfs_bq-vegetahd) % addgroup user netdev
(043771) [18:41:29] postmarketos-ui-xfce4: install _pmb_recommends: alsa-plugins-pulse, blueman, faenza-icon-theme, gnome-keyring, greybird-themes, network-manager-applet, onboard, pavucontrol, pm-utils, postmarketos-artwork-wallpapers, pulseaudio, unclutter-xfixes, xfce4-pulseaudio-plugin, xfce4-screensaver, xfce4-terminal, xfce4-whiskermenu-plugin
(043771) [18:41:32] (rootfs_bq-vegetahd) calculate depends of postmarketos-base, device-bq-vegetahd, postmarketos-ui-xfce4, alsa-plugins-pulse, blueman, faenza-icon-theme, gnome-keyring, greybird-themes, network-manager-applet, onboard, pavucontrol, pm-utils, postmarketos-artwork-wallpapers, pulseaudio, unclutter-xfixes, xfce4-pulseaudio-plugin, xfce4-screensaver, xfce4-terminal, xfce4-whiskermenu-plugin, postmarketos-base-nofde (pmbootstrap -v for details)
(043771) [18:41:34] (rootfs_bq-vegetahd) install postmarketos-base device-bq-vegetahd postmarketos-ui-xfce4 alsa-plugins-pulse blueman faenza-icon-theme gnome-keyring greybird-themes network-manager-applet onboard pavucontrol pm-utils postmarketos-artwork-wallpapers pulseaudio unclutter-xfixes xfce4-pulseaudio-plugin xfce4-screensaver xfce4-terminal xfce4-whiskermenu-plugin postmarketos-base-nofde
(043771) [18:41:34] % sudo rm -f /home/emanuele/.local/var/pmbootstrap/chroot_rootfs_bq-vegetahd/tmp/apk_progress_fifo
(043771) [18:41:34] % sudo mkfifo /home/emanuele/.local/var/pmbootstrap/chroot_rootfs_bq-vegetahd/tmp/apk_progress_fifo
(043771) [18:41:34] (rootfs_bq-vegetahd) % cat /tmp/apk_progress_fifo
(043771) [18:41:34] (rootfs_bq-vegetahd) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add postmarketos-base device-bq-vegetahd postmarketos-ui-xfce4 alsa-plugins-pulse blueman faenza-icon-theme gnome-keyring greybird-themes network-manager-applet onboard pavucontrol pm-utils postmarketos-artwork-wallpapers pulseaudio unclutter-xfixes xfce4-pulseaudio-plugin xfce4-screensaver xfce4-terminal xfce4-whiskermenu-plugin postmarketos-base-nofde
(043771) [18:41:34] New background process: pid=43860, output=background
1 error; 658 MiB in 572 packages
(043771) [18:41:39] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(043771) [18:41:39] NOTE: The failed command's output is above the ^^^ line in the log file: /home/emanuele/.local/var/pmbootstrap/log.txt
(043771) [18:41:39] ERROR: Command failed (exit code 1): apk add postmarketos-base device-bq-vegetahd postmarketos-ui-xfce4 alsa-plugins-pulse blueman faenza-icon-theme gnome-keyring greybird-themes network-manager-applet onboard pavucontrol pm-utils postmarketos-artwork-wallpapers pulseaudio unclutter-xfixes xfce4-pulseaudio-plugin xfce4-screensaver xfce4-terminal xfce4-whiskermenu-plugin postmarketos-base-nofde
(043771) [18:41:39] See also: <https://postmarketos.org/troubleshooting>
(043771) [18:41:39] Traceback (most recent call last):
File "/home/emanuele/vpmbootstrap/lib/python3.11/site-packages/pmb/__init__.py", line 63, in main
getattr(frontend, args.action)(args)
File "/home/emanuele/vpmbootstrap/lib/python3.11/site-packages/pmb/helpers/frontend.py", line 325, in install
pmb.install.install(args)
File "/home/emanuele/vpmbootstrap/lib/python3.11/site-packages/pmb/install/_install.py", line 1174, in install
create_device_rootfs(args, step, steps)
File "/home/emanuele/vpmbootstrap/lib/python3.11/site-packages/pmb/install/_install.py", line 1117, in create_device_rootfs
pmb.chroot.apk.install(args, install_packages, suffix)
File "/home/emanuele/vpmbootstrap/lib/python3.11/site-packages/pmb/chroot/apk.py", line 243, in install
install_run_apk(args, to_add_no_deps, to_add_local, to_del, suffix)
File "/home/emanuele/vpmbootstrap/lib/python3.11/site-packages/pmb/chroot/apk.py", line 198, in install_run_apk
pmb.helpers.apk.apk_with_progress(args, ["apk"] + command,
File "/home/emanuele/vpmbootstrap/lib/python3.11/site-packages/pmb/helpers/apk.py", line 110, in apk_with_progress
pmb.helpers.run_core.check_return_code(args, p_apk.returncode,
File "/home/emanuele/vpmbootstrap/lib/python3.11/site-packages/pmb/helpers/run_core.py", line 251, in check_return_code
raise RuntimeError(f"Command failed (exit code {str(code)}): " +
RuntimeError: Command failed (exit code 1): apk add postmarketos-base device-bq-vegetahd postmarketos-ui-xfce4 alsa-plugins-pulse blueman faenza-icon-theme gnome-keyring greybird-themes network-manager-applet onboard pavucontrol pm-utils postmarketos-artwork-wallpapers pulseaudio unclutter-xfixes xfce4-pulseaudio-plugin xfce4-screensaver xfce4-terminal xfce4-whiskermenu-plugin postmarketos-base-nofde