[Aptitude-devel] Bug#799918: Bug#799918: apt-get proves I am innocent

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Fri Oct 23 18:27:32 UTC 2015

2015-10-23 4:05 GMT+01:00 積丹尼 Dan Jacobson <jidanni at jidanni.org>:
> Nope. No go.
> # aptitude install qgis
> The following NEW packages will be installed:
>   libgsl0ldbl{a} (D: qgis) (qgis D: libgsl0ldbl)  qgis{b} (D: libgdal.so.1-1.11.2)
> The following packages are RECOMMENDED but will NOT be installed:
>   qgis-plugin-globe (R: qgis)
> The following packages are SUGGESTED but will NOT be installed:
>   gsl-doc-info (S: libgsl0ldbl)  gsl-doc-pdf (S: libgsl0ldbl)  gsl-ref-html (S: libgsl0ldbl)  gsl-ref-psdoc (S: libgsl0ldbl)
> 0 packages upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
> Need to get 0 B/7,467 kB of archives. After unpacking 18.4 MB will be used.
> The following packages have unmet dependencies:
>  qgis : Depends: libgdal.so.1-1.11.2 which is a virtual package and is not provided by any available package.
> The following actions will resolve these dependencies:
>      Keep the following packages at their current version:
> 1)     qgis [Not Installed]
> Accept this solution? [Y/n/q/?] n
> *** No more solutions available ***
> # apt-get install qgis
> 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:
>  qgis : Depends: libgdal.so.1-1.11.2 but it is not installable
> E: Unable to correct problems, you have held broken packages.

The idea is that you install libgdal1i from testing first
(1.11.2+dfsg-3), then install qgis also from testing (with all of the
versions of the dependency chain from testing).  Which maybe you do,
but not shown in the actions above.

In any case, gdal is in a middle of a transition [1].  In unstable,
qgis depends on libgdal.so.1-1.11.2, provided by
libgdal1i=1.11.2+dfsg-3, and qgis also depends on python-qgis, which
in turn depends on python-qgis-common, which in turn depends on
python-gdal, which depends on libgdal.so.1-1.11.3 provided by
libgdal1i=1.11.3+dfsg-2, which of course cannot stay in the system as
the same time as libgdal1i=1.11.2+dfsg-3.

So the packages will not be able to be installed/upgraded until all of
the chain of dependencies decide move on to depend on
libgdal.so.1-1.11.3 (provided by libgdal1i=1.11.3+dfsg-2), or in other
words, until the transition is over.

[1] https://release.debian.org/transitions/html/gdal-1.11.3.html

Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>

More information about the Aptitude-devel mailing list