Erro ao instalar o “ia32-libs” para executar o ADB e o Fastboot Linux Mint 16 “Petra”

1

Eu tenho tentado obter adb , fastboot , avd e outros para trabalhar com a versão mais recente do Linux Mint (16 "Petra")

Eu originalmente recebi este erro ao tentar executar o ADB:

➜  platform-tools  ./adb
./adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Depois de olhar em volta, encontrei sugestões dizendo que você precisa instalar bibliotecas de compatibilidade de 32 bits.

Então, eu tentei instalar o pacote ia32-libs , que, no entanto, falhou horrivelmente.

➜  ~  sudo apt-get install ia32-libs                                   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ia32-libs : 
         Depends: bluez-alsa:i386 but it is not going to be installed
         Depends: gstreamer0.10-plugins-base:i386 but it is not going to be installed
         Depends: gstreamer0.10-plugins-good:i386 but it is not going to be installed
         Depends: gtk2-engines:i386 but it is not going to be installed
         Depends: gtk2-engines-murrine:i386 but it is not going to be installed
         Depends: gtk2-engines-oxygen:i386 but it is not going to be installed
         Depends: gtk2-engines-pixbuf:i386 but it is not going to be installed
         Depends: gvfs:i386 but it is not going to be installed
         Depends: ibus-gtk:i386 but it is not going to be installed
         Depends: libacl1:i386 but it is not going to be installed
         Depends: libao4:i386 but it is not going to be installed
         Depends: libasound2:i386
         Depends: libasound2-plugins:i386 but it is not going to be installed
         Depends: libasyncns0:i386 but it is not going to be installed
         Depends: libattr1:i386 but it is not going to be installed
         Depends: libaudio2:i386 but it is not going to be installed
         Depends: libcanberra-gtk-module:i386 but it is not going to be installed
         Depends: libcap2:i386 but it is not going to be installed
         Depends: libcapi20-3:i386 but it is not going to be installed
         Depends: libcups2:i386 but it is not going to be installed
         Depends: libcupsimage2:i386 but it is not going to be installed
         Depends: libcurl3:i386 but it is not going to be installed
         Depends: libdbus-glib-1-2:i386 but it is not going to be installed
         Depends: libesd0:i386 but it is not going to be installed
         Depends: libfontconfig1:i386 but it is not going to be installed
         Depends: libfreetype6:i386 but it is not going to be installed
         Depends: libgail-common:i386 but it is not going to be installed
         Depends: libgconf-2-4:i386 but it is not going to be installed
         Depends: libgdbm3:i386 but it is not going to be installed
         Depends: libgettextpo0:i386 but it is not going to be installed
         Depends: libglapi-mesa:i386 but it is not going to be installed
         Depends: libglu1-mesa:i386 but it is not going to be installed
         Depends: libgphoto2-6:i386 but it is not going to be installed
         Depends: libgphoto2-port10:i386 but it is not going to be installed
         Depends: libgtk2.0-0:i386 but it is not going to be installed
         Depends: libmpg123-0:i386 but it is not going to be installed
         Depends: libncursesw5:i386 but it is not going to be installed
         Depends: libnspr4:i386 but it is not going to be installed
         Depends: libnss3:i386 but it is not going to be installed
         Depends: libodbc1:i386 but it is not going to be installed
         Depends: libopenal1:i386 but it is not going to be installed
         Depends: libpulse-mainloop-glib0:i386 but it is not going to be installed
         Depends: libpulsedsp:i386 but it is not going to be installed
         Depends: libqt4-dbus:i386 but it is not going to be installed
         Depends: libqt4-network:i386 but it is not going to be installed
         Depends: libqt4-opengl:i386 but it is not going to be installed
         Depends: libqt4-qt3support:i386 but it is not going to be installed
         Depends: libqt4-script:i386 but it is not going to be installed
         Depends: libqt4-scripttools:i386 but it is not going to be installed
         Depends: libqt4-sql:i386 but it is not going to be installed
         Depends: libqt4-svg:i386 but it is not going to be installed
         Depends: libqt4-test:i386 but it is not going to be installed
         Depends: libqt4-xml:i386 but it is not going to be installed
         Depends: libqt4-xmlpatterns:i386 but it is not going to be installed
         Depends: libqtcore4:i386 but it is not going to be installed
         Depends: libqtgui4:i386 but it is not going to be installed
         Depends: libqtwebkit4:i386 but it is not going to be installed
         Depends: librsvg2-common:i386 but it is not going to be installed
         Depends: libsane:i386 but it is not going to be installed
         Depends: libsdl-image1.2:i386 but it is not going to be installed
         Depends: libsdl-mixer1.2:i386 but it is not going to be installed
         Depends: libsdl-net1.2:i386 but it is not going to be installed
         Depends: libsdl-ttf2.0-0:i386 but it is not going to be installed
         Depends: libsdl1.2debian:i386 but it is not going to be installed
         Depends: libsqlite3-0:i386 but it is not going to be installed
         Depends: libssl0.9.8:i386 but it is not going to be installed
         Depends: libssl1.0.0:i386 but it is not going to be installed
         Depends: libstdc++5:i386 but it is not going to be installed
         Depends: libstdc++6:i386 but it is not going to be installed
         Depends: libxaw7:i386 but it is not going to be installed
         Depends: libxml2:i386 but it is not going to be installed
         Depends: libxp6:i386 but it is not going to be installed
         Depends: libxslt1.1:i386 but it is not going to be installed
         Depends: libxss1:i386 but it is not going to be installed
         Depends: libxtst6:i386 but it is not going to be installed
         Depends: odbcinst1debian2:i386 but it is not going to be installed
         Depends: xaw3dg:i386 but it is not going to be installed
         Depends: libgl1-mesa-dri:i386 but it is not going to be installed
         Depends: libgl1-mesa-glx:i386 but it is not going to be installed
         Depends: libpam-winbind:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Qualquer ajuda seria muito apreciada.

EDIT: Após seguir a sugestão do Rmano para executar isto: sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 eu recebi este erro sobre dependências não atendidas:

➜  ~  sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386
[sudo] password for insanity: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgcc1 : Breaks: libgcc1:i386 (!= 1:4.8.1-10ubuntu9) but 1:4.8.1-10ubuntu8 is to be installed
libgcc1:i386 : Depends: gcc-4.8-base:i386 (= 4.8.1-10ubuntu8) but it is not going to be installed
            Breaks: libgcc1 (!= 1:4.8.1-10ubuntu8) but 1:4.8.1-10ubuntu9 is to be installed
libstdc++6:i386 : Depends: gcc-4.8-base:i386 (= 4.8.1-10ubuntu8) but it is  not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused  by held packages.

EDIT 2: Parece que eu tenho que rebaixar para uma versão mais antiga dos utilitários do view core, no entanto, não tenho certeza se é uma idéia segura.

    
por severen 03.01.2014 / 15:12

2 respostas

0

Eu reinstalei o Linux no final. No entanto, a desclassificação dos pacotes funcionou bem.

    
por 29.01.2014 / 10:21
0

Eu não tenho uma instalação Mint, então esta é apenas uma suposição, espero que ajude ... Nos sistemas mais recentes do Ubuntu (e derivados), o ia32-libs é obsoleto.

Talvez você possa resolver seu problema emitindo

sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386

como você pode ver sugerido no link . Mais informações em link .

    
por 03.01.2014 / 19:50