nome do pacote ambíguo 'libgdk-pixbuf2.0-0' com mais de um instalado

0

Eu tentei atualizar o meu sistema Ubuntu 12,04 64bit no AMD PhenomIIx4-955BE. O poder falhou esta tarde, não uma vez, mas duas vezes seguidas. Eu sabia que algo ia causar um problema. Recentemente resolvi o problema do dpkg com o multi-diretório i386 (Unkown), eu apenas comentei. Agora estou recebendo esse erro estranho. Abaixo está uma impressão do terminal. Eu tive alguns problemas com o Wine antes, e atualmente uso o VirtualBox. Eu obviamente comecei a remover neste caso. Eu sou um novato com linux, mas posso contornar o cli. Por favor, ajude!

root@unimatrix725-24219:~/Documents# apt-get remove wine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package wine is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 wine1.5 : Depends: wine1.5-i386 (= 1.5.5-0ubuntu1~ppa1~precise1+pulse17) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@unimatrix725-24219:~/Documents# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  xdg-user-dirs-gtk libgvnc-1.0-dev telepathy-indicator udisks2 indicator-printers ekiga ttf-umefont
  libopal3.10.2 gedit-common gcalctool telepathy-logger lp-solve gnome-backgrounds telepathy-gabble aisleriot
  gtali glchess libpurple-dev system-config-printer-gnome hamster-applet gir1.2-gtk-vnc-2.0 gucharmap
  gnome-games link-grammar-dictionaries-en cheese libdjvulibre-dev libots0 unity-lens-video gnobots2
  gnome-disk-utility gnome-icon-theme-extras unity-scope-video-remote telepathy-haze gedit libgexiv2-1 swish++
  empathy-common libcheese-gtk21 abiword gnome-sudoku abiword-common transmission-gtk lightsoff libcheese3
  libjson-glib-dev telepathy-idle seahorse empathy libcapi20-3 libunity-misc4 libgoffice-0.8-8-common vinagre
  libtotem0 libaprutil1-ldap libopenexr-dev telepathy-salut gnibbles gnuchess-book gnome-nettool
  transmission-common shotwell libpt2.10.2 browser-plugin-gnash gir1.2-totem-1.0 gnome-games-extra-data
  libgoffice-0.8-8 abiword-plugin-grammar lib32asound2 simple-scan liblink-grammar4 wine-gecko1.5 libexif-dev
  libjasper-dev libilmbase-dev gnash-common libzbargtk0 swell-foop fonts-cantarell winetricks
  libavahi-ui-gtk3-0 libcluttergesture-0.0.2-0 liblqr-1-0-dev gnotski gir1.2-totem-plparser-1.0 libwv-1.2-4
  libgdome2-0 libaprutil1-dbd-sqlite3 gir1.2-gucharmap-2.90 libcolamd2.7.1 libclutter-imcontext-0.1-0
  cheese-common sound-juicer vino libminiupnpc8 pax libgtkmathview0c2a libtelepathy-farstream2 iagno glines
  libwmf-dev libcogl-dev abiword-plugin-mathview libmx-1.0-2 gedit-plugins gnumeric-common liferea libxdot4
  gnash gnotravex gir1.2-rsvg-2.0 gnect ps2eps ttf-unfonts-core quadrapassel libgraphviz-dev mahjongg gnumeric
  libfile-ncopy-perl gnome-games-data libudisks2-0 lib32z1 libevent-2.0-5 libmusicbrainz4-3 liferea-data
  libabiword-2.9 gnuchess fonts-droid lsb-core gnome-font-viewer ncurses-term totem-common dconf-tools
  nautilus-sendto-empathy gnumeric-doc libbz2-dev ttf-droid gnome-video-effects libgdome2-cpp-smart0c2a
  gnomine
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  wine1.5 wine1.5-amd64
0 upgraded, 0 newly installed, 2 to remove and 1963 not upgraded.
15 not fully installed or removed.
After this operation, 117 MB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error: file triggers record mentions illegal package name 'libgdk-pixbuf2.0-0' (for interest in file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders'): ambiguous package name 'libgdk-pixbuf2.0-0' with more than one installed instance
dpkg-query: error: file triggers record mentions illegal package name 'libgdk-pixbuf2.0-0' (for interest in file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders'): ambiguous package name 'libgdk-pixbuf2.0-0' with more than one installed instance
debsums: dpkg-query --admindir=/var/lib/dpkg --showformat=${Package}

${PackageSpec}

${binary:Package}

${Version}

${Status}

${Conffiles}

${Replaces}

 --show failed (exit status 2)
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi'
E: Sub-process returned an error code
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@unimatrix725-24219:~/Documents# 

Quando tento dpkg --remove libgdk-pixbuf2.0-0 , obtenho:

# dpkg --remove libgdk-pixbuf2.0-0 
dpkg: error: file triggers record mentions illegal package name libgdk-pixbuf2.0-0' (for interest in file /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders'): 
ambiguous package name 'libgdk-pixbuf2.0-0' with more than one installed instance
    
por Jesse 10.06.2012 / 03:07

1 resposta

1

Tente isto:

sudo apt-get remove --purge libgdk-pixbuf2.0-0:i386
sudo apt-get -f install

ou

sudo apt-get remove --purge libgdk-pixbuf2.0-0:amd64
sudo apt-get -f install

ou

sudo apt-get remove --purge libgdk-pixbuf2.0-0*
sudo apt-get -f install

Parece que você tem a versão de 32 bits (i386) e 64 bits (amd64) do libgdk-pixbuf2.0-0 instalada, e é isso que está reclamando. O primeiro comando irá remover a versão de 32 bits. Você parece estar misturando 32 bits e 64 bits em sua instalação de vinhos também. Você deve sempre usar pacotes de 64 bits em um sistema de 64 bits.

Além disso, em uma nota lateral, você não deve usar sudo su para efetuar login como root, a menos que tenha um motivo específico. Você deve sempre iniciar seus comandos que precisam de privilégios administrativos com o sudo, pois é muito mais seguro dessa maneira.

    
por reverendj1 12.06.2012 / 16:21