Tôi gặp sự cố khi cài đặt QGIS trên Xenial.
phát hành `debian`
Khi tôi thử sử dụng debian
bản phát hành (tức là không có ubuntugis
phụ thuộc), tôi gặp các lỗi sau (xin lưu ý rằng không có xenial
bản phát hành nên tôi đã sử dụng wily
khi thiết lập sources.list
):
~$ sudo apt install qgis python-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.
python-qgis : Depends: python-qgis-common (= 1:2.14.1+23wily) but it is not going to be installed
Depends: libqgispython2.14.1 but it is not going to be installed
Depends: libqgis-analysis2.14.1 but it is not going to be installed
Depends: libqgis-core2.14.1 but it is not going to be installed
Depends: libqgis-gui2.14.1 but it is not going to be installed
Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
Depends: libqgis-server2.14.1 but it is not going to be installed
qgis : Depends: libgdal.so.1-1.11.2 but it is not installable
Depends: libgsl0ldbl (>= 1.9) but it is not installable
Depends: libqgis-analysis2.14.1 but it is not going to be installed
Depends: libqgis-app2.14.1 but it is not going to be installed
Depends: libqgis-core2.14.1 but it is not going to be installed
Depends: libqgis-gui2.14.1 but it is not going to be installed
Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
Depends: qgis-providers (= 1:2.14.1+23wily) but it is not going to be installed
Recommends: qgis-provider-grass but it is not going to be installed
Recommends: qgis-plugin-globe but it is not going to be installed
qgis-plugin-grass : Depends: qgis-provider-grass (= 1:2.14.1+23wily) but it is not going to be installed
Depends: libqgis-app2.14.1 but it is not going to be installed
Depends: libqgis-core2.14.1 but it is not going to be installed
Depends: libqgis-gui2.14.1 but it is not going to be installed
Depends: libqgisgrass7-2.14.1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
phát hành `ubuntugis`
Sau khi thất bại với debian
bản phát hành, tôi đã thử ubuntugis
phát hành bằng cách thêm ubuntugis-unstable
PPA (một lần nữa tôi đã sử dụng wily
bản phát hành ubuntugis để thống nhất với bản phát hành QGIS):
:~$ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB]
Hit:2 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu wily InRelease [15.5 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB]
Hit:5 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease
Hit:7 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:8 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu wily/main amd64 Packages [4,297 B]
Get:9 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu wily/main i386 Packages [4,307 B]
Get:10 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu wily/main Translation-en [2,463 B]
Ign:11 http://linux.dropbox.com/ubuntu wily InRelease
Hit:12 http://linux.dropbox.com/ubuntu wily Release
Ign:14 https://cloud.r-project.org/bin/linux/ubuntu xenial/ InRelease
Hit:15 https://cloud.r-project.org/bin/linux/ubuntu xenial/ Release
Ign:17 http://qgis.org/ubuntugis wily InRelease
Err:18 http://qgis.org/ubuntugis wily Release
404 Not Found [IP: 104.27.138.220 80]
Reading package lists... Done
W: https://cloud.r-project.org/bin/linux/ubuntu/xenial/Release.gpg: Signature by key E298A3A825C0D65DFD57CBB651716619E084DAB9 uses weak digest algorithm (SHA1)
E: The repository 'http://qgis.org/ubuntugis wily Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Dòng này E: The repository 'http://qgis.org/ubuntugis wily Release' does not have a Release file.
trông khá nguy hiểm vì vậy tôi đã thử trusty
(bản phát hành được hỗ trợ gần đây nhất). Điều này được cập nhật, nhưng khi cố gắng cài đặt:
:~$ sudo apt install qgis python-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.
python-qgis : Depends: python-qgis-common (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
Depends: libqgispython2.14.1 but it is not going to be installed
Depends: libqgis-analysis2.14.1 but it is not going to be installed
Depends: libqgis-core2.14.1 but it is not going to be installed
Depends: libqgis-gui2.14.1 but it is not going to be installed
Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
Depends: libqgis-server2.14.1 but it is not going to be installed
qgis : Depends: libgdal.so.1-1.11.2
Depends: libgdal1h (>= 1.8.0) but it is not going to be installed
Depends: libgeos-c1 (>= 3.4.2) but it is not installable
Depends: libgsl0ldbl (>= 1.9) but it is not installable
Depends: libqgis-analysis2.14.1 but it is not going to be installed
Depends: libqgis-app2.14.1 but it is not going to be installed
Depends: libqgis-core2.14.1 but it is not going to be installed
Depends: libqgis-gui2.14.1 but it is not going to be installed
Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
Depends: qgis-providers (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
Recommends: qgis-provider-grass but it is not going to be installed
Recommends: qgis-plugin-globe but it is not going to be installed
qgis-plugin-grass : Depends: qgis-provider-grass (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
Depends: libgdal1h (>= 1.8.0) but it is not going to be installed
Depends: libqgis-app2.14.1 but it is not going to be installed
Depends: libqgis-core2.14.1 but it is not going to be installed
Depends: libqgis-gui2.14.1 but it is not going to be installed
Depends: libqgisgrass7-2.14.1 but it is not going to be installed
Depends: grass-core but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Cuối cùng, để hoàn thiện, với việc xenial
phát hành ubuntugis
:
$ sudo apt install qgis python-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.
python-qgis : Depends: python-qgis-common (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
Depends: libqgispython2.14.1 but it is not going to be installed
Depends: libqgis-analysis2.14.1 but it is not going to be installed
Depends: libqgis-core2.14.1 but it is not going to be installed
Depends: libqgis-gui2.14.1 but it is not going to be installed
Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
Depends: libqgis-server2.14.1 but it is not going to be installed
qgis : Depends: libgdal.so.1-1.11.2 but it is not installable
Depends: libgdal1h (>= 1.8.0) but it is not installable
Depends: libgeos-c1 (>= 3.4.2) but it is not installable
Depends: libgsl0ldbl (>= 1.9) but it is not installable
Depends: libqgis-analysis2.14.1 but it is not going to be installed
Depends: libqgis-app2.14.1 but it is not going to be installed
Depends: libqgis-core2.14.1 but it is not going to be installed
Depends: libqgis-gui2.14.1 but it is not going to be installed
Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
Depends: qgis-providers (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
Recommends: qgis-provider-grass but it is not going to be installed
Recommends: qgis-plugin-globe but it is not going to be installed
qgis-plugin-grass : Depends: qgis-provider-grass (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
Depends: libgdal1h (>= 1.8.0) but it is not installable
Depends: libqgis-app2.14.1 but it is not going to be installed
Depends: libqgis-core2.14.1 but it is not going to be installed
Depends: libqgis-gui2.14.1 but it is not going to be installed
Depends: libqgisgrass7-2.14.1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Hy vọng rằng việc phát hành QGIS cho Xenial sẽ sớm được cung cấp, nhưng có ai quản lý để cài đặt QGIS 2.14 trên Xenial không?