Ubuntu 14.04.05 - salt-common package conflicts with libssl1.1
Description of Issue/Question
Installation of the salt-minion package is blocked on Ubuntu 14.04.05 due to unmet dependencies in the salt-common package:
The following packages have unmet dependencies:
salt-minion : Depends: salt-common (= 0.17.5+ds-1) but it is not going to be installed
The salt-common=0.17.5+ds-1 package can not be installed, as it will cause the removal of both libssl1.1 and various dependent php5.6-* packages from the common 'ondrej' PPA http://ppa.launchpad.net/ondrej/php/ubuntu/
# apt install salt-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libxmlrpc-epi0 libzip4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
python-async python-git python-gitdb python-jinja2 python-mako
python-markupsafe python-smmap python-yaml
Suggested packages:
python-jinja2-doc python-beaker python-mako-doc salt-doc
The following packages will be REMOVED:
libssl1.1 php5.6-bcmath php5.6-bz2 php5.6-cli php5.6-common php5.6-curl
php5.6-fpm php5.6-gd php5.6-json php5.6-mbstring php5.6-mcrypt php5.6-mysql
php5.6-opcache php5.6-readline php5.6-xml php5.6-xmlrpc php5.6-zip
The following NEW packages will be installed:
python-async python-git python-gitdb python-jinja2 python-mako
python-markupsafe python-smmap python-yaml salt-common
0 upgraded, 9 newly installed, 17 to remove and 0 not upgraded.
Need to get 0 B/1,757 kB of archives.
After this operation, 15.4 MB disk space will be freed.
Do you want to continue? [Y/n] ^C
Chain of dependencies through libssl1.1:
# apt show php5.6-fpm
Package: php5.6-fpm
Source: php5.6
Priority: optional
Section: php
Installed-Size: 4,636 kB
Maintainer: Debian PHP Maintainers <[email protected]>
Version: 5.6.31-4+ubuntu14.04.1+deb.sury.org+4
Suggests: php-pear
Provides: php-fpm, phpapi-20131226
Depends: libmagic1, libpcre3 (>= 1:8.20), mime-support, php5.6-cli, php5.6-common (= 5.6.31-4+ubuntu14.04.1+deb.sury.org+4), php5.6-json, php5.6-opcache, tzdata, ucf, init-system-helpers (>= 1.13~), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), libapparmor1 (>= 2.7.0~beta1+bzr1772), libc6 (>= 2.15), libssl1.1 (>= 1.1.0), libsystemd-daemon0 (>= 31), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Download-Size: 1,269 kB
APT-Manual-Installed: yes
APT-Sources: http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main amd64 Packages
Description: server-side, HTML-embedded scripting language (FPM-CGI binary)
This package provides the Fast Process Manager interpreter that runs
as a daemon and receives Fast/CGI requests. Note that MOST Apache users
probably want the libapache2-mod-php5.6 package.
.
The following extensions are built in: Core date ereg filter hash libxml
mhash openssl pcre Reflection session SPL standard zlib.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
# apt show libssl1.1
Package: libssl1.1
Source: openssl
Priority: important
Section: libs
Installed-Size: 3,498 kB
Maintainer: Debian OpenSSL Team <[email protected]>
Version: 1.1.0f-2~ubuntu14.04.1+deb.sury.org+1
Depends: libc6 (>= 2.14), debconf (>= 0.5) | debconf-2.0
Pre-Depends: multiarch-support
Breaks: salt-common (<= 2016.3.3+ds-3)
Download-Size: 1,320 kB
APT-Manual-Installed: no
APT-Sources: http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main amd64 Packages
Description: Secure Sockets Layer toolkit - shared libraries
This package is part of the OpenSSL project's implementation of the SSL
and TLS cryptographic protocols for secure communication over the
Internet.
.
It provides the libssl and libcrypto shared libraries.
Note the 'Breaks: salt-common (<= 2016.3.3+ds-3)' warning for libssl1.1
Setup
No salt config required.
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
On Ubuntu 14.04.05, install php5.6-fpm from the PPA http://ppa.launchpad.net/ondrej/php/ubuntu/, and ensure libssl1.1 is installed.
Once libssl1.1 is installed, any attempt to install salt-common will cause removal of libssl1.1 and associated dependent packages.
Versions Report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
No salt version installed.
@oekelly those are pretty old packages. If you tried the newere salt packages from repo.saltstack.com (2016.11.7 or 2017.7.1?) do you still see this issue?
had the same problem as @oekelly . switching to the saltstack repo resolved the issue for me.