Comment 2 for bug 1770242

Andreas Hasenack (ahasenack) wrote :

Even in current cosmic this doesn't work:
# apt install apache2 libapache2-mod-shib2 libapache2-mod-md

It's because it tries to pull in libcurl3, and that removes curl libcurl4 pollinate ubuntu-server.

So to install shib2 and mod-md in cosmic, *before* this upload of 2.4.33, one has to:
root@cosmic-apache-fix-migration:~# apt install apache2 libapache2-mod-shib2 libapache2-mod-md libcurl3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libfcgi-bin libfcgi0ldbl libjansson4 liblog4shib1v5 libltdl7 liblua5.2-0 libmemcached11 libodbc1 libsaml9
  libshibsp-plugins libshibsp7 libxerces-c3.2 libxml-security-c17v5 libxmltooling7 opensaml2-schemas shibboleth-sp2-common shibboleth-sp2-utils ssl-cert xmltooling-schemas
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom libmyodbc odbc-postgresql tdsodbc unixodbc-bin openssl-blacklist
The following packages will be REMOVED:
  curl libcurl4 pollinate ubuntu-server
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-md libapache2-mod-shib2 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcurl3 libfcgi-bin libfcgi0ldbl libjansson4 liblog4shib1v5
  libltdl7 liblua5.2-0 libmemcached11 libodbc1 libsaml9 libshibsp-plugins libshibsp7 libxerces-c3.2 libxml-security-c17v5 libxmltooling7 opensaml2-schemas shibboleth-sp2-common shibboleth-sp2-utils ssl-cert
  xmltooling-schemas
0 upgraded, 30 newly installed, 4 to remove and 0 not upgraded.
Need to get 6356 kB of archives.
After this operation, 33.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Emphasis on the REMOVED bits:
The following packages will be REMOVED:
  curl libcurl4 pollinate ubuntu-server