Problemas de dependência ao tentar instalar o qgis python ______ qstntxt ___

Eu estava tentando instalar o qgis ..

link

Então, quando eu corri ...

%pre%

Eu recebi o erro abaixo ...

%pre%

sudo dpkg --configure -a
sudo apt-get install -f

%pre%     
______ azszpr925711 ___

Como afirmado na mensagem de erro %code% , você precisa instalar o libmysqlclient18.

Se você estiver usando o Ubuntu 14.04, então %code% .

Se você estiver usando o Ubuntu 16.04, libmysqlclient18 não está mais disponível (substituído por libmysqlclient20). Você pode seguir a resposta no link

    
___

1

Eu estava tentando instalar o qgis ..

link

Então, quando eu corri ...

sudo apt-get install qgis python-qgis qgis-plugin-grass

Eu recebi o erro abaixo ...

sudo apt-get install qgis python-qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-qgis is already the newest version.
qgis is already the newest version.
qgis-plugin-grass is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up qgis-providers (1:2.18.9+13jessie) ...
/usr/lib/qgis/crssync: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
dpkg: error processing package qgis-providers (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of qgis:
 qgis depends on qgis-providers (= 1:2.18.9+13jessie); however:
  Package qgis-providers is not configured yet.

dpkg: error processing package qgis (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qgis-plugin-grass:
 qgis-plugin-grass depends on qgis (= 1:2.18.9+13jessie); however:
  Package qgis is not configured yet.

dpkg: error processing package qgis-plugin-grass (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 qgis-providers
 qgis
 qgis-plugin-grass
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo dpkg --configure -a
sudo apt-get install -f

Setting up qgis-providers (1:2.18.9+13jessie) ...
/usr/lib/qgis/crssync: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
dpkg: error processing package qgis-providers (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of qgis:
 qgis depends on qgis-providers (= 1:2.18.9+13jessie); however:
  Package qgis-providers is not configured yet.

dpkg: error processing package qgis (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qgis-plugin-grass:
 qgis-plugin-grass depends on qgis (= 1:2.18.9+13jessie); however:
  Package qgis is not configured yet.

dpkg: error processing package qgis-plugin-grass (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 qgis-providers
 qgis
 qgis-plugin-grass
    
por user3238318 15.06.2017 / 09:18

1 resposta

1

Como afirmado na mensagem de erro /usr/lib/qgis/crssync: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory , você precisa instalar o libmysqlclient18.

Se você estiver usando o Ubuntu 14.04, então sudo apt-get install libmysqlclient18 .

Se você estiver usando o Ubuntu 16.04, libmysqlclient18 não está mais disponível (substituído por libmysqlclient20). Você pode seguir a resposta no link

    
por Kaijia Feng 15.06.2017 / 13:32