Estou tendo problemas para instalar o QGIS no Xenial.
lançamento do `debian`
Quando tento usar a debian
versão (ou seja, sem ubuntugis
dependências), obtenho os seguintes erros (observe que não há xenial
versão, então usei wily
ao configurar a 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.
Lançamento do ubuntugis
Depois de falhar com o debian
lançamento, tentei o ubuntugis
lançamento adicionando o ubuntugis-unstable
PPA (novamente usei o wily
lançamento do ubuntugis para garantir a consistência com o lançamento do 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.
A linha E: The repository 'http://qgis.org/ubuntugis wily Release' does not have a Release file.
parecia bastante fatal, então tentei trusty
(a versão suportada mais recente). Isso foi atualizado, mas ao tentar instalar:
:~$ 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.
Por fim, por uma questão de integridade, com o xenial
lançamento de 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.
Esperamos que uma versão do QGIS for Xenial seja disponibilizada em breve, mas alguém conseguiu instalar o QGIS 2.14 no Xenial?
fonte
Respostas:
Parece que existe realmente suporte Xenial no repositório debian e, embora eu não tenha tentado a solução a seguir, acho que vale a pena tentar.
Antes de tentar o seguinte eu desinstalar todos os pacotes QGIS anteriores usando
sudo apt-get remove qgis python-qgis qgis-plugin-grass
e removerdeb http://qgis.org/debian wily main
edeb-src http://qgis.org/debian wily main
partir/etc/apt/sources.list
.EDIT Para remover pacotes que são instalados como dependências automáticas ao instalar o qgis, execute o comando
sudo apt-get autoremove
após executar os comandos acima para removê-los. EDIT FIMO seguinte é adaptado de qgis.org para incluir a
xenial
palavra - chave.Adicione o seguinte ao seu
/etc/apt/sources.list
:deb http://qgis.org/debian xenial main
deb-src http://qgis.org/debian xenial main
então execute:
sudo apt-get update
sudo apt-get install qgis python-qgis qgis-plugin-grass
Estou muito interessado em saber se você faz funcionar.
fonte
Se você não tiver certeza de quais distribuições são suportadas, digite o URL depois
deb
no navegador e navegue até adists
pasta.Então você verá que isso
http://qgis.org/debian/dists/
é até xenial, enquantohttp://qgis.org/ubuntugis/dists/
apenas oferece suporte preciso e confiável.Outras fontes são o ubuntugis estável ppa , que atualmente possui apenas o QGIS 2.8.3 para confiável, enquanto o ubuntugis instável ainda está no QGIS 2.8.1. Ultimamente, tem havido alguma atividade nesses ppa, portanto, fique de olho neles.
E o QGIS 2.14.1 também está disponível para o Debian sid nos principais pacotes debian, enquanto o jessie backports oferece 2.8.6 (o mesmo que para o Ubuntu).
ATUALIZAR
O PPA instável para ubuntugis agora também suporta o QGIS 2.14.1 para Xenial.
fonte
Como usuário do Linux Mint 'Cinnamon' 17.3, também lutei com essas "dependências não atendidas (libgdal.so.1-1.11.2 etc.)" e tive que atualizar o ppa. Eu fiz isso incluindo os seguintes links no
/etc/apt/sources.list
:fonte
Para instalá-lo no xenial, você só precisa:
fonte
Apesar de implementar muitas dicas encontradas na Internet, não consegui instalar o QGIS no Ubuntu 16.04 até encontrar este vídeo breve e útil: https://www.youtube.com/watch?v=hmJwYaYmRDU
Até então, eu também estava lutando com mensagens sobre várias "dependências não atendidas" e "pacotes ausentes / quebrados" (dica para o criador do vídeo: Linux Enthusiast)
Aqui estão as etapas que você precisa seguir no terminal:
Etapa 1. Digite:
sudo nano /etc/apt/sources.list
[pressione Enter]Etapa 2. Digite:
[Pressione Enter e, quando solicitado a "Salvar buffers modificados" , pressione a tecla y]
Etapa 3. Digite:
wget -O - https://qgis.org/downloads/qgis-2017.gpg.key | gpg --import
[pressione Enter]Digitar:
gpg --fingerprint CAEB3DC3BDF7FB45
[pressione Enter]Etapa 4. Digite:
sudo apt-get update
[pressione Enter]Etapa 5. Digite:
sudo apt-get install qgis-server python-qgis
[pressione Enter]Você quer continuar? - [pressione a tecla y]
Instalar esses pacotes sem verificação? [pressione a tecla y]
O QGIS será instalado e, posteriormente, você o encontrará na sua lista de programas. Boa sorte, espero que isso ajude. **
fonte
O Debian Xenial funciona para mim. Primeiro instalei o bleachbit em um autoremove, limpo.
O texto acima foi traduzido pelo Google a partir de:
fonte