Closed utterances-bot closed 7 months ago
sudo apt install qgis qgis-plugin-grass 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: qgis : Depends: libgdal30 (>= 1.11) but it is not going to be installed Depends: libproj22 (>= 5.0.0) but it is not installable Depends: libqgis-3d3.34.4 but it is not going to be installed Depends: libqgis-analysis3.34.4 but it is not going to be installed Depends: libqgis-app3.34.4 but it is not going to be installed Depends: libqgis-core3.34.4 but it is not going to be installed Depends: libqgis-gui3.34.4 but it is not going to be installed Depends: libqt5keychain1 (>= 0.7.0) but it is not installable Depends: libqt5webkit5 (>= 5.212.0~alpha3) but it is not installable Depends: python3-qgis (= 1:3.34.4+36jammy) but it is not going to be installed Depends: qgis-providers (= 1:3.34.4+36jammy) but it is not going to be installed Depends: qgis-common (= 1:3.34.4+36jammy) but it is not going to be installed qgis-plugin-grass : Depends: qgis-provider-grass (= 1:3.34.4+36jammy) but it is not going to be installed Depends: grass787 but it is not installable Depends: libgdal30 (>= 1.11) but it is not going to be installed Depends: libqgis-app3.34.4 but it is not going to be installed Depends: libqgis-core3.34.4 but it is not going to be installed Depends: libqgis-gui3.34.4 but it is not going to be installed Depends: libqgisgrass7-3.34.4 but it is not going to be installed E: Unable to correct problems, you have held broken packages.
what could be the issue in this I have been trying to install but no fruit
Difficult to say without knowing more about your system and the workflow. Looks like you are on Ubuntu Jammy (verify by running lsb_release -cs
first. If you are not on Jammy then you'll have to change the name in Step 4. Try the workflow step-by-step and make sure you have not missed any step.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted (core dumped)
I got this error after running the qgis_process command, after installing qgis in Ubuntu EC2 instance. Is it bcoz I am installing in an EC2 instance?
@ajigeo You may have better luck installing QGIS using conda https://gisunchained.wordpress.com/2019/05/29/using-qgis-from-conda/
You will need to specify the exact version number which you will get from https://anaconda.org/conda-forge/qgis/labels. Install miniconda, create an environment and run a command like
conda install -c conda-forge qgis=3.34.11
Install QGIS-LTR
https://courses.spatialthoughts.com/install-qgis-ltr.html