I wasn't getting this yesterday (2019-06-13) but today I can't bring up a 18.04 vagrant instance and bootstrap.
The first error is: dpkg: error processing package libssl1.1:amd64
$ wget -O salt_bootstrap.sh https://bootstrap.saltstack.com --no-verbose
2019-06-14 04:14:37 URL:https://bootstrap.saltstack.com/stable/bootstrap-salt.sh [266421/266421] -> "salt_bootstrap.sh" [1]
$ sh salt_bootstrap.sh -P -F -c /tmp stable 2018.3.4
* INFO: Running version: 2019.05.20
* INFO: Executed by:
* INFO: Command line: 'salt_bootstrap.sh -P -F -c /tmp stable 2018.3.4'
* INFO: System Information:
* INFO: CPU: GenuineIntel
* INFO: CPU Arch: x86_64
* INFO: OS Name: Linux
* INFO: OS Version: 4.15.0-29-generic
* INFO: Distribution: Ubuntu 18.04
* INFO: Installing minion
* INFO: Found function install_ubuntu_stable_deps
* INFO: Found function config_salt
* INFO: Found function preseed_master
* INFO: Found function install_ubuntu_stable
* INFO: Found function install_ubuntu_stable_post
* INFO: Found function install_ubuntu_restart_daemons
* INFO: Found function daemons_running
* INFO: Found function install_ubuntu_check_services
* INFO: Running install_ubuntu_stable_deps()
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [321 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [536 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [416 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [644 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [147 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [239 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [4,296 B]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [4,280 B]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [2,192 B]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [561 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [6,960 B]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [6,996 B]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [941 kB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [567 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [954 kB]
Get:20 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [183 kB]
Get:21 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [4,152 B]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [4,008 B]
Get:23 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2,060 B]
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [281 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [6,792 B]
Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [6,644 B]
Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [3,556 B]
Get:28 http://archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages [2,516 B]
Get:29 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [2,512 B]
Get:30 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [1,644 B]
Get:31 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [3,716 B]
Get:32 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [3,712 B]
Get:33 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1,696 B]
Fetched 6,109 kB in 9s (696 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
ca-certificates is already the newest version (20180409).
The following additional packages will be installed:
gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
gpgsm gpgv
Suggested packages:
dbus-user-session pinentry-gnome3 tor parcimonie xloadimage scdaemon
The following NEW packages will be installed:
apt-transport-https
The following packages will be upgraded:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm gpgv
11 upgraded, 1 newly installed, 0 to remove and 188 not upgraded.
Need to get 2,149 kB of archives.
After this operation, 167 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-client amd64 2.2.4-1ubuntu1.2 [91.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dirmngr amd64 2.2.4-1ubuntu1.2 [316 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg amd64 2.2.4-1ubuntu1.2 [467 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-utils amd64 2.2.4-1ubuntu1.2 [127 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-l10n all 2.2.4-1ubuntu1.2 [49.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-agent amd64 2.2.4-1ubuntu1.2 [227 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgsm amd64 2.2.4-1ubuntu1.2 [215 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgconf amd64 2.2.4-1ubuntu1.2 [123 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg amd64 2.2.4-1ubuntu1.2 [249 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-server amd64 2.2.4-1ubuntu1.2 [84.9 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgv amd64 2.2.4-1ubuntu1.2 [198 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt-transport-https all 1.6.11 [1,692 B]
Fetched 2,149 kB in 4s (504 kB/s)
(Reading database ...
(Reading database ... 60% (Reading database ... 5%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 42086 files and directories currently installed.)
Preparing to unpack .../00-gpg-wks-client_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-wks-client (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../01-dirmngr_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking dirmngr (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../02-gpg_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../03-gnupg-utils_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gnupg-utils (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../04-gnupg-l10n_2.2.4-1ubuntu1.2_all.deb ...
Unpacking gnupg-l10n (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../05-gpg-agent_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-agent (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../06-gpgsm_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgsm (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../07-gpgconf_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgconf (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../08-gnupg_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gnupg (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../09-gpg-wks-server_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-wks-server (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Preparing to unpack .../10-gpgv_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgv (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Setting up gpgv (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package apt-transport-https.
(Reading database ...
(Reading database ... 60% (Reading database ... 5%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 42086 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.11_all.deb ...
Unpacking apt-transport-https (1.6.11) ...
Setting up apt-transport-https (1.6.11) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Setting up gpgconf (2.2.4-1ubuntu1.2) ...
Setting up gpg-agent (2.2.4-1ubuntu1.2) ...
Setting up gnupg-l10n (2.2.4-1ubuntu1.2) ...
Setting up gpgsm (2.2.4-1ubuntu1.2) ...
Setting up gnupg-utils (2.2.4-1ubuntu1.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up dirmngr (2.2.4-1ubuntu1.2) ...
Setting up gpg (2.2.4-1ubuntu1.2) ...
Setting up gpg-wks-server (2.2.4-1ubuntu1.2) ...
Setting up gpg-wks-client (2.2.4-1ubuntu1.2) ...
Setting up gnupg (2.2.4-1ubuntu1.2) ...
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:4 https://repo.saltstack.com/apt/ubuntu/18.04/amd64/archive/2018.3.4 bionic InRelease [2,126 B]
Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:6 https://repo.saltstack.com/apt/ubuntu/18.04/amd64/archive/2018.3.4 bionic/main amd64 Packages [3,338 B]
Fetched 5,464 B in 2s (3,218 B/s)
Reading package lists...
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 https://repo.saltstack.com/apt/ubuntu/18.04/amd64/archive/2018.3.4 bionic InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
procps is already the newest version (2:3.3.12-3ubuntu1.1).
The following additional packages will be installed:
libpci3 libpython2.7 libpython2.7-minimal libpython2.7-stdlib libssl-dev
libssl1.1 python-asn1crypto python-certifi python-cffi-backend
python-chardet python-cryptography python-enum34 python-idna
python-ipaddress python-openssl python-pkg-resources python-six
python-urllib3 python2.7-minimal
Suggested packages:
libssl-doc python-apt-dbg python-apt-doc python-cryptography-doc
python-cryptography-vectors python-enum34-doc python-openssl-doc
python-openssl-dbg python-setuptools python-socks python-ntlm python2.7-doc
binfmt-support
The following NEW packages will be installed:
python-apt python-asn1crypto python-certifi python-cffi-backend
python-chardet python-cryptography python-enum34 python-idna
python-ipaddress python-openssl python-pkg-resources python-requests
python-six python-urllib3 python-yaml
The following packages will be upgraded:
libpci3 libpython2.7 libpython2.7-minimal libpython2.7-stdlib libssl-dev
libssl1.1 pciutils python2.7 python2.7-minimal
9 upgraded, 15 newly installed, 0 to remove and 179 not upgraded.
Need to get 9,235 kB of archives.
After this operation, 7,798 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7 amd64 2.7.15-4ubuntu4~18.04 [1,053 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7 amd64 2.7.15-4ubuntu4~18.04 [239 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-stdlib amd64 2.7.15-4ubuntu4~18.04 [1,915 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.15-4ubuntu4~18.04 [1,295 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-minimal amd64 2.7.15-4ubuntu4~18.04 [335 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl-dev amd64 1.1.1-1ubuntu2.1~18.04.2 [1,566 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1~18.04.2 [1,295 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 pciutils amd64 1:3.5.2-1ubuntu1.1 [257 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpci3 amd64 1:3.5.2-1ubuntu1.1 [24.1 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-apt amd64 1.6.4 [149 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-asn1crypto all 0.24.0-1 [72.7 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-certifi all 2018.1.18-2 [144 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-cffi-backend amd64 1.11.5-1 [63.4 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-chardet all 3.0.4-1 [80.3 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-enum34 all 1.1.6-2 [34.8 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-idna all 2.6-1 [32.4 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-ipaddress all 1.0.17-1 [18.2 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-six all 1.11.0-2 [11.3 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-cryptography amd64 2.1.4-1ubuntu1.3 [221 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-openssl all 17.5.0-1ubuntu1 [41.3 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-urllib3 all 1.22-1ubuntu0.18.04.1 [85.9 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-requests all 2.18.4-2ubuntu0.1 [58.5 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-yaml amd64 3.12-1build2 [115 kB]
Preconfiguring packages ...
Fetched 9,235 kB in 9s (1,035 kB/s)
(Reading database ...
(Reading database ... 60% (Reading database ... 5%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 42090 files and directories currently installed.)
Preparing to unpack .../00-libpython2.7_2.7.15-4ubuntu4~18.04_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.15-4ubuntu4~18.04) over (2.7.15~rc1-1ubuntu0.1) ...
Preparing to unpack .../01-python2.7_2.7.15-4ubuntu4~18.04_amd64.deb ...
Unpacking python2.7 (2.7.15-4ubuntu4~18.04) over (2.7.15~rc1-1ubuntu0.1) ...
Preparing to unpack .../02-libpython2.7-stdlib_2.7.15-4ubuntu4~18.04_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.15-4ubuntu4~18.04) over (2.7.15~rc1-1ubuntu0.1) ...
Preparing to unpack .../03-python2.7-minimal_2.7.15-4ubuntu4~18.04_amd64.deb ...
Unpacking python2.7-minimal (2.7.15-4ubuntu4~18.04) over (2.7.15~rc1-1ubuntu0.1) ...
Preparing to unpack .../04-libpython2.7-minimal_2.7.15-4ubuntu4~18.04_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.15-4ubuntu4~18.04) over (2.7.15~rc1-1ubuntu0.1) ...
Preparing to unpack .../05-libssl-dev_1.1.1-1ubuntu2.1~18.04.2_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.2) over (1.1.0g-2ubuntu4.3) ...
Preparing to unpack .../06-libssl1.1_1.1.1-1ubuntu2.1~18.04.2_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.2) over (1.1.0g-2ubuntu4.3) ...
Preparing to unpack .../07-pciutils_1%3a3.5.2-1ubuntu1.1_amd64.deb ...
Unpacking pciutils (1:3.5.2-1ubuntu1.1) over (1:3.5.2-1ubuntu1) ...
Preparing to unpack .../08-libpci3_1%3a3.5.2-1ubuntu1.1_amd64.deb ...
Unpacking libpci3:amd64 (1:3.5.2-1ubuntu1.1) over (1:3.5.2-1ubuntu1) ...
Selecting previously unselected package python-apt.
Preparing to unpack .../09-python-apt_1.6.4_amd64.deb ...
Unpacking python-apt (1.6.4) ...
Selecting previously unselected package python-asn1crypto.
Preparing to unpack .../10-python-asn1crypto_0.24.0-1_all.deb ...
Unpacking python-asn1crypto (0.24.0-1) ...
Selecting previously unselected package python-certifi.
Preparing to unpack .../11-python-certifi_2018.1.18-2_all.deb ...
Unpacking python-certifi (2018.1.18-2) ...
Selecting previously unselected package python-cffi-backend.
Preparing to unpack .../12-python-cffi-backend_1.11.5-1_amd64.deb ...
Unpacking python-cffi-backend (1.11.5-1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../13-python-pkg-resources_39.0.1-2_all.deb ...
Unpacking python-pkg-resources (39.0.1-2) ...
Selecting previously unselected package python-chardet.
Preparing to unpack .../14-python-chardet_3.0.4-1_all.deb ...
Unpacking python-chardet (3.0.4-1) ...
Selecting previously unselected package python-enum34.
Preparing to unpack .../15-python-enum34_1.1.6-2_all.deb ...
Unpacking python-enum34 (1.1.6-2) ...
Selecting previously unselected package python-idna.
Preparing to unpack .../16-python-idna_2.6-1_all.deb ...
Unpacking python-idna (2.6-1) ...
Selecting previously unselected package python-ipaddress.
Preparing to unpack .../17-python-ipaddress_1.0.17-1_all.deb ...
Unpacking python-ipaddress (1.0.17-1) ...
Selecting previously unselected package python-six.
Preparing to unpack .../18-python-six_1.11.0-2_all.deb ...
Unpacking python-six (1.11.0-2) ...
Selecting previously unselected package python-cryptography.
Preparing to unpack .../19-python-cryptography_2.1.4-1ubuntu1.3_amd64.deb ...
Unpacking python-cryptography (2.1.4-1ubuntu1.3) ...
Selecting previously unselected package python-openssl.
Preparing to unpack .../20-python-openssl_17.5.0-1ubuntu1_all.deb ...
Unpacking python-openssl (17.5.0-1ubuntu1) ...
Selecting previously unselected package python-urllib3.
Preparing to unpack .../21-python-urllib3_1.22-1ubuntu0.18.04.1_all.deb ...
Unpacking python-urllib3 (1.22-1ubuntu0.18.04.1) ...
Selecting previously unselected package python-requests.
Preparing to unpack .../22-python-requests_2.18.4-2ubuntu0.1_all.deb ...
Unpacking python-requests (2.18.4-2ubuntu0.1) ...
Selecting previously unselected package python-yaml.
Preparing to unpack .../23-python-yaml_3.12-1build2_amd64.deb ...
Unpacking python-yaml (3.12-1build2) ...
Setting up python-idna (2.6-1) ...
Setting up python-yaml (3.12-1build2) ...
Setting up python-asn1crypto (0.24.0-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Setting up python-certifi (2018.1.18-2) ...
Setting up python-pkg-resources (39.0.1-2) ...
Setting up python-cffi-backend (1.11.5-1) ...
Setting up python-six (1.11.0-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.2) ...
Checking for services that may need to be restarted...
done.
Checking for services that may need to be restarted...
done.
Checking init scripts...
dpkg: error processing package libssl1.1:amd64 (--configure):
installed libssl1.1:amd64 package post-installation script subprocess returned error exit status 10
Setting up python-enum34 (1.1.6-2) ...
dpkg: dependency problems prevent configuration of python-cryptography:
python-cryptography depends on libssl1.1 (>= 1.1.1); however:
Package libssl1.1:amd64 is not configured yet.
dpkg: error processing package python-cryptography (--configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libpython2.7-minimal:amd64 (2.7.15-4ubuntu4~18.04) ...
Setting up libpci3:amd64 (1:3.5.2-1ubuntu1.1) ...
Setting up python-apt (1.6.4) ...
Setting up python-ipaddress (1.0.17-1) ...
dpkg: dependency problems prevent configuration of libpython2.7-stdlib:amd64:
libpython2.7-stdlib:amd64 depends on libssl1.1 (>= 1.1.0); however:
Package libssl1.1:amd64 is not configured yet.
dpkg: error processing package libpython2.7-stdlib:amd64 (--configure):
dependency problems - leaving unconfigured
Setting up python2.7-minimal (2.7.15-4ubuntu4~18.04) ...
Setting up python-urllib3 (1.22-1ubuntu0.18.04.1) ...
Setting up python-chardet (3.0.4-1) ...
dpkg: dependency problems prevent configuration of python-openssl:
python-openssl depends on python-cryptography (>= 2.1.4); however:
Package python-cryptography is not configured yet.
dpkg: error processing package python-openssl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libssl-dev:amd64:
libssl-dev:amd64 depends on libssl1.1 (= 1.1.1-1ubuntu2.1~18.04.2); however:
Package libssl1.1:amd64 is not configured yet.
dpkg: error processing package libssl-dev:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7:
python2.7 depends on libpython2.7-stdlib (= 2.7.15-4ubuntu4~18.04); however:
Package libpython2.7-stdlib:amd64 is not configured yet.
dpkg: error processing package python2.7 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpython2.7:amd64:
libpython2.7:amd64 depends on libpython2.7-stdlib (= 2.7.15-4ubuntu4~18.04); however:
Package libpython2.7-stdlib:amd64 is not configured yet.
dpkg: error processing package libpython2.7:amd64 (--configure):
dependency problems - leaving unconfigured
Setting up pciutils (1:3.5.2-1ubuntu1.1) ...
Setting up python-requests (2.18.4-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
libssl1.1:amd64
python-cryptography
libpython2.7-stdlib:amd64
python-openssl
libssl-dev:amd64
python2.7
libpython2.7:amd64
* ERROR: Failed to run install_ubuntu_stable_deps()!!!
Same problem here. Just started to happen with this bento box for Ubuntu 18.04: https://github.com/chef/bento/blob/master/ubuntu/ubuntu-18.04-amd64.json
Previously it worked just fine and there are no upstream changes in bento images.
I have a workaround, but it significantly slows down the vagrant up startup time (this needs to be placed before the salt vagrant provisioner directives):
master.vm.provision "shell", type: "shell", run: "always" do |s|
s.inline = <<~SHELL
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" --force-yes -fuy dist-upgrade
SHELL
end
Ran into this in kitchen-vagrant using the salt_solo provisioner on the same bento box as @max-arnold. As mentioned in this comment, this seems likely to be caused by this OpenSSL change released to Ubuntu a few days ago.
There's an OpenSSL launchpad already has a bug filed and confirmed which describes a more precise workaround that shouldn't add much extra time to the vagrant up startup time. I was able to add this to the salt_solo provisioner:
provisioner:
name: salt_solo
formula: my-formula
require_chef: false
init_environment: |
sudo apt-get update
sudo dpkg-reconfigure libc6
sudo DEBIAN_FRONTEND=noninteractive dpkg --configure libssl1.1
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libssl1.1
install_after_init_environment: true
Applying the same thing to @max-arnold's Vagrant provisioner script should look something like:
master.vm.provision "shell", type: "shell", run: "always" do |s|
s.inline = <<~SHELL
apt-get update
dpkg-reconfigure libc6
DEBIAN_FRONTEND=noninteractive dpkg --configure libssl1.1
DEBIAN_FRONTEND=noninteractive apt-get install -y libssl1.1
SHELL
end
thanks for the solutions guys. I am indeed using a bento box: bento/ubuntu-18.04
this box was updated yesterday (18th) and from what I can see has fixed the issue. I couldn't find a changelog for this box though.
A simple vagrant box update will pull it down.
Closing ticket. This isn't a salt-bootstrap issue.
Most helpful comment
thanks for the solutions guys. I am indeed using a bento box:
bento/ubuntu-18.04this box was updated yesterday (18th) and from what I can see has fixed the issue. I couldn't find a changelog for this box though.
A simple
vagrant box updatewill pull it down.Closing ticket. This isn't a salt-bootstrap issue.