goyawifi: dhclient is missing
Describe your issue
What's the expected behaviour?
To be able to build and install the goyawifi port
What's the current behaviour?
The pmbootstrap install
command fails. Log shown below:
[11:45:37] *** (1/3) PREPARE NATIVE CHROOT ***
[sudo] password for emo:
[11:45:47] (native) install cryptsetup util-linux parted
[11:45:50] *** (2/3) CREATE DEVICE ROOTFS ("samsung-goyawifi") ***
[11:45:51] Register qemu binfmt (arm)
[11:45:53] Update package index for armv7 (4 file(s))
[11:46:01] (rootfs_samsung-goyawifi) install postmarketos-base device-samsung-goyawifi postmarketos-ui-fbkeyboard device-samsung-goyawifi-nonfree-firmware postmarketos-base-nofde doas doas-sudo-shim font-droid font-droid-nonlatin font-twemoji
[11:46:04] NOTE: The failed command's output is above the ^^^ line in the log file: /home/emo/.local/var/pmbootstrap/log.txt
[11:46:04] ERROR: Command failed (exit code 2): /home/emo/.local/var/pmbootstrap/apk.static --no-progress --root /home/emo/.local/var/pmbootstrap/chroot_rootfs_samsung-goyawifi --arch armv7 --cache-dir /home/emo/.local/var/pmbootstrap/cache_apk_armv7 --repository /home/emo/.local/var/pmbootstrap/packages/edge --repository /home/emo/.local/var/pmbootstrap/packages/edge add --no-interactive font-twemoji font-droid-nonlatin font-droid doas-sudo-shim doas postmarketos-base-nofde device-samsung-goyawifi-nonfree-firmware postmarketos-ui-fbkeyboard device-samsung-goyawifi postmarketos-base
[11:46:04] 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://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/tags
Your version: 3.1.0
Channel: edge (pmaports: master)
Device: samsung-goyawifi (armv7)
UI: fbkeyboard
systemd: no (not supported by pmaports branch)
pmbootstrap log
output:
(020808) [11:46:01] postmarketos-base-ui-wifi: has multiple providers (postmarketos-base-ui-wifi-iwd, postmarketos-base-ui-wifi-wpa_supplicant), picked shortest: postmarketos-base-ui-wifi-iwd
(020808) [11:46:01] ifupdown-any: has multiple providers (ifupdown-ng, busybox-ifupdown), picked shortest: ifupdown-ng
(020808) [11:46:01] (rootfs_samsung-goyawifi) install postmarketos-base device-samsung-goyawifi postmarketos-ui-fbkeyboard device-samsung-goyawifi-nonfree-firmware postmarketos-base-nofde doas doas-sudo-shim font-droid font-droid-nonlatin font-twemoji
(020808) [11:46:01] % sudo mkdir -p /home/emo/.local/var/pmbootstrap/tmp
(020808) [11:46:01] % sudo rm -f /home/emo/.local/var/pmbootstrap/tmp/apk_progress_fifo
(020808) [11:46:01] % sudo mkfifo /home/emo/.local/var/pmbootstrap/tmp/apk_progress_fifo
(020808) [11:46:01] % sudo cat /home/emo/.local/var/pmbootstrap/tmp/apk_progress_fifo
(020808) [11:46:01] % sudo sh -c exec 3>/home/emo/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/emo/.local/var/pmbootstrap/apk.static --progress-fd 3 --no-progress --root /home/emo/.local/var/pmbootstrap/chroot_rootfs_samsung-goyawifi --arch armv7 --cache-dir /home/emo/.local/var/pmbootstrap/cache_apk_armv7 --repository /home/emo/.local/var/pmbootstrap/packages/edge --repository /home/emo/.local/var/pmbootstrap/packages/edge add --no-interactive font-twemoji font-droid-nonlatin font-droid doas-sudo-shim doas postmarketos-base-nofde device-samsung-goyawifi-nonfree-firmware postmarketos-ui-fbkeyboard device-samsung-goyawifi postmarketos-base ;
(020808) [11:46:01] New background process: pid=21749, output=background
fetch http://mirror.postmarketos.org/postmarketos/master/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz
ERROR: unable to select packages:
dhclient (no such package):
required by: device-samsung-goyawifi-networkmanager-dhclient-1-r0[dhclient]
(020808) [11:46:04] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(020808) [11:46:04] NOTE: The failed command's output is above the ^^^ line in the log file: /home/emo/.local/var/pmbootstrap/log.txt
(020808) [11:46:04] ERROR: Command failed (exit code 2): /home/emo/.local/var/pmbootstrap/apk.static --no-progress --root /home/emo/.local/var/pmbootstrap/chroot_rootfs_samsung-goyawifi --arch armv7 --cache-dir /home/emo/.local/var/pmbootstrap/cache_apk_armv7 --repository /home/emo/.local/var/pmbootstrap/packages/edge --repository /home/emo/.local/var/pmbootstrap/packages/edge add --no-interactive font-twemoji font-droid-nonlatin font-droid doas-sudo-shim doas postmarketos-base-nofde device-samsung-goyawifi-nonfree-firmware postmarketos-ui-fbkeyboard device-samsung-goyawifi postmarketos-base
(020808) [11:46:04] See also: <https://postmarketos.org/troubleshooting>
(020808) [11:46:04] Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/pmb/__init__.py", line 111, in main
run_command(args)
~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/commands/__init__.py", line 60, in run_command
getattr(frontend, args.action)(args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/helpers/frontend.py", line 409, in install
pmb.install.install(args)
~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/install/_install.py", line 1414, in install
create_device_rootfs(args, step, steps)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/install/_install.py", line 1353, in create_device_rootfs
pmb.chroot.apk.install(install_packages, chroot)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/chroot/apk.py", line 230, in install
install_run_apk(to_add, to_add_local, to_del, chroot)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/chroot/apk.py", line 191, in install_run_apk
pmb.helpers.apk.run(command, chroot, with_progress=(i == 0))
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/helpers/apk.py", line 221, in run
_apk_with_progress(_command)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/helpers/apk.py", line 154, in _apk_with_progress
pmb.helpers.run_core.check_return_code(p_apk.returncode, log_msg)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pmb/helpers/run_core.py", line 298, in check_return_code
raise RuntimeError(f"Command failed (exit code {str(code)}): " + log_message)
RuntimeError: Command failed (exit code 2): /home/emo/.local/var/pmbootstrap/apk.static --no-progress --root /home/emo/.local/var/pmbootstrap/chroot_rootfs_samsung-goyawifi --arch armv7 --cache-dir /home/emo/.local/var/pmbootstrap/cache_apk_armv7 --repository /home/emo/.local/var/pmbootstrap/packages/edge --repository /home/emo/.local/var/pmbootstrap/packages/edge add --no-interactive font-twemoji font-droid-nonlatin font-droid doas-sudo-shim doas postmarketos-base-nofde device-samsung-goyawifi-nonfree-firmware postmarketos-ui-fbkeyboard device-samsung-goyawifi postmarketos-base
How to reproduce your issue?
pmbootstrap init (edge, goyawifi...)
pmbootstrap install --android-recovery-zip --recovery-install-partition=external_sd
What device are you using?
samsung-goyawifi
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v24.12
-
v24.06
(supported until 2025-01-23) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: fbkeyboard (it happens regardless)
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device