[Qgis-user] Installation of QGIS on Ubuntu 22.4 LTS (Jammy) seems to use old library versions from 20.04 LTS (Focal)

chris hermansen clhermansen at gmail.com
Sat Jan 27 11:00:30 PST 2024


Maxime,

On Sat, Jan 27, 2024 at 9:56 AM Schoemans Maxime <maxime.schoemans at ulb.be>
wrote:

>
> On 27/01/2024 17:23, chris hermansen wrote:
>
>
> It somehow seems like you have the focal packages installed, though your
> qgis.sources looks ok.
>
> What happens if you do an apt update and apt upgrade on the command line?
> Any errors?
>
>
> Both commands run without error.
> Here is the complete output of my installation process if it helps.
> It seems like I am indeed getting the jammy packages, so I am not sure
> what is going wrong.
>
> *maxime at maxime-pc:~ $* sudo apt update
>
> [stuff deleted]


> All packages are up-to-date.
> *maxime at maxime-pc:~ $* sudo apt upgrade
>

[stuff deleted]

>
>
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
>

Ok the below looks "interesting"... dependency problems?

I see the message below mentioning "crssync: error while loading shared
libraries...".  The story continues.


> *maxime at maxime-pc:~ $* sudo apt install qgis qgis-plugin-grass
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following additional packages will be installed:
>   grass-core grass-doc libjs-leaflet libqgis-3d3.34.3
> libqgis-analysis3.34.3 libqgis-app3.34.3 libqgis-core3.34.3
>   libqgis-customwidgets libqgis-gui3.34.3 libqgis-native3.34.3
> libqgis-server3.34.3 libqgisgrass7-3.34.3 libqgispython3.34.3
>   libqt5charts5 libqt5multimedia5 libqt5multimediawidgets5 libqt5pdf5
> python3-pyqt5.qtmultimedia python3-qgis
>   python3-qgis-common qgis-common qgis-plugin-grass-common
> qgis-provider-grass qgis-providers qgis-providers-common
>   qml-module-qtcharts qt5-image-formats-plugin-pdf
> Suggested packages:
>   grass-dev grass-gui e00compr avce00 gnuplot gpsbabel gpstrans
> python3-rpy2 grass grass-dev-doc otb-qgis saga
> The following NEW packages will be installed
>   grass-core grass-doc libjs-leaflet libqgis-3d3.34.3
> libqgis-analysis3.34.3 libqgis-app3.34.3 libqgis-core3.34.3
>   libqgis-customwidgets libqgis-gui3.34.3 libqgis-native3.34.3
> libqgis-server3.34.3 libqgisgrass7-3.34.3 libqgispython3.34.3
>   libqt5charts5 libqt5multimedia5 libqt5multimediawidgets5 libqt5pdf5
> python3-pyqt5.qtmultimedia python3-qgis
>   python3-qgis-common qgis qgis-common qgis-plugin-grass
> qgis-plugin-grass-common qgis-provider-grass qgis-providers
>   qgis-providers-common qml-module-qtcharts qt5-image-formats-plugin-pdf
> 0 to upgrade, 29 to newly install, 0 to remove and 0 not to upgrade.
> Need to get 0 B/178 MB of archives.
> After this operation, 510 MB of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Selecting previously unselected package qgis-providers-common.
>
> [stuff deleted]


> Setting up qgis-providers (1:3.34.3+36jammy) ...
> /usr/lib/qgis/crssync: error while loading shared libraries: libwebp.so.6:
> cannot open shared object file: No such file or dire
> ctory
> dpkg: error processing package qgis-providers (--configure):
>  installed qgis-providers package post-installation script subprocess
> returned error exit status 127
> dpkg: dependency problems prevent configuration of qgis:
>  qgis depends on qgis-providers (= 1:3.34.3+36jammy); however:
>   Package qgis-providers is not configured yet.
>

[stuff deleted]

So maybe worth trying

apt upgrade -f

to see if your dependencies get fixed.

After you try that, if things still aren't working, you might want to try:

apt install qgis grass qgis-plugin-grass

Please report back in any case!

-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240127/078d032b/attachment.htm>


More information about the QGIS-User mailing list