[Ubuntu] qgis-providers fails to install

Alex Mandel tech_dev at wildintellect.com
Mon Jan 10 20:30:37 PST 2022


I hit the same problem on recent update.
In my case I was using qgis.org/ubuntugis with the ubuntugis-unstable
There appears to be an incompatibility between the two right now. This 
isn't the first time, and it could be related to recent updates 
2021-12-24, will likely be solved if the qgis.org packages are rebuilt 
now that some new deps in ubuntugis have been updated (Is it Jurgen who 
still manages that?). Until then I just disabled qgis.org repo and 
reinstalled and have an older version working for now.

Thanks,
Alex

On 1/10/22 10:28 AM, Martin Weis wrote:
> Hello Jorge!
> 
> Am 10.01.22 um 13:43 schrieb Jorge Gustavo Rocha:
>> It seems to happens when some QGIS tool runs.
>> My wild guess is to check if you are not running QGIS against some old
>> PROJ or GDAL version. Check if you have some dangling PROJ or GDAL libs
>> around.
> Found an issue from 2020 about it
> https://github.com/qgis/QGIS/issues/35649
> 
> and your guess seems the correct direction, but I cannot solve by
> starting fresh with
> 
> apt remove libgdal29 libgdal30
> cat<< EOF> /etc/apt/sources.list.d/qgis-ubuntugis-unstable.list
> deb https://qgis.org/ubuntugis $(lsb_release -s -c) main
> deb-src https://qgis.org/ubuntugis $(lsb_release -s -c) main
> EOF
> 
> # lsb_release -s -c # focal
> 
> yielding
> 
> root at box:/etc/apt# rgrep qgis *
> sources.list.d/qgis-ubuntugis-unstable.list:deb
> https://qgis.org/ubuntugis focal main
> sources.list.d/qgis-ubuntugis-unstable.list:deb-src
> https://qgis.org/ubuntugis focal main
> Binary file trusted.gpg matches
> Binary file trusted.gpg.d/qgis-archive.gpg matches
> 
> 
> there are dependencies to both lbgdal29 and libgdal30 from qgis
> 
>> apt install qgis
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> The following additional packages will be installed:
>>    gdal-bin grass-core libgdal29 libgdal30 libpdal-base12
> libpdal-plugin-e57 libpdal-plugin-faux libpdal-plugin-hdf libpdal-plugin-i3s
>>    libpdal-plugin-icebridge libpdal-plugin-pgpointcloud libpdal-plugins
> libqgis-3d3.22.2 libqgis-analysis3.22.2 libqgis-app3.22.2 libqgis-core3.22.2
>>    libqgis-customwidgets libqgis-gui3.22.2 libqgis-server3.22.2
> libqgisgrass7-3.22.2 libqgispython3.22.2 python3-gdal python3-qgis
> python3-qgis-common
>>    qgis-plugin-grass qgis-provider-grass qgis-providers
>> Suggested packages:
>>    libgdal-grass grass-dev grass-gui e00compr avce00 gnuplot gpsbabel
> gpstrans python3-rpy2 python3-termcolor otb-qgis saga
>> The following NEW packages will be installed:
>>    gdal-bin grass-core libgdal29 libgdal30 libpdal-base12
> libpdal-plugin-e57 libpdal-plugin-faux libpdal-plugin-hdf libpdal-plugin-i3s
>>    libpdal-plugin-icebridge libpdal-plugin-pgpointcloud libpdal-plugins
> libqgis-3d3.22.2 libqgis-analysis3.22.2 libqgis-app3.22.2 libqgis-core3.22.2
>>    libqgis-customwidgets libqgis-gui3.22.2 libqgis-server3.22.2
> libqgisgrass7-3.22.2 libqgispython3.22.2 python3-gdal python3-qgis
> python3-qgis-common
>>    qgis qgis-plugin-grass qgis-provider-grass qgis-providers
> 
> I guess because of rdepends of python3-gdal
> 
>> apt show python3-gdal
>> Version: 3.4.0+dfsg-1~focal0
>> Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
>> Depends: python3 (<< 3.9), python3 (>= 3.8~), python3-numpy (>=
> 1:1.16.0~rc1), python3-numpy-abi9, python3:any, libc6 (>= 2.14),
> libgcc-s1 (>= 3.0), libgdal30 (>= 3.4.0), libstdc++6 (>= 5.2)
> which is also from unstable ubuntugis:
> 
>> apt-cache policy python3-gdal
>> python3-gdal:
>>    Installed: (none)
>>    Candidate: 3.4.0+dfsg-1~focal0
>>    Version table:
>>       3.4.0+dfsg-1~focal0 500
>>          500
> http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu focal/main
> amd64 Packages
> 
> So I will try to switch to ltr for now, but this seems to be a
> dependency problem in the repo.
> 
> _______________________________________________
> UbuntuGIS mailing list
> Ubuntu at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/ubuntu
> http://trac.osgeo.org/ubuntugis/wiki
> 



More information about the Ubuntu mailing list