Не удалось обновить QGIS на Ubuntu - PullRequest
0 голосов
/ 10 июля 2020

Я пытаюсь обновить QGIS на Ubuntu 18.4, но не могу это сделать.

Следуя инструкциям для установки последней версии QGIS, я получил следующие ошибки.

XXXX@XXXX:~$ sudo apt-get install qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree       
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: libqgis-3d3.14.0 but it is not going to be installed
        Depends: libqgis-analysis3.14.0 but it is not going to be installed
        Depends: libqgis-app3.14.0 but it is not going to be installed
        Depends: libqgis-core3.14.0 but it is not going to be installed
        Depends: libqgis-gui3.14.0 but it is not going to be installed
        Depends: python3-qgis (= 1:3.14.0+28bionic) but it is not going to be installed
        Depends: qgis-providers (= 1:3.14.0+28bionic) but it is not going to be installed
 qgis-plugin-grass : Depends: qgis-provider-grass (= 1:3.14.0+28bionic) but 3.10.4+dfsg-1~bionic1 is to be installed
                     Depends: grass740
                     Depends: libgdal20 (>= 1.8.0) but it is not going to be installed
                     Depends: libqgis-app3.14.0 but it is not going to be installed
                     Depends: libqgis-core3.14.0 but it is not going to be installed
                     Depends: libqgis-gui3.14.0 but it is not going to be installed
                     Depends: libqgisgrass7-3.14.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

1 Ответ

1 голос
/ 10 июля 2020

Пробовали ли вы использовать репозиторий нестабильной версии ubuntugis (https://qgis.org/ubuntugis)?

sudo apt-get install gnupg software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 51F523511C7028C3
sudo add-apt-repository "deb     https://qgis.org/ubuntugis `lsb_release -c -s` main"
sudo apt-get update
sudo apt-get install qgis qgis-plugin-grass
...