[Qgis-user] Problems with installation QGIS Server 3.28.5 on Ubuntu 22.04.

G. Wagner, Wagner-IT info at wagner-it.de
Fri Apr 21 09:38:06 PDT 2023


Hello,

I have problems installing QGIS Server 3.28.5 on Ubuntu 22.04. (Hetzner Cloud Server [1]):
I proceed accordingly [2]. But with "sudo apt install qgis-server --no-install-recommends --no-install-suggests " I receive:

gw at CAX11-2204:~$ sudo apt install qgis-server --no-install-recommends --no-install-suggests
Reading package lists... Done
Building dependency tree... Done
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:
 python3-qgis : Depends: python3-qgis-common (= 3.22.4+dfsg-3build1) but it is not going to be installed
 qgis-providers : Depends: qgis-providers-common (= 3.22.4+dfsg-3build1) but 1:3.28.5+36jammy is to be install                    
E: Unable to correct problems, you have held broken packages.


This cannot be fixed even with "sudo apt --fix-broken install".

During the installation on a dedicated server from Hetzner (also 22.04.) there are no error messages during the installation but with the subsequent "sudo apt update / upgrade" 13 packages for the QGIS server 3.28.5 can not be updated. 
However, with a "sudo apt --fix-broken install" this can be fixed and then everything runs fine.

I understand that in Ubuntu 22.04. there are probably already packages for the QGIS server 3.22.4 that cause problems here.
Has anyone had similar problems or a tip for me?

Greeting
Günter


[1] https://www.hetzner.com/cloud?country=de
Thought this would be a cheap alternative for test environments. Starts with 4,52 €/month

[2]   https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
With:
Types: deb deb-src
URIs: https://qgis.org/ubuntu-ltr
Suites: jammy
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg

in  /etc/apt/sources.list.d/qgis.sources



More information about the QGIS-User mailing list