[Qgis-user] Install an older version of the QGIS-Server under Ubuntu 24.04.
G. Wagner, Wagner-IT
info at wagner-it.de
Thu Mar 6 11:26:49 PST 2025
Moin Jürgen,
> sudo apt install \
...
> qgis-server-common=1:3.34.15+40noble
worked great.
I had previously deleted 3.40.4 with ‘apt purge qgis-server’
Thank you very much for your quick and detailed help
Greetings
Günter
And sorry for the last German mail, had forgotten the translation
-----Ursprüngliche Nachricht-----
Von: QGIS-User <qgis-user-bounces at lists.osgeo.org> Im Auftrag von Jürgen E. Fischer via QGIS-User
Gesendet: Donnerstag, 6. März 2025 19:08
An: qgis-user at lists.osgeo.org
Betreff: Re: [Qgis-user] Install an older version of the QGIS-Server under Ubuntu 24.04.
Moin GÜnter,
On Thu, 06. Mar 2025 at 18:00:33 +0100, Jürgen E. Fischer via QGIS-User wrote:
> 1:3.34.15+99sid 500
> 500 https://qgis.org/debian-ltr sid/main amd64 Packages … $
> apt-cache policy Package files:
> …
> 500 https://qgis.org/debian-ltr sid/main amd64 Packages
> release o=QGIS project,a=unstable,n=sid,l=QGIS repository,c=main,b=amd64
> origin qgis.org
> …
> $ sudo apt install qgis=1:3.40.4+99sid -t "o=QGIS project"
Ouch, sorry.
I wanted to avoid having to specify the version to each package for this post - and found a page that was suggesting -t - and that (suprisingly) seemed to do the trick.
But it actually didn't, I just I pasted the latest version instead of 1:3.34.15+99sid on the second try, which already would have worked w/o the -t.
So (for noble)
sudo apt install qgis=1:3.34.15+40noble
will actually try to install that very version, but fail, because it'll try to fetch the latest version of the qgis dependencies. So you have to list each each qgis package it complains about individually until you have them all:
sudo apt install {{,python3-}qgis{,-common},qgis-provider{s{,-common},-grass},qgis-plugin-grass{,-common},qgis-server{,-{dummy,wms,wmts,wcs,wfs,wfs3,landingpage,common}}}=1:3.34.15+40noble
(short(er) for
sudo apt install \
qgis=1:3.34.15+40noble \
qgis-common=1:3.34.15+40noble \
python3-qgis=1:3.34.15+40noble \
python3-qgis-common=1:3.34.15+40noble \
qgis-providers=1:3.34.15+40noble \
qgis-providers-common=1:3.34.15+40noble \
qgis-provider-grass=1:3.34.15+40noble \
qgis-plugin-grass=1:3.34.15+40noble \
qgis-plugin-grass-common=1:3.34.15+40noble \
qgis-server=1:3.34.15+40noble \
qgis-server-dummy=1:3.34.15+40noble \
qgis-server-wms=1:3.34.15+40noble \
qgis-server-wmts=1:3.34.15+40noble \
qgis-server-wcs=1:3.34.15+40noble \
qgis-server-wfs=1:3.34.15+40noble \
qgis-server-wfs3=1:3.34.15+40noble \
qgis-server-landingpage=1:3.34.15+40noble \
qgis-server-common=1:3.34.15+40noble
)
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de
QGIS release manager (PSC) Germany IRC: jef on Libera|OFTC
More information about the QGIS-User
mailing list