无法在 Ubuntu 上更新 QGIS
Fail to update QGIS on Ubuntu
我正在尝试在 Ubuntu 18.4 上更新 QGIS,但我做不到。
我按照instruction安装最新版本的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.
您是否尝试使用 ubuntugis-unstable 版本存储库 (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
我正在尝试在 Ubuntu 18.4 上更新 QGIS,但我做不到。
我按照instruction安装最新版本的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.
您是否尝试使用 ubuntugis-unstable 版本存储库 (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