dpkg quebrado após 15.04 upgrade falhar

1

Comecei a atualização do ubuntu antes de sair para o trabalho e voltei para algo quebrado. Depois de alguns esforços para obter mais informações para corrigir este problema, fiz o seguinte:

>sudo apt-get dist-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:
 ia32-libs : Depends: ia32-libs-multiarch but it is not installable
 libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.6) but 2.19-10ubuntu2.3 is installed
 libpcre3-dev : Depends: libpcre3 (= 1:8.31-2ubuntu2) but 1:8.35-3ubuntu1 is installed
 skype : Depends: skype-bin but it is not installable
E: Unmet dependencies. Try using -f.

Então tente -f ...

>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:
  libc6-dbg libpcre3-dev libpcrecpp0
The following packages will be REMOVED:
 ia32-libs skype
The following packages will be upgraded:
  libc6-dbg libpcre3-dev libpcrecpp0
3 upgraded, 0 newly installed, 2 to remove and 1649 not upgraded.
160 not fully installed or removed.
Need to get 0 B/3,799 kB of archives.
After this operation, 242 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
E: Sub-process /usr/bin/dpkg returned an error code (2)

Verifique o dpkg ...

>sudo dpkg
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'

Alguém pode aconselhar por favor?

    
por StarStrides 27.04.2015 / 23:48

1 resposta

0

você pode tentar isso?

$ sudo dpkg --configure -a

Se isso for inútil, você pode tentar remover o /etc/dpkg/dpkg.cfg.d/multiarch (ou melhor backup) e, em seguida, emitir

$ sudo dpkg --add-architecture foreign-architecture
    
por user3417815 28.04.2015 / 00:39