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

Schoemans Maxime maxime.schoemans at ulb.be
Sat Jan 27 09:56:14 PST 2024


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
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Get:3 https://deb.nodesource.com/node_16.x bionic InRelease [4,584 B]
Hit:5 http://be.archive.ubuntu.com/ubuntu jammy InRelease
Hit:6 http://be.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 https://ubuntu.qgis.org/ubuntu jammy InRelease
Hit:7 http://be.archive.ubuntu.com/ubuntu jammy-backports InRelease
Fetched 4,584 B in 1s (8,009 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up-to-date.
maxime at maxime-pc:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libgsl-dev libimage-magick-perl python3-jupyter-core imagemagick
  libjs-jquery-ui libavdevice58 ffmpeg libopenexr25 libmagick++-6.q16-8
  python3-scipy libpostproc55 libmagickcore-6.q16-6-extra libavcodec58
  libimage-magick-q16-perl libmagickwand-6.q16-6 libavutil56 imagemagick-6.q16
  libswscale5 libmagickcore-6.q16-6 libgsl27 libswresample3
  imagemagick-6-common libavformat58 libgslcblas0 libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
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.
(Reading database ... 467742 files and directories currently installed.)
Preparing to unpack .../00-qgis-providers-common_1%3a3.34.3+36jammy_all.deb ...
Unpacking qgis-providers-common (1:3.34.3+36jammy) ...
Selecting previously unselected package libqt5pdf5:amd64.
Preparing to unpack .../01-libqt5pdf5_5.15.9+dfsg-1_amd64.deb ...
Unpacking libqt5pdf5:amd64 (5.15.9+dfsg-1) ...
Selecting previously unselected package qt5-image-formats-plugin-pdf:amd64.
Preparing to unpack .../02-qt5-image-formats-plugin-pdf_5.15.9+dfsg-1_amd64.deb ...
Unpacking qt5-image-formats-plugin-pdf:amd64 (5.15.9+dfsg-1) ...
Selecting previously unselected package libqgis-core3.34.3.
Preparing to unpack .../03-libqgis-core3.34.3_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgis-core3.34.3 (1:3.34.3+36jammy) ...
Selecting previously unselected package libqgis-analysis3.34.3.
Preparing to unpack .../04-libqgis-analysis3.34.3_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgis-analysis3.34.3 (1:3.34.3+36jammy) ...
Selecting previously unselected package libqgis-native3.34.3.
Preparing to unpack .../05-libqgis-native3.34.3_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgis-native3.34.3 (1:3.34.3+36jammy) ...
Selecting previously unselected package libqt5multimedia5:amd64.
Preparing to unpack .../06-libqt5multimedia5_5.15.3-1_amd64.deb ...
Unpacking libqt5multimedia5:amd64 (5.15.3-1) ...
Selecting previously unselected package libqt5multimediawidgets5:amd64.
Preparing to unpack .../07-libqt5multimediawidgets5_5.15.3-1_amd64.deb ...
Unpacking libqt5multimediawidgets5:amd64 (5.15.3-1) ...
Selecting previously unselected package libqgis-gui3.34.3.
Preparing to unpack .../08-libqgis-gui3.34.3_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgis-gui3.34.3 (1:3.34.3+36jammy) ...
Selecting previously unselected package qgis-providers.
Preparing to unpack .../09-qgis-providers_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking qgis-providers (1:3.34.3+36jammy) ...
Selecting previously unselected package grass-doc.
Preparing to unpack .../10-grass-doc_7.8.7-1_all.deb ...
Unpacking grass-doc (7.8.7-1) ...
Selecting previously unselected package grass-core.
Preparing to unpack .../11-grass-core_7.8.7-1_amd64.deb ...
Unpacking grass-core (7.8.7-1) ...
Selecting previously unselected package libqgis-3d3.34.3.
Preparing to unpack .../12-libqgis-3d3.34.3_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgis-3d3.34.3 (1:3.34.3+36jammy) ...
Selecting previously unselected package libqgis-app3.34.3.
Preparing to unpack .../13-libqgis-app3.34.3_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgis-app3.34.3 (1:3.34.3+36jammy) ...
Selecting previously unselected package libqgis-customwidgets.
Preparing to unpack .../14-libqgis-customwidgets_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgis-customwidgets (1:3.34.3+36jammy) ...
Selecting previously unselected package libqgis-server3.34.3.
Preparing to unpack .../15-libqgis-server3.34.3_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgis-server3.34.3 (1:3.34.3+36jammy) ...
Selecting previously unselected package libqgisgrass7-3.34.3.
Preparing to unpack .../16-libqgisgrass7-3.34.3_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgisgrass7-3.34.3 (1:3.34.3+36jammy) ...
Selecting previously unselected package libqgispython3.34.3.
Preparing to unpack .../17-libqgispython3.34.3_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking libqgispython3.34.3 (1:3.34.3+36jammy) ...
Selecting previously unselected package libqt5charts5:amd64.
Preparing to unpack .../18-libqt5charts5_5.15.3-1_amd64.deb ...
Unpacking libqt5charts5:amd64 (5.15.3-1) ...
Selecting previously unselected package python3-pyqt5.qtmultimedia.
Preparing to unpack .../19-python3-pyqt5.qtmultimedia_5.15.6+dfsg-1ubuntu3_amd64.deb ...
Unpacking python3-pyqt5.qtmultimedia (5.15.6+dfsg-1ubuntu3) ...
Selecting previously unselected package python3-qgis-common.
Preparing to unpack .../20-python3-qgis-common_1%3a3.34.3+36jammy_all.deb ...
Unpacking python3-qgis-common (1:3.34.3+36jammy) ...
Selecting previously unselected package python3-qgis.
Preparing to unpack .../21-python3-qgis_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking python3-qgis (1:3.34.3+36jammy) ...
Selecting previously unselected package libjs-leaflet.
Preparing to unpack .../22-libjs-leaflet_1.7.1~dfsg-6_all.deb ...
Unpacking libjs-leaflet (1.7.1~dfsg-6) ...
Selecting previously unselected package qml-module-qtcharts:amd64.
Preparing to unpack .../23-qml-module-qtcharts_5.15.3-1_amd64.deb ...
Unpacking qml-module-qtcharts:amd64 (5.15.3-1) ...
Selecting previously unselected package qgis-common.
Preparing to unpack .../24-qgis-common_1%3a3.34.3+36jammy_all.deb ...
Unpacking qgis-common (1:3.34.3+36jammy) ...
Selecting previously unselected package qgis.
Preparing to unpack .../25-qgis_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking qgis (1:3.34.3+36jammy) ...
Selecting previously unselected package qgis-plugin-grass-common.
Preparing to unpack .../26-qgis-plugin-grass-common_1%3a3.34.3+36jammy_all.deb ...
Unpacking qgis-plugin-grass-common (1:3.34.3+36jammy) ...
Selecting previously unselected package qgis-provider-grass.
Preparing to unpack .../27-qgis-provider-grass_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking qgis-provider-grass (1:3.34.3+36jammy) ...
Selecting previously unselected package qgis-plugin-grass.
Preparing to unpack .../28-qgis-plugin-grass_1%3a3.34.3+36jammy_amd64.deb ...
Unpacking qgis-plugin-grass (1:3.34.3+36jammy) ...
Setting up qgis-providers-common (1:3.34.3+36jammy) ...
Setting up libqt5charts5:amd64 (5.15.3-1) ...
Setting up libqt5multimedia5:amd64 (5.15.3-1) ...
Setting up qml-module-qtcharts:amd64 (5.15.3-1) ...
Setting up grass-doc (7.8.7-1) ...
Setting up libqt5pdf5:amd64 (5.15.9+dfsg-1) ...
Setting up libqt5multimediawidgets5:amd64 (5.15.3-1) ...
Setting up libjs-leaflet (1.7.1~dfsg-6) ...
Setting up qgis-plugin-grass-common (1:3.34.3+36jammy) ...
Setting up libqgis-native3.34.3 (1:3.34.3+36jammy) ...
Setting up libqgis-core3.34.3 (1:3.34.3+36jammy) ...
Setting up libqgis-server3.34.3 (1:3.34.3+36jammy) ...
Setting up libqgispython3.34.3 (1:3.34.3+36jammy) ...
Setting up grass-core (7.8.7-1) ...
Setting up python3-pyqt5.qtmultimedia (5.15.6+dfsg-1ubuntu3) ...
Setting up qt5-image-formats-plugin-pdf:amd64 (5.15.9+dfsg-1) ...
Setting up qgis-common (1:3.34.3+36jammy) ...
Setting up libqgis-analysis3.34.3 (1:3.34.3+36jammy) ...
Setting up libqgis-3d3.34.3 (1:3.34.3+36jammy) ...
Setting up libqgis-gui3.34.3 (1:3.34.3+36jammy) ...
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.

dpkg: error processing package qgis (--configure):
 dependency problems - leaving unconfigured
Setting up libqgis-customwidgets (1:3.34.3+36jammy) ...
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            dpkg: dependency pr
oblems prevent configuration of qgis-plugin-grass:
 qgis-plugin-grass depends on qgis (= 1:3.34.3+36jammy); however:
  Package qgis is not configured yet.

dpkg: error processing package qgis-plugin-grass (--configure):
 dependency problems - leaving unconfigured
Setting up libqgisgrass7-3.34.3 (1:3.34.3+36jammy) ...
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            dpkg: dependency pr
oblems prevent configuration of python3-qgis:
 python3-qgis depends on qgis-providers (= 1:3.34.3+36jammy); however:
  Package qgis-providers is not configured yet.

dpkg: error processing package python3-qgis (--configure):
 dependency problems - leaving unconfigured
Setting up libqgis-app3.34.3 (1:3.34.3+36jammy) ...
No apport report written because MaxReports has already been reached
                                                                    Setting up python3-qgis-common (1:3.34.3+36jammy) ...
Setting up qgis-provider-grass (1:3.34.3+36jammy) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for shared-mime-info (2.1-2) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
 qgis-providers
 qgis
 qgis-plugin-grass
 python3-qgis
E: Sub-process /usr/bin/dpkg returned an error code (1)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240127/eb580557/attachment-0001.htm>


More information about the QGIS-User mailing list