[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with gdal version in Debian Sid



Hi,

I'm not sure this list is the right place, but before filing a bug report, i'd like to be sure.

I updated my Sid yesterday, and it removed some useful packages for me : digikam and gmic.

Those two packages needs libopencv-imgcodecs3.2, which is not presently installable :
# apt-get install libopencv-imgcodecs3.2
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:
 libopencv-imgcodecs3.2 : Depends: gdal-abi-2-4-0
 Depends: libgdal20 (>= 2.0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If I try to install libgdal20 :
# apt-get install libgdal20            
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:
 libgdal20 : Depends: gdal-data (>= 2.4.3+dfsg-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Sid has libgdal26 :
# dpkg -l |grep gdal
ii  gdal-bin                                                    3.0.3+dfsg-1+b1                      amd64        Geospatial Data Abstraction Library - Utility programs
ii  gdal-data                                                   3.0.3+dfsg-1                         all          Geospatial Data Abstraction Library - Data files
ii  libgdal26                                                   3.0.3+dfsg-1+b1                      amd64        Geospatial Data Abstraction Library
ii  python3-gdal                                                3.0.3+dfsg-1+b1                      amd64        Python 3 bindings to the Geospatial Data Abstraction Library

But ligdal20 (in gdal 2.4.3+dfsg-1 it seems) is also available :
# apt-cache policy libgdal20
libgdal20:
  Installed: (none)
  Candidate: 2.4.3+dfsg-1+b1
  Version table:
2.4.3+dfsg-1+b1 980
980 http://ftp.fr.debian.org/debian sid/main amd64 Packages
2.4.0+dfsg-1+b1 960
960 http://ftp.fr.debian.org/debian stable/main amd64 Packages

# apt-cache policy gdal-data
gdal-data:
  Installed: 3.0.3+dfsg-1
  Candidate: 3.0.3+dfsg-1
  Version table:
3.0.4~rc1+dfsg-1~exp1 -1
-1 http://ftp.fr.debian.org/debian experimental/main amd64 Packages
-1 http://ftp.fr.debian.org/debian experimental/main i386 Packages
 *** 3.0.3+dfsg-1 980
970 http://ftp.fr.debian.org/debian testing/main amd64 Packages
970 http://ftp.fr.debian.org/debian testing/main i386 Packages
980 http://ftp.fr.debian.org/debian sid/main amd64 Packages
980 http://ftp.fr.debian.org/debian sid/main i386 Packages
100 /var/lib/dpkg/status
2.4.3+dfsg-1 980
980 http://ftp.fr.debian.org/debian sid/main amd64 Packages
980 http://ftp.fr.debian.org/debian sid/main i386 Packages
2.4.0+dfsg-1 960
960 http://ftp.fr.debian.org/debian stable/main amd64 Packages
960 http://ftp.fr.debian.org/debian stable/main i386 Packages

Downgrading gdal-data to 2.4.3+dfsg-1 (apt-get install gdal-data="" libgdal20) seems to solve the problem (as apt-get doesn't raises an error), but it removes qgis !

It seems to me that two versions of gdal are (partially) available in Sid and all packages did not switch to the new version.

So, what should I do ? File a bug on libopencv-imgcodecs3.2 so that it depends on gdal 3.0.3 ?

Regards,

Sébastien

Reply to: