Closed tazrart closed 1 month ago
I have the same issue
Yes, me too ...
ubuntugis version depends on grass820
and ubuntu version depends on grass782
both dependencies are not able to be resolved.
grass
from ubuntugis offers grass78
@Uatschitchun, as far as I can see, currently, QGIS 3.32.2:
So, I don't see the issue here...
@agiudiceandrea This refers, like the initial issue, to focal (20.04). I know that focal does not support latest qgis version cause of QT 5.13, but being able to install latest QT 5.12 version (3.26?) would still be nice
@Uatschitchun, I'm sorry but QGIS 3.26 and Ubuntu Focal are no longer supported: https://github.com/qgis/QGIS-Website/commit/55e2b2e26164a63bb5ce9c5c35041cfa923c6997 https://qgis.org/en/site/getinvolved/development/roadmap.html
Anyway, about QGIS 3.26.3 for Ubuntu Focal: the qgis-plugin-grass package from ubuntu.qgis.org repository depends on grass782 and the Ubuntu repository currently offers grass-core 7.8.2-1build3 and grass782 packages.
Following https://www.qgis.org/resources/installation-guide/ I have this issue with ubuntu 22.04 $ sudo apt install 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-plugin-grass : Depends: grass787 E: Unable to correct problems, you have held broken packages.
Please, reopen.
@agiudiceandrea sudo apt install qgis
works fine. The problem is with qgis-plugin-grass only.
@jef-n, have you seen this issue report?
@jef-n, have you seen this issue report?
Maybe, but it doesn't have enough information to be conclusive anyway.
$ cat pkgtest.sh
#!/bin/bash
set -e
dist=jammy
debootstrap --components=main,universe $dist $dist
mkdir -m755 -p $dist/etc/apt/keyrings
wget -O $dist/etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg
cat <<EOF >>$dist/etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu $dist-security main universe
deb http://archive.ubuntu.com/ubuntu $dist-updates main universe
EOF
cat <<EOF >$dist/etc/apt/sources.list.d/qgis.sources
Types: deb deb-src
URIs: https://qgis.org/debian
Suites: $dist
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg
EOF
chroot $dist apt-get update
chroot $dist apt-get install -y qgis-plugin-grass
chroot $dist dpkg -l "*grass*"
$ sudo pkgtest.sh
…
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-========================-================-============-=====================================================
un grass <none> <none> (no description available)
ii grass-core 7.8.7-1 amd64 GRASS GIS core components
un grass-dev <none> <none> (no description available)
un grass-dev-doc <none> <none> (no description available)
ii grass-doc 7.8.7-1 all GRASS GIS user documentation
un grass-gui <none> <none> (no description available)
un grass787 <none> <none> (no description available)
un libgdal-grass <none> <none> (no description available)
ii libqgisgrass7-3.38.1 1:3.38.1+36jammy amd64 QGIS - shared grass library
ii qgis-plugin-grass 1:3.38.1+36jammy amd64 GRASS plugin for QGIS
ii qgis-plugin-grass-common 1:3.38.1+36jammy all GRASS plugin for QGIS - architecture-independent data
ii qgis-provider-grass 1:3.38.1+36jammy amd64 GRASS provider for QGIS
BTW same for 1:3.34.9+36jammy
I've just installed qgis 3.38.1 on Ubuntu Jammy Jellyfish 22.04 with sudo apt install qgis qgis-plugin-grass
following https://qgis.org/resources/installation-guide/#debianubuntu without any issue.
But not in my case, and this is well reported. Ignoring a problem is not fixing it, please do not close it. The grass plugin is not really relevant for me, but it might be for other people, and closing like this is not the way to achieve robust software.
(base) alobo@pop-os:~$ lsb_release -cs
jammy
(base) alobo@pop-os:~$ cat /etc/apt/sources.list.d/qgis.sources
Types: deb deb-src
URIs: https://qgis.org/debian
Suites: jammy
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg
(base) alobo@pop-os:~$ sudo apt update
Hit:1 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease
Hit:3 https://ppa.launchpadcontent.net/c2d4u.team/c2d4u4.0+/ubuntu jammy InRelease
Hit:4 https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu jammy InRelease
Hit:5 http://apt.pop-os.org/proprietary jammy InRelease
Hit:2 https://debian.qgis.org/debian jammy InRelease
Hit:6 http://apt.pop-os.org/release jammy InRelease
Hit:7 http://apt.pop-os.org/ubuntu jammy InRelease
Hit:8 http://apt.pop-os.org/ubuntu jammy-security InRelease
Hit:9 http://apt.pop-os.org/ubuntu jammy-updates InRelease
Hit:10 http://apt.pop-os.org/ubuntu jammy-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
(base) alobo@pop-os:~$ sudo apt install qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
qgis is already the newest version (1:3.38.1+36jammy).
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-plugin-grass : Depends: grass787
E: Unable to correct problems, you have held broken packages.
(base) alobo@pop-os:~$
@aloboa, you are using Pop!_OS, not Ubuntu (as previously reported), aren't you? It looks like your issue may have the same root cause of https://github.com/qgis/QGIS/issues/57951.
Feature description
Dear QGIS Users,
I wanted install QGIS (3.24) on Ubuntu (20.04) following the steps cited in : https://www.qgis.org/fr/site/forusers/alldownloads.html (section Debian/ubuntu), but I have this error : qgis-plugin-grass : Depends: grass786.
I tried to follow the solutions proposed in the issue below but I can't solve my problem: https://github.com/qgis/QGIS/issues/38329
Here are my command lines in the terminal:
How to solve this problem please?
Thank you in advance for your help.
Best regards,
Additional context
No response