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

積丹尼 Dan Jacobson jidanni at jidanni.org
Wed Sep 30 14:32:23 UTC 2015


>>>>> "MAFM" == Manuel A Fernandez Montecelo <manuel.montezelo at gmail.com> writes:

MAFM> If it's a problem with packages not being available in the mirror,
MAFM> perhaps you can use others temporarily, and disable other
MAFM> repositories.

I think Axel can reproduce it with any mirror.

MAFM> If this still doesn't solve the problem, you can take a look to the
MAFM> holds (dpkg --get-selections / apt), as the message says, to see if
MAFM> there is something in the chain that prevents the installation of
MAFM> libgdal.so.etc or libgdali.

$ dpkg --get-selections|perl -nwle 'print unless /\binstall\b/;'
$
I do do
# aptitude forbid-version perl perl-base perl-doc
but I don't think that affects it.

MAFM> Or you can try to install libgdali by hand, maybe the error is more clear then.

Ah ha!

# aptitude install libgdal.so.1-1.11.2
"libgdal.so.1-1.11.2" exists in the package database, but it is not a
real package and no package provides it.
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?]

# apt-get install libgdal.so.1-1.11.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgdal.so.1-1.11.2 is a virtual package provided by:
  libgdal1i 1.11.2+dfsg-3 [Not candidate version]

E: Package 'libgdal.so.1-1.11.2' has no installation candidate
# aptitude install libgdal1i
The following NEW packages will be installed:
  libarmadillo5{a} (D: libgdal1i) (for libgdal1i)  libarpack2{a} (D: libarmadillo5) (for libgdal1i)
  libdap17v5{a} (D: libdapclient6v5, D: libdapserver7v5, D: libgdal1i) (for libgdal1i)  libdapclient6v5{a} (D: libgdal1i) (for libgdal1i)
  libdapserver7v5{a} (D: libgdal1i) (for libgdal1i)  libepsilon1{a} (D: libgdal1i) (for libgdal1i)
  libfreexl1{a} (D: libgdal1i, D: libspatialite7) (for libgdal1i)  libgdal1i  libgeos-3.5.0{a} (D: libgeos-c1v5) (for libgdal1i)
  libgeos-c1v5{a} (D: libgdal1i, D: liblwgeom-2.1.8, D: libspatialite7) (for libgdal1i)  libhdf4-0-alt{a} (D: libgdal1i) (for libgdal1i)
  libhdf5-8{a} (D: libgdal1i, D: libnetcdf7) (for libgdal1i)
  libkmlbase1{a} (D: libgdal1i, D: libkmlconvenience1, D: libkmldom1, D: libkmlengine1, D: libkmlregionator1, D: libkmlxsd1) (for libgdal1i)
  libkmlconvenience1{a} (D: libkmlregionator1) (for libgdal1i)
  libkmldom1{a} (D: libgdal1i, D: libkmlconvenience1, D: libkmlengine1, D: libkmlregionator1) (for libgdal1i)
  libkmlengine1{a} (D: libgdal1i, D: libkmlconvenience1, D: libkmlregionator1) (for libgdal1i)
  libkmlregionator1{a} (D: libgdal1i) (for libgdal1i)  libkmlxsd1{a} (D: libgdal1i) (for libgdal1i)
  liblwgeom-2.1.8{a} (D: libspatialite7) (for libgdal1i)
  libminizip1{a} (D: libkmlbase1, D: libkmlconvenience1, D: libkmldom1, D: libkmlengine1, D: libkmlregionator1, D: libkmlxsd1) (for libgdal1i)
  libnetcdf7{a} (D: libgdal1i) (for libgdal1i)  libogdi3.2{a} (D: libgdal1i) (for libgdal1i)  libpoppler46{a} (D: libgdal1i) (for libgdal1i)
  libpq5{a} (D: libgdal1i) (for libgdal1i)  libspatialite7{a} (D: libgdal1i) (for libgdal1i)  libsuperlu4{a} (D: libarmadillo5) (for libgdal1i)
  liburiparser1{a} (D: libkmlbase1, D: libkmlconvenience1, D: libkmldom1, D: libkmlengine1, D: libkmlregionator1, D: libkmlxsd1) (for libgdal1i)
  libxerces-c3.1{a} (D: libgdal1i) (for libgdal1i)
0 packages upgraded, 28 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/12.9 MB of archives. After unpacking 46.3 MB will be used.
Do you want to continue? [Y/n/?]

OK that worked!

Now to install qgis:

The following packages have unmet dependencies:
 qgis : Depends: libgdal.so.1-1.11.2 which is a virtual 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
The following actions will resolve these dependencies:

     Install the following packages:
1)     gdal-bin [1.11.2+dfsg-3 (unstable)]
2)     python-gdal [1.11.2+dfsg-3 (unstable)]

     Downgrade the following packages:
3)     libgdal1i [1.11.3+dfsg-1~exp1 (experimental, now) -> 1.11.2+dfsg-3 (unstable)]


Accept this solution? [Y/n/q/?]
Y
OK that worked!

But only if I go around it the manual way.

And now aptitude full-upgrade says

The following packages will be upgraded:
  gdal-bin  libgdal1i  python-gdal
3 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/5,245 kB of archives. After unpacking 22.5 kB will be used.
The following packages have unmet dependencies:
 qgis : Depends: libgdal.so.1-1.11.2 which is a virtual package.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     qgis



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     gdal-bin [1.11.2+dfsg-3 (now, unstable)]
2)     libgdal1i [1.11.2+dfsg-3 (now, unstable)]
3)     python-gdal [1.11.2+dfsg-3 (now, unstable)]
...



More information about the Aptitude-devel mailing list