Steps to reproduce:
- lauch ubuntu 26.04 contianer
docker run -it ubuntu:26.04 /bin/bash
- run apt update
apt update
- install curl
apt -y install curl
- download current version of salt-bootstrap from develop branch
curl -L https://raw.githubusercontent.com/saltstack/salt-bootstrap/develop/bootstrap-salt.sh > bootstrap-salt.sh
- run bootstrap install
bash bootstrap-salt.sh -XUdfPD -x python3 onedir 3008.0
Output
root@892b3d715338:/# bash bootstrap-salt.sh -XUdfPD -x python3 onedir 3008.0
* INFO: Running version: 2026.05.20
* INFO: Executed by: bash
* INFO: Command line: 'bootstrap-salt.sh -XUdfPD -x python3 onedir 3008.0'
* ERROR: systemctl: command not found, assume systemd not implemented, _SYSTEMD_FUNCTIONAL 0
* INFO: System Information:
* INFO: CPU: GenuineIntel
* INFO: CPU Arch: x86_64
* INFO: OS Name: Linux
* INFO: OS Version: 6.1.0-48-amd64
* INFO: Distribution: Ubuntu 26.04
* DEBUG: Binaries will be searched using the following $PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
* INFO: Installing minion
* INFO: Daemons will not be started
* DEBUG: install_ubuntu_26_onedir_deps not found....
* DEBUG: install_ubuntu_26_04_onedir_deps not found....
* DEBUG: install_ubuntu_26_deps not found....
* DEBUG: install_ubuntu_26_04_deps not found....
* INFO: Found function install_ubuntu_onedir_deps
* DEBUG: DEPS_INSTALL_FUNC=install_ubuntu_onedir_deps
* DEBUG: config_ubuntu_26_onedir_salt not found....
* DEBUG: config_ubuntu_26_04_onedir_salt not found....
* DEBUG: config_ubuntu_26_salt not found....
* DEBUG: config_ubuntu_26_04_salt not found....
* DEBUG: config_ubuntu_onedir_salt not found....
* DEBUG: config_ubuntu_salt not found....
* INFO: Found function config_salt
* DEBUG: CONFIG_SALT_FUNC=config_salt
* DEBUG: preseed_ubuntu_26_onedir_master not found....
* DEBUG: preseed_ubuntu_26_04_onedir_master not found....
* DEBUG: preseed_ubuntu_26_master not found....
* DEBUG: preseed_ubuntu_26_04_master not found....
* DEBUG: preseed_ubuntu_onedir_master not found....
* DEBUG: preseed_ubuntu_master not found....
* INFO: Found function preseed_master
* DEBUG: PRESEED_MASTER_FUNC=preseed_master
* DEBUG: INSTALL_FUNC_NAMES=install_ubuntu_26_onedir install_ubuntu_26_04_onedir install_ubuntu_onedir
* DEBUG: install_ubuntu_26_onedir not found....
* DEBUG: install_ubuntu_26_04_onedir not found....
* INFO: Found function install_ubuntu_onedir
* DEBUG: INSTALL_FUNC=install_ubuntu_onedir
* DEBUG: install_ubuntu_26_onedir_post not found....
* DEBUG: install_ubuntu_26_04_onedir_post not found....
* DEBUG: install_ubuntu_26_post not found....
* DEBUG: install_ubuntu_26_04_post not found....
* DEBUG: install_ubuntu_onedir_post not found....
* DEBUG: install_ubuntu_post not found....
* DEBUG: POST_INSTALL_FUNC=null
* DEBUG: install_ubuntu_26_onedir_restart_daemons not found....
* DEBUG: install_ubuntu_26_04_onedir_restart_daemons not found....
* DEBUG: install_ubuntu_26_restart_daemons not found....
* DEBUG: install_ubuntu_26_04_restart_daemons not found....
* DEBUG: install_ubuntu_onedir_restart_daemons not found....
* INFO: Found function install_ubuntu_restart_daemons
* DEBUG: STARTDAEMONS_INSTALL_FUNC=install_ubuntu_restart_daemons
* DEBUG: daemons_running_ubuntu_26_onedir not found....
* DEBUG: daemons_running_ubuntu_26_04_onedir not found....
* DEBUG: daemons_running_ubuntu_26 not found....
* DEBUG: daemons_running_ubuntu_26_04 not found....
* DEBUG: daemons_running_ubuntu_onedir not found....
* DEBUG: daemons_running_ubuntu not found....
* INFO: Found function daemons_running_onedir
* DEBUG: DAEMONS_RUNNING_FUNC=daemons_running_onedir
* DEBUG: CHECK_SERVICES_FUNC=null
* INFO: Running install_ubuntu_onedir_deps()
* WARN: Not starting daemons on Debian based distributions is not working mostly because starting them is the default behaviour.
Hit:1 http://security.ubuntu.com/ubuntu resolute-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu resolute InRelease
Hit:3 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
base-files libgcrypt20 sed
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 941 kB of archives.
After this operation, 3072 B disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 base-files amd64 14ubuntu6.1 [75.0 kB]
Get:2 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 sed amd64 4.9-2ubuntu1 [195 kB]
Get:3 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 libgcrypt20 amd64 1.12.0-2ubuntu0.1 [670 kB]
Fetched 941 kB in 0s (7230 kB/s)
(Reading database ... 9571 files and directories currently installed.)
Preparing to unpack .../base-files_14ubuntu6.1_amd64.deb ...
Unpacking base-files (14ubuntu6.1) over (14ubuntu6) ...
Setting up base-files (14ubuntu6.1) ...
(Reading database ... 9571 files and directories currently installed.)
Preparing to unpack .../sed_4.9-2ubuntu1_amd64.deb ...
Unpacking sed (4.9-2ubuntu1) over (4.9-2build3) ...
Setting up sed (4.9-2ubuntu1) ...
(Reading database ... 9571 files and directories currently installed.)
Preparing to unpack .../libgcrypt20_1.12.0-2ubuntu0.1_amd64.deb ...
Unpacking libgcrypt20:amd64 (1.12.0-2ubuntu0.1) over (1.12.0-2) ...
Setting up libgcrypt20:amd64 (1.12.0-2ubuntu0.1) ...
Processing triggers for libc-bin (2.43-2ubuntu2) ...
* DEBUG: __install_saltstack_ubuntu_onedir_repository() entry
Reading package lists...
Building dependency tree...
Reading state information...
ca-certificates is already the newest version (20260223).
ca-certificates set to manually installed.
Solving dependencies...
The following additional packages will be installed:
adduser dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf
gpgsm libassuan9 libksba8 liblastlog2-2 libnpth0t64 libreadline8t64
libsqlite3-0 pinentry-curses readline-common
Suggested packages:
liblocale-gettext-perl perl cron quota ecryptfs-utils dbus-user-session
libpam-systemd pinentry-gnome3 tor gpg-wks-server parcimonie xloadimage
scdaemon tpm2daemon pinentry-doc readline-doc
The following NEW packages will be installed:
adduser apt-transport-https dirmngr gnupg gnupg-l10n gnupg-utils gpg
gpg-agent gpg-wks-client gpgconf gpgsm libassuan9 libksba8 liblastlog2-2
libnpth0t64 libreadline8t64 libsqlite3-0 pinentry-curses readline-common
util-linux-extra wget
0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
Need to get 4226 kB of archives.
After this operation, 10.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu resolute/main amd64 adduser all 3.153ubuntu1 [194 kB]
Get:2 http://archive.ubuntu.com/ubuntu resolute/main amd64 readline-common all 8.3-4 [61.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu resolute/main amd64 libreadline8t64 amd64 8.3-4 [164 kB]
Get:4 http://archive.ubuntu.com/ubuntu resolute/main amd64 libsqlite3-0 amd64 3.46.1-9 [722 kB]
Get:5 http://archive.ubuntu.com/ubuntu resolute/main amd64 wget amd64 1.25.0-2ubuntu4 [353 kB]
Get:6 http://archive.ubuntu.com/ubuntu resolute/universe amd64 apt-transport-https all 3.2.0 [3928 B]
Get:7 http://archive.ubuntu.com/ubuntu resolute/main amd64 libassuan9 amd64 3.0.2-2build1 [41.3 kB]
Get:8 http://archive.ubuntu.com/ubuntu resolute/main amd64 gpgconf amd64 2.4.8-4ubuntu3 [111 kB]
Get:9 http://archive.ubuntu.com/ubuntu resolute/main amd64 libksba8 amd64 1.6.7-2build1 [125 kB]
Get:10 http://archive.ubuntu.com/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B]
Get:11 http://archive.ubuntu.com/ubuntu resolute/main amd64 dirmngr amd64 2.4.8-4ubuntu3 [327 kB]
Get:12 http://archive.ubuntu.com/ubuntu resolute/main amd64 gpg amd64 2.4.8-4ubuntu3 [637 kB]
Get:13 http://archive.ubuntu.com/ubuntu resolute/main amd64 pinentry-curses amd64 1.3.2-3ubuntu1 [41.1 kB]
Get:14 http://archive.ubuntu.com/ubuntu resolute/main amd64 gpg-agent amd64 2.4.8-4ubuntu3 [236 kB]
Get:15 http://archive.ubuntu.com/ubuntu resolute/main amd64 gpgsm amd64 2.4.8-4ubuntu3 [239 kB]
Get:16 http://archive.ubuntu.com/ubuntu resolute/main amd64 gnupg all 2.4.8-4ubuntu3 [311 kB]
Get:17 http://archive.ubuntu.com/ubuntu resolute/main amd64 gnupg-l10n all 2.4.8-4ubuntu3 [73.5 kB]
Get:18 http://archive.ubuntu.com/ubuntu resolute/main amd64 gnupg-utils amd64 2.4.8-4ubuntu3 [132 kB]
Get:19 http://archive.ubuntu.com/ubuntu resolute/main amd64 gpg-wks-client amd64 2.4.8-4ubuntu3 [71.9 kB]
Get:20 http://archive.ubuntu.com/ubuntu resolute/main amd64 liblastlog2-2 amd64 2.41.3-3ubuntu2 [26.7 kB]
Get:21 http://archive.ubuntu.com/ubuntu resolute/main amd64 util-linux-extra amd64 2.41.3-3ubuntu2 [346 kB]
Fetched 4226 kB in 0s (14.5 MB/s)
Selecting previously unselected package adduser.
(Reading database ... 9571 files and directories currently installed.)
Preparing to unpack .../adduser_3.153ubuntu1_all.deb ...
Unpacking adduser (3.153ubuntu1) ...
Setting up adduser (3.153ubuntu1) ...
Selecting previously unselected package readline-common.
(Reading database ... 9655 files and directories currently installed.)
Preparing to unpack .../00-readline-common_8.3-4_all.deb ...
Unpacking readline-common (8.3-4) ...
Selecting previously unselected package libreadline8t64:amd64.
Preparing to unpack .../01-libreadline8t64_8.3-4_amd64.deb ...
Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
Unpacking libreadline8t64:amd64 (8.3-4) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../02-libsqlite3-0_3.46.1-9_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.46.1-9) ...
Selecting previously unselected package wget.
Preparing to unpack .../03-wget_1.25.0-2ubuntu4_amd64.deb ...
Unpacking wget (1.25.0-2ubuntu4) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../04-apt-transport-https_3.2.0_all.deb ...
Unpacking apt-transport-https (3.2.0) ...
Selecting previously unselected package libassuan9:amd64.
Preparing to unpack .../05-libassuan9_3.0.2-2build1_amd64.deb ...
Unpacking libassuan9:amd64 (3.0.2-2build1) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../06-gpgconf_2.4.8-4ubuntu3_amd64.deb ...
Unpacking gpgconf (2.4.8-4ubuntu3) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../07-libksba8_1.6.7-2build1_amd64.deb ...
Unpacking libksba8:amd64 (1.6.7-2build1) ...
Selecting previously unselected package libnpth0t64:amd64.
Preparing to unpack .../08-libnpth0t64_1.8-3build1_amd64.deb ...
Unpacking libnpth0t64:amd64 (1.8-3build1) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../09-dirmngr_2.4.8-4ubuntu3_amd64.deb ...
Unpacking dirmngr (2.4.8-4ubuntu3) ...
Selecting previously unselected package gpg.
Preparing to unpack .../10-gpg_2.4.8-4ubuntu3_amd64.deb ...
Unpacking gpg (2.4.8-4ubuntu3) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../11-pinentry-curses_1.3.2-3ubuntu1_amd64.deb ...
Unpacking pinentry-curses (1.3.2-3ubuntu1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../12-gpg-agent_2.4.8-4ubuntu3_amd64.deb ...
Unpacking gpg-agent (2.4.8-4ubuntu3) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../13-gpgsm_2.4.8-4ubuntu3_amd64.deb ...
Unpacking gpgsm (2.4.8-4ubuntu3) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../14-gnupg_2.4.8-4ubuntu3_all.deb ...
Unpacking gnupg (2.4.8-4ubuntu3) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../15-gnupg-l10n_2.4.8-4ubuntu3_all.deb ...
Unpacking gnupg-l10n (2.4.8-4ubuntu3) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../16-gnupg-utils_2.4.8-4ubuntu3_amd64.deb ...
Unpacking gnupg-utils (2.4.8-4ubuntu3) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../17-gpg-wks-client_2.4.8-4ubuntu3_amd64.deb ...
Unpacking gpg-wks-client (2.4.8-4ubuntu3) ...
Selecting previously unselected package liblastlog2-2:amd64.
Preparing to unpack .../18-liblastlog2-2_2.41.3-3ubuntu2_amd64.deb ...
Unpacking liblastlog2-2:amd64 (2.41.3-3ubuntu2) ...
Selecting previously unselected package util-linux-extra.
Preparing to unpack .../19-util-linux-extra_2.41.3-3ubuntu2_amd64.deb ...
Unpacking util-linux-extra (2.41.3-3ubuntu2) ...
Setting up libksba8:amd64 (1.6.7-2build1) ...
Setting up libnpth0t64:amd64 (1.8-3build1) ...
Setting up wget (1.25.0-2ubuntu4) ...
Setting up apt-transport-https (3.2.0) ...
Setting up libsqlite3-0:amd64 (3.46.1-9) ...
Setting up gnupg-l10n (2.4.8-4ubuntu3) ...
Setting up libassuan9:amd64 (3.0.2-2build1) ...
Setting up readline-common (8.3-4) ...
Setting up gnupg-utils (2.4.8-4ubuntu3) ...
Setting up pinentry-curses (1.3.2-3ubuntu1) ...
Setting up liblastlog2-2:amd64 (2.41.3-3ubuntu2) ...
Setting up libreadline8t64:amd64 (8.3-4) ...
Setting up gpgconf (2.4.8-4ubuntu3) ...
Setting up gpg (2.4.8-4ubuntu3) ...
Setting up util-linux-extra (2.41.3-3ubuntu2) ...
Setting up gpg-agent (2.4.8-4ubuntu3) ...
Setting up gpgsm (2.4.8-4ubuntu3) ...
Setting up dirmngr (2.4.8-4ubuntu3) ...
Setting up gnupg (2.4.8-4ubuntu3) ...
Setting up gpg-wks-client (2.4.8-4ubuntu3) ...
Processing triggers for libc-bin (2.43-2ubuntu2) ...
Hit:1 http://security.ubuntu.com/ubuntu resolute-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu resolute InRelease
Hit:3 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
Get:4 https://packages.broadcom.com/artifactory/saltproject-deb stable InRelease [3417 B]
Err:4 https://packages.broadcom.com/artifactory/saltproject-deb stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 64CBBC8173D76B3F
Hit:5 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
Reading package lists...
* ERROR: Failed to run install_ubuntu_onedir_deps()!!!
* DEBUG: Removing the logging pipe /tmp/bootstrap-salt.logpipe
* DEBUG: Removing the temporary apt error file /tmp/apt_error.XIPG5U
This seems to be related to saltstack/salt-install-guide#27 (comment) as running the command referenced there curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public | gpg --dearmor > /etc/apt/keyrings/salt-archive-keyring.pgp with the gpg --dearmor and then re running bash bootstrap-salt.sh -XUdfPD -x python3 onedir 3008.0 allows it to install successfully.
I suspect that the bootstrap script needs to be updated to handle the dearmor process for the keys with newer operating systems standards
Steps to reproduce:
docker run -it ubuntu:26.04 /bin/bashapt updateapt -y install curlcurl -L https://raw.githubusercontent.com/saltstack/salt-bootstrap/develop/bootstrap-salt.sh > bootstrap-salt.shbash bootstrap-salt.sh -XUdfPD -x python3 onedir 3008.0Output
This seems to be related to saltstack/salt-install-guide#27 (comment) as running the command referenced there
curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public | gpg --dearmor > /etc/apt/keyrings/salt-archive-keyring.pgpwith thegpg --dearmorand then re runningbash bootstrap-salt.sh -XUdfPD -x python3 onedir 3008.0allows it to install successfully.I suspect that the bootstrap script needs to be updated to handle the dearmor process for the keys with newer operating systems standards