gerenciador de pacotes quebrado e erros de libjack após o uso de BleedingEdge12_4_26.sh

0

Eu instalei recentemente o Ubuntu 12.04 lts. Eu usei o script BleedingEdge12_4_26.sh que me foi recomendado para instalar mais alguns softwares.

Esta manhã, minha notificação de atualização apareceu e, quando tentei fazer uma atualização, comecei a receber erros sobre a quebra do gerenciador de pacotes. O log do gerenciador de pacotes revelou que o libjack era o problema.

Eu tentei instalá-lo manualmente, mas é isso que recebo:

$ sudo apt-get install  libjack-jackd2-0
[sudo] password for jls: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  jackd2
The following packages will be upgraded:
  libjack-jackd2-0
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 0 B/197 kB of archives.
After this operation, 3 072 B of additional disk space will be used.
(Reading database ... 207517 files and directories currently installed.)
Preparing to replace libjack-jackd2-0 1.9.8~dfsg.1-1ubuntu1 (using .../libjack-jackd2-0_1.9.8~dfsg.2-1precise1_amd64.deb) ...
Unpacking replacement libjack-jackd2-0 ...
dpkg: error processing /var/cache/apt/archives/libjack- jackd2-0_1.9.8~dfsg.2-1precise1_amd64.deb (--unpack):
 './usr/share/doc/libjack-jackd2-0/buildinfo.gz' is different from the same file on the system
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libjack-jackd2-0_1.9.8~dfsg.2-1precise1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Parece algum tipo de conflito, mas não consigo decifrar exatamente o quê.

Qualquer ajuda seria muito apreciada.

Obrigado

Atualização: Depois de mais algumas pesquisas, tentei fazer isso:

$ sudo apt-get clean
$ sudo apt-get update && sudo apt-get upgrade

que retornou isso:

Fetched 2 574 kB in 17s (144 kB/s)                                                                                                     
Reading package lists... Done
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:
 libjack-jackd2-0 : Breaks: libjack-jackd2-0:i386 (!= 1.9.8~dfsg.1-1ubuntu1) but 1.9.8~dfsg.2-1precise1 is installed
 libjack-jackd2-0:i386 : Breaks: libjack-jackd2-0 (!= 1.9.8~dfsg.2-1precise1) but 1.9.8~dfsg.1-1ubuntu1 is installed
E: Unmet dependencies. Try using -f.

Então eu tentei isso:

$ sudo apt-get -f install

que retornou isso:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libjack-jackd2-0
Suggested packages:
  jackd2
The following packages will be upgraded:
  libjack-jackd2-0
1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
1 not fully installed or removed.
Need to get 197 kB of archives.
After this operation, 3 072 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ppa.launchpad.net/dns/sound/ubuntu/ precise/main libjack-jackd2-0 amd64 1.9.8~dfsg.2-1precise1 [197 kB]
Fetched 197 kB in 1s (101 kB/s)            
(Reading database ... 207517 files and directories currently installed.)
Preparing to replace libjack-jackd2-0 1.9.8~dfsg.1-1ubuntu1 (using .../libjack-jackd2-0_1.9.8~dfsg.2-1precise1_amd64.deb) ...
Unpacking replacement libjack-jackd2-0 ...
dpkg: error processing /var/cache/apt/archives/libjack-jackd2-0_1.9.8~dfsg.2-1precise1_amd64.deb (--unpack):
 './usr/share/doc/libjack-jackd2-0/buildinfo.gz' is different from the same file on the system
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libjack-jackd2-0_1.9.8~dfsg.2-1precise1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

jls@jls-HP-Pavilion-g6-Notebook-PC:~$ sudo dpkg --configure -a
dpkg: error processing libjack-jackd2-0:i386 (--configure):
 libjack-jackd2-0:i386 1.9.8~dfsg.2-1precise1 cannot be configured because libjack-    jackd2-0:amd64 is in a different version (1.9.8~dfsg.1-1ubuntu1)
Errors were encountered while processing:
 libjack-jackd2-0:i386

Então, tentei remover o pacote conflitante;

$ sudo apt-get remove --purge libjack-jackd2-0

E acabou com isso;

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:
 gstreamer0.10-plugins-good : Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or libjack-0.116
 libasound2-plugins : Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or libjack-0.116
 libavdevice53 : Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or libjack-0.116
 libfluidsynth1 : Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or libjack-0.116
 libmlt4 : Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or libjack-0.116
 libportaudio2 : Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or libjack-0.116
 librtaudio4 : Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or libjack-0.116
 librtmidi1 : Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or libjack-0.116
 lmms : Depends: libjack-jackd2-0 (>= 1.9.5~dfsg-14) but it is not going to be installed or libjack-0.116
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

E agora estou realmente perplexo: (

    
por user111266 28.11.2012 / 07:35

1 resposta

0

link

Depois de tentar

sudo dpkg --configure -a

e

sudo apt-get install -f

o problema de um pacote quebrado ainda existe, a solução é editar o arquivo de status do dpkg manualmente.

$ sudo gedit /var/lib/dpkg/status    (you can use vi or nano instead of gedit)
Locate the corrupt package, and remove the whole block of information about it and save the file.
    
por ptheo 28.11.2012 / 09:48