Não é possível instalar o novo software

0

Sempre que tento instalar um novo software, recebo esta mensagem de erro

"New software can't be installed, because there is a problem with the software currently installed. Do you want to repair this problem now?"

Então eu verifico qual é o problema e obtenho isso

The following packages have unmet dependencies:

libpcap0.8: Depends: libc6 (>= 2.14) but 2.19-0ubuntu6.5 is installed
libpcap0.8:i386: Depends: libc6 (>= 2.11) but 2.19-0ubuntu6.5 is installed

Eu pesquisei e li em algum lugar que usar o código a seguir resolveria o problema. Tbh, isso não aconteceu. Eu postei a saída abaixo. Alguém pode me ajudar?

root@Beast:~# sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libpcap0.8:i386
The following packages will be upgraded:
  libpcap0.8:i386
1 upgraded, 0 newly installed, 0 to remove and 288 not upgraded.
3 not fully installed or removed.
Need to get 0 B/108 kB of archives.
After this operation, 9,216 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 223584 files and directories currently installed.)
Preparing to unpack .../libpcap0.8_1.5.3-2_i386.deb ...
Unpacking libpcap0.8:i386 (1.5.3-2) over (1.4.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/libpcap0.8_1.5.3-2_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/man/man7/pcap-filter.7.gz', which is different from other instances of package libpcap0.8:i386
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libpcap0.8_1.5.3-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Além disso, a execução de sudo apt-get autoremove fornece o seguinte:

root@Beast:~# sudo apt-get autoremove
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:
 libpcap0.8 : Breaks: libpcap0.8:i386 (!= 1.5.3-2) but 1.4.0-2 is installed
 libpcap0.8:i386 : Breaks: libpcap0.8 (!= 1.4.0-2) but 1.5.3-2 is installed
E: Unmet dependencies. Try using -f.
    
por thatrockbottomprogrammer 25.01.2015 / 09:40

2 respostas

0

Deixa pra lá, eu consertei o problema. Eu apaguei o conteúdo da pasta libpcap0.8 localizada em

% bl0ck_qu0te%

Em seguida, executei o código apt-get -f install e o pacote foi instalado corretamente.

Espero que isso ajude outras pessoas a terem o mesmo problema.

    
por thatrockbottomprogrammer 26.01.2015 / 04:46
0

Teste isso:

Abra um terminal

Pressione Ctrl + Alt + T

Execute:

sudo -i
rm /usr/share/man/man7/pcap-filter.7.gz
rm /var/cache/apt/archives/libpcap0.8_1.5.3-2_i386.deb
apt-get update
apt-get dist-upgrade
apt-get autoremove
apt-get clean
    
por kyodake 25.01.2015 / 16:30