Comment 7 for bug 1861304

Revision history for this message
Chris Salch (emeraldd-chris) wrote : Re: [Bug 1861304] Re: libmysqlclient-dev will not install with libssl1.0-dev

Thanks for the technical aspect there. That's not something I'd run into
in other cases.

On Wed, Jan 29, 2020, 12:01 Colin Watson <email address hidden> wrote:

> Runtime libraries can't usefully use metapackages the way you're
> proposing, and it's not conventional to do so. Whether a dependency is
> on libssl1.0.0 or libssl1.1 depends on what the binaries depending on
> them were built against; forcibly dropping in libssl1.1 would result in
> broken programs.
>
> Upgrading from libssl1.0.0 to libssl1.1 was done by progressively
> rebuilding binaries against libssl1.1, noting that the *runtime* library
> packages libssl1.0.0 and libssl1.1 can be installed together (unlike
> their -dev counterparts).
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1861304
>
> Title:
> libmysqlclient-dev will not install with libssl1.0-dev
>
> Status in mysql-5.7 package in Ubuntu:
> Invalid
> Status in mysql-5.7 source package in Bionic:
> Invalid
>
> Bug description:
> There seems to be a conflict with different versions of libssl and
> libmysqlclient that did not exist in the past. As of
> https://launchpad.net/ubuntu/+source/mysql-5.7/5.7.29-0ubuntu0.18.04.1
> we are unable to install libmysqlclient-dev and libssl1.0-dev at the
> same time:
>
> Example:
>
> testu18@testu18:~$ sudo apt install libmysqlclient-dev libssl1.0-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> libmysqlclient-dev : Depends: libssl-dev (>= 1.1.1-1ubuntu2.1~18.04.5~)
> but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
>
>
> and
>
> testu18@testu18:~$ sudo apt install libmysqlclient-dev libssl1.0-dev
> libssl-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> libssl-dev : Conflicts: libssl1.0-dev but 1.0.2n-1ubuntu5.3 is to be
> installed
> libssl1.0-dev : Conflicts: libssl-dev but 1.1.1-1ubuntu2.1~18.04.5 is
> to be installed
> E: Unable to correct problems, you have held broken packages.
>
>
>
> This worked in previous versions.
>
> Possibly releated:
>
> http://launchpadlibrarian.net/461558368/mysql-5.7_5.7.28-0ubuntu0.18.04.4_5.7.29-0ubuntu0.18.04.1.diff.gz
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1861304/+subscriptions
>