dependências não atendidas libgphoto2-port12_2.5.14 + 201706200750 ~ ubuntu16.04.1_i386.deb

1

Eu tenho libgphoto2-port12_2.5.14 erros enquanto apt upgrade , e eles não são resolvidos com apt -f install . Eu não instalei nada de novo, basta executar a atualização de rotina, atualizar. Eu vi outra pergunta semelhante em Dependências não atendidas - libgphoto2-port12 mas ele está em espera e eu não posso o nível para comentar.

Tentei todas as suas "soluções" sem sucesso, incluindo sudo apt-get dist-upgrade -f que resolvem isso. Meu conf é:

$ uname -r
4.4.0-81-generic
$ lsb_release -a
LSB Version:    core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:    16.04
Codename:   xenial

O erro incorreto é:

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies: 
libgphoto2-6:i386 : Depends: libgphoto2-port12:i386 (>= 2.5.10) but 2.5.9-3 is installed 
libgphoto2-port12 : Breaks: libgphoto2-port12:i386 (!= 2.5.14+201706200750~ubuntu16.04.1) but 2.5.9-3 is installed
libgphoto2-port12:i386 : Breaks: libgphoto2-port12 (!= 2.5.9-3) but 2.5.14+201706200750~ubuntu16.04.1 is installed
E: Unmet dependencies. Try using -f.

Se eu tentar forçar:

$ sudo apt -f install
....
(Reading database ... 438863 files and directories currently installed.)
Preparing to unpack .../libgphoto2-port12_2.5.14+201706200750~ubuntu16.04.1_i386.deb ...
Unpacking libgphoto2-port12:i386 (2.5.14+201706200750~ubuntu16.04.1) over (2.5.9-3) ...
dpkg: error processing archive /var/cache/apt/archives/libgphoto2-port12_2.5.14+201706200750~ubuntu16.04.1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/locale/fr/LC_MESSAGES/libgphoto2_port-12.mo', which is different from other instances of package libgphoto2-port12:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libgphoto2-port12_2.5.14+201706200750~ubuntu16.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Preciso de ajuda porque não consigo instalar nenhum pacote. Se alguém considerar que isso não está relacionado ao Ubuntu, por favor, deixe-me saber qual é o fórum adequado. Obrigado

    
por Agustin Nunez 21.06.2017 / 13:44

2 respostas

0

As versões libgphoto2-port122.5.14 + 201706200750 ~ ubuntu16.04.1: {i386: amd64} estavam vindo de ppa: mutlaqja / ppa não do repositório do ubuntu. Eu finalmente resolvi por mim baixando diretamente 16.04 versões estáveis do ubuntu do link com:

 $ wget http://archive.ubuntu.com/ubuntu/pool/main/libg/libgphoto2/libgphoto2-port12_2.5.10-3_amd64.deb
 $ wget http://archive.ubuntu.com/ubuntu/pool/main/libg/libgphoto2/libgphoto2-port12_2.5.10-3_i386.deb

Em seguida, instale-os com:

 $ sudo dpkg -i libgphoto2-port12_2.5.10-3_i386.deb
 $ sudo dpkg -i libgphoto2-port12_2.5.10-3_amd64.deb

Finalmente, removi o ppa ofensivo (temporário até a solução do bug) com:

 $ sudo add-apt-repository --remove ppa:mutlaqja/ppa

Depois, eu reinicio para limpar o cache e executar os padrões apt-get update e upgrade, sem erros. Agora estou livre novamente para instalar novos pacotes.

    
por Agustin Nunez 23.06.2017 / 21:56
-1

"libgphoto2-port12: Quebras: libgphoto2-port12: i386 (! = 2.5.14 + 201706200750 ~ ubuntu16.04.1)"

as versões de 64 bits e 32 bits devem ser as mesmas.

atualize libphoto2-port12 para ver 2.5.14 ou faça o downgrade de libphoto2-port12; I386 PARA VER 2.5.9-3

    
por ravery 21.06.2017 / 14:02