Problema com libmariadb-dev, libmysqlclient-dev e libgdal-dev

0

Estou tentando instalar o libgdal-dev (para um pacote R que eu realmente preciso) usando:

sudo apt-get install libgdal-dev

Mas então recebo a mensagem de erro:

The following packages have unmet dependencies:
libgdal-dev : Depends: libmysqlclient-dev
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Então eu corro:

sudo apt-get -f install

que me dá:

[...]
dpkg: error processing archive /var/cache/apt/archives/libmysqlclient-dev_5.7.22-0ubuntu0.16.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/mysql_config.1.gz', which is also in package libmariadb-dev 1:10.3.7+maria~xenial
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/libmysqlclient-dev_5.7.22-0ubuntu0.16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Se eu tentar instalar o libmysqlclient-dev;

sudo apt-get install libmysqlclient-dev

gera:

[...]
dpkg: error processing archive /var/cache/apt/archives/libmysqlclient-dev_5.7.22-0ubuntu0.16.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/mysql_config.1.gz', which is also in package libmariadb-dev 1:10.3.7+maria~xenial
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/libmysqlclient-dev_5.7.22-0ubuntu0.16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Meu /etc/apt/sources.list está aqui link .

Alguém tem alguma idéia do que fazer? Eu estou realmente perdida ..

Muito obrigado

    
por snowy_squirrel 13.07.2018 / 20:19

0 respostas