Solucionar comportamiento de "aptitude", en el que no se resuelven dependencias e intenta desinstalar todo [Solucionado]

¡Con razón! :P

tonatiuh@PHENIIX4TMP1:~$ sudo dpkg -l | grep :i386
[sudo] password for tonatiuh:
rc  flasher-3.5:i386                      2.5.2.2                                                   Flashing utility
rc  flashplugin-downloader:i386           11.0.1.152ubuntu1                                         Adobe Flash Player plugin downloader
ii  gcc-4.6-base:i386                     4.6.1-9ubuntu3                                            GCC, the GNU Compiler Collection (base package)
ii  ia32-libs-multiarch:i386              20090808ubuntu26                                          Multi-arch versions of former ia32-libraries
ii  libacl1:i386                          2.2.51-3                                                  Access control list shared library
ii  libasound2:i386                       1.0.24.1-0ubuntu10                                        shared library for ALSA applications
ii  libasound2-plugins:i386               1.0.24-0ubuntu6.1                                         ALSA library additional plugins
ii  libasyncns0:i386                      0.8-4                                                     Asynchronous name service query library
ii  libatk1.0-0:i386                      2.2.0-0ubuntu1                                            ATK accessibility toolkit
ii  libattr1:i386                         1:2.4.46-3                                                Extended attribute shared library
ii  libaudio2:i386                        1.9.2-8ubuntu1                                            Network Audio System - shared libraries
ii  libavahi-client3:i386                 0.6.30-4ubuntu1                                           Avahi client library
ii  libavahi-common-data:i386             0.6.30-4ubuntu1                                           Avahi common data files
ii  libavahi-common3:i386                 0.6.30-4ubuntu1                                           Avahi common library
ii  libc6:i386                            2.13-20ubuntu5                                            Embedded GNU C Library: Shared libraries
ii  libc6-xen:i386                        2.13-20ubuntu5                                            Embedded GNU C Library: Shared libraries [Xen version]
ii  libcairo2:i386                        1.10.2-6ubuntu3                                           The Cairo 2D vector graphics library
ii  libcomerr2:i386                       1.41.14-1ubuntu3                                          common error description library
ii  libcups2:i386                         1.5.0-8ubuntu5                                            Common UNIX Printing System(tm) - Core library
ii  libcupsimage2:i386                    1.5.0-8ubuntu5                                            Common UNIX Printing System(tm) - Raster image library
ii  libcurl3:i386                         7.21.6-3ubuntu3                                           Multi-protocol file transfer library (OpenSSL)
ii  libdatrie1:i386                       0.2.4-3                                                   Double-array trie library
ii  libdb5.1:i386                         5.1.25-11                                                 Berkeley v5.1 Database Libraries [runtime]
ii  libdbus-1-3:i386                      1.4.14-1ubuntu1                                           simple interprocess messaging system (library)
ii  libdrm-intel1:i386                    2.4.26-1ubuntu1                                           Userspace interface to intel-specific kernel DRM services -- runtime
ii  libdrm-nouveau1a:i386                 2.4.26-1ubuntu1                                           Userspace interface to nouveau-specific kernel DRM services -- runtime
ii  libdrm-radeon1:i386                   2.4.26-1ubuntu1                                           Userspace interface to radeon-specific kernel DRM services -- runtime
ii  libdrm2:i386                          2.4.26-1ubuntu1                                           Userspace interface to kernel DRM services -- runtime
ii  libexpat1:i386                        2.0.1-7ubuntu3                                            XML parsing C library - runtime library
ii  libffi6:i386                          3.0.11~rc1-2                                              Foreign Function Interface library runtime
ii  libflac8:i386                         1.2.1-4ubuntu1                                            Free Lossless Audio Codec - runtime C library
ii  libfontconfig1:i386                   2.8.0-3ubuntu2                                            generic font configuration library - runtime
ii  libfreetype6:i386                     2.4.4-2ubuntu1.1                                          FreeType 2 font engine, shared library files
ii  libgcc1:i386                          1:4.6.1-9ubuntu3                                          GCC support library
ii  libgcrypt11:i386                      1.5.0-1                                                   LGPL Crypto library - runtime library
ii  libgdbm3:i386                         1.8.3-10                                                  GNU dbm database routines (runtime version)
ii  libgdk-pixbuf2.0-0:i386               2.24.0-1ubuntu1                                           GDK Pixbuf library
ii  libgl1-mesa-dri:i386                  7.11-0ubuntu3                                             free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:i386                  7.11-0ubuntu3                                             free implementation of the OpenGL API -- GLX runtime
ii  libglapi-mesa:i386                    7.11-0ubuntu3                                             free implementation of the GL API -- shared library
ii  libglib2.0-0:i386                     2.30.0-0ubuntu4                                           GLib library of C routines
ii  libgnutls26:i386                      2.10.5-1ubuntu3                                           the GNU TLS library - runtime library
ii  libgpg-error0:i386                    1.10-0.3ubuntu1                                           library for common error values and messages in GnuPG components
ii  libgssapi-krb5-2:i386                 1.9.1+dfsg-1ubuntu2.1                                     MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii  libgtk2.0-0:i386                      2.24.6-0ubuntu5                                           The GTK+ graphical user interface library
ii  libice6:i386                          2:1.0.7-2                                                 X11 Inter-Client Exchange library
ii  libidn11:i386                         1.22-2                                                    GNU Libidn library, implementation of IETF IDN specifications
ii  libjack-jackd2-0:i386                 1.9.7~dfsg-1ubuntu2                                       JACK Audio Connection Kit (libraries)
ii  libjasper1:i386                       1.900.1-7ubuntu2                                          The JasPer JPEG-2000 runtime library
ii  libjpeg62:i386                        6b1-1ubuntu2                                              The Independent JPEG Group's JPEG runtime library (version 6.2)
ii  libjpeg8:i386                         8c-2ubuntu2                                               Independent JPEG Group's JPEG runtime library
ii  libjson0:i386                         0.9-1ubuntu1                                              JSON manipulation library - shared library
ii  libk5crypto3:i386                     1.9.1+dfsg-1ubuntu2.1                                     MIT Kerberos runtime libraries - Crypto Library
ii  libkeyutils1:i386                     1.4-6                                                     Linux Key Management Utilities (library)
ii  libkrb5-3:i386                        1.9.1+dfsg-1ubuntu2.1                                     MIT Kerberos runtime libraries
ii  libkrb5support0:i386                  1.9.1+dfsg-1ubuntu2.1                                     MIT Kerberos runtime libraries - Support library
ii  liblcms1:i386                         1.19.dfsg-1ubuntu2                                        Little CMS color management library
ii  libldap-2.4-2:i386                    2.4.25-1.1ubuntu4.1                                       OpenLDAP libraries
ii  libllvm2.9:i386                       2.9+dfsg-3ubuntu2                                         Low-Level Virtual Machine (LLVM), runtime library
ii  libmng1:i386                          1.0.10-1ubuntu1                                           Multiple-image Network Graphics library
ii  libnspr4:i386                         4.8.7-0ubuntu3                                            NetScape Portable Runtime Library
ii  libnspr4-0d:i386                      4.8.7-0ubuntu3                                            NetScape Portable Runtime Library
ii  libnss3:i386                          3.12.9+ckbi-1.82-0ubuntu6                                 Network Security Service libraries
ii  libnss3-1d:i386                       3.12.9+ckbi-1.82-0ubuntu6                                 Network Security Service libraries
ii  libogg0:i386                          1.2.2~dfsg-1ubuntu1                                       Ogg bitstream library
ii  libpango1.0-0:i386                    1.29.3+git20110916-0ubuntu1                               Layout and rendering of internationalized text
ii  libpciaccess0:i386                    0.12.1-2                                                  Generic PCI access library for X
ii  libpcre3:i386                         8.12-3ubuntu2                                             Perl 5 Compatible Regular Expression Library - runtime files
ii  libpixman-1-0:i386                    0.22.2-1                                                  pixel-manipulation library for X and cairo
ii  libpng12-0:i386                       1.2.46-3ubuntu1                                           PNG library - runtime
ii  libpulse0:i386                        1:1.0-0ubuntu3.1                                          PulseAudio client libraries
ii  libqt4-dbus:i386                      4:4.7.4-0ubuntu8                                          Qt 4 D-Bus module
ii  libqt4-declarative:i386               4:4.7.4-0ubuntu8                                          Qt 4 Declarative module
ii  libqt4-designer:i386                  4:4.7.4-0ubuntu8                                          Qt 4 designer module
ii  libqt4-network:i386                   4:4.7.4-0ubuntu8                                          Qt 4 network module
ii  libqt4-opengl:i386                    4:4.7.4-0ubuntu8                                          Qt 4 OpenGL module
ii  libqt4-qt3support:i386                4:4.7.4-0ubuntu8                                          Qt 3 compatibility library for Qt 4
ii  libqt4-script:i386                    4:4.7.4-0ubuntu8                                          Qt 4 script module
ii  libqt4-scripttools:i386               4:4.7.4-0ubuntu8                                          Qt 4 script tools module
ii  libqt4-sql:i386                       4:4.7.4-0ubuntu8                                          Qt 4 SQL module
ii  libqt4-svg:i386                       4:4.7.4-0ubuntu8                                          Qt 4 SVG module
ii  libqt4-test:i386                      4:4.7.4-0ubuntu8                                          Qt 4 test module
ii  libqt4-xml:i386                       4:4.7.4-0ubuntu8                                          Qt 4 XML module
ii  libqt4-xmlpatterns:i386               4:4.7.4-0ubuntu8                                          Qt 4 XML patterns module
ii  libqtcore4:i386                       4:4.7.4-0ubuntu8                                          Qt 4 core module
ii  libqtgui4:i386                        4:4.7.4-0ubuntu8                                          Qt 4 GUI module
ii  librtmp0:i386                         2.3-2ubuntu1                                              toolkit for RTMP streams (shared library)
ii  libsamplerate0:i386                   0.1.7-3ubuntu1                                            Audio sample rate conversion library
ii  libsasl2-2:i386                       2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2                   Cyrus SASL - authentication abstraction library
ii  libsasl2-modules:i386                 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2                   Cyrus SASL - pluggable authentication modules
ii  libselinux1:i386                      2.0.98-1.1                                                SELinux runtime shared libraries
ii  libsm6:i386                           2:1.2.0-2                                                 X11 Session Management library
ii  libsndfile1:i386                      1.0.24-1ubuntu2                                           Library for reading/writing audio files
ii  libspeexdsp1:i386                     1.2~rc1-1ubuntu2                                          The Speex extended runtime library
ii  libsqlite3-0:i386                     3.7.7-2ubuntu2                                            SQLite 3 shared library
ii  libssl1.0.0:i386                      1.0.0e-2ubuntu4                                           SSL shared libraries
ii  libstdc++6:i386                       4.6.1-9ubuntu3                                            GNU Standard C++ Library v3
ii  libtasn1-3:i386                       2.9-4                                                     Manage ASN.1 structures (runtime)
ii  libthai0:i386                         0.1.15-2                                                  Thai language support library
ii  libtiff4:i386                         3.9.5-1ubuntu1                                            Tag Image File Format (TIFF) library
ii  libuuid1:i386                         2.19.1-2ubuntu3                                           Universally Unique ID library
ii  libv4l-0:i386                         0.8.5-3ubuntu2                                            Collection of video4linux support libraries
ii  libvorbis0a:i386                      1.3.2-1ubuntu2                                            The Vorbis General Audio Compression Codec (Decoder library)
ii  libvorbisenc2:i386                    1.3.2-1ubuntu2                                            The Vorbis General Audio Compression Codec (Encoder library)
ii  libwrap0:i386                         7.6.q-21                                                  Wietse Venema's TCP wrappers library
ii  libx11-6:i386                         2:1.4.4-2ubuntu1                                          X11 client-side library
ii  libxau6:i386                          1:1.0.6-3                                                 X11 authorisation library
ii  libxcb-render0:i386                   1.7-3                                                     X C Binding, render extension
ii  libxcb-shm0:i386                      1.7-3                                                     X C Binding, shm extension
ii  libxcb1:i386                          1.7-3                                                     X C Binding
ii  libxcomposite1:i386                   1:0.4.3-2                                                 X11 Composite extension library
ii  libxcursor1:i386                      1:1.1.12-1                                                X cursor management library
ii  libxdamage1:i386                      1:1.1.3-2                                                 X11 damaged region extension library
ii  libxdmcp6:i386                        1:1.1.0-3                                                 X11 Display Manager Control Protocol library
ii  libxext6:i386                         2:1.3.0-3                                                 X11 miscellaneous extension library
ii  libxfixes3:i386                       1:5.0-4                                                   X11 miscellaneous 'fixes' extension library
ii  libxft2:i386                          2.2.0-3ubuntu1                                            FreeType-based font drawing library for X
ii  libxi6:i386                           2:1.4.3-3ubuntu1                                          X11 Input extension library
ii  libxinerama1:i386                     2:1.1.1-3                                                 X11 Xinerama extension library
ii  libxrandr2:i386                       2:1.3.2-2                                                 X11 RandR extension library
ii  libxrender1:i386                      1:0.9.6-2                                                 X Rendering Extension client library
ii  libxss1:i386                          1:1.2.1-2                                                 X11 Screen Saver extension library
ii  libxt6:i386                           1:1.1.1-2                                                 X11 toolkit intrinsics library
ii  libxxf86vm1:i386                      1:1.1.1-2                                                 X11 XFree86 video mode extension library
ii  nspluginviewer:i386                   1.4.4-0ubuntu3                                            A wrapper to run Netscape plugins on other architectures
ii  qdbus:i386                            4:4.7.4-0ubuntu8                                          Qt 4 Dbus Tool
ii  sbrsh:i386                            8.0maemo3                                                 Scratchbox Remote Shell client
rc  sbrshd:i386                           8.0maemo2                                                 Scratchbox Remote Shell daemon
ii  zlib1g:i386                           1:1.2.3.4.dfsg-3ubuntu3                                   compression library - runtime
tonatiuh@PHENIIX4TMP1:~$

Jajajaja... Desinstalar eso no fue tan fácil como escribir dpkg -P *:i386, jaja, pero lo logré. Finalmente:

tonatiuh@PHENIIX4TMP1:~$ sudo aptitude safe-upgrade
Resolving dependencies...               
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

SOY Felíz! Jajaja, Gracias YAFU!


EDITO: cambié las etiquetas CODE por PRE, para que se visualice correctamente el mensaje.
Sidd.

Intentando comprender mejor esto de la múltiple arquitectura.... smash

Al abrir Muon, la mezcla de paquetes i386 y amd64 es monumental. Se repiten paquetes i386 cuando están disponible al mismo tiempo para amd64. No parece ocurrir lo mismo con Synaptic, donde se muestran solo los i386 cuando no están disponibles para amd64. Aunque Muon al parecer no permite instalar un paquete i386 cuando está disponible para amd64 (esto no estoy del todo seguro)

¿Cómo corrían las aplicaciones 32 bits en un sistema de 64 bits antes de implementar la multi arquitectura?
Comprendamos que una cosa es un programa compilado para 64 bits, y otra distinta es un programa compilado para 32 bits y empaquetado para un sistema de 64 bits. El primero hace uso de librerías instaladas de 64 bits, mientras que el segundo lo podremos instalar en nuestro sistema de 64 bits, pero hace uso de librerías de 32 bits. Es decir, existen programas para 64 bits obviamente empaquetados para arquitecturas de 64bits, programas para 32 bits empaquetados para arquitecturas de 64 bits y programas de 32 bits empaquetados para arquitecturas de 32 bits, que son lo que se instalan en un sistema de 32 bits. Entonces hasta antes de implementar la múltiple arquitectura (y hasta incluso en Oneiric), en un sistema de 64 bits los programas de 32 bits empaquetados para 64 bits, hacían uso de las librerías de 32 bits que venían empaquetadas en el paquete "ia32-libs" (un paquete de librerías de 32 bits, empaquetado para 64 bits).
Lo que se busca con el soporte de multi arquitectura, es eliminar los paquetes de 32 bits empaquetados para 64 bits, para directamente poder instalar los paquetes de 32 bits empaquetados para 32 bits, en un sistema de 64 bits. El nombre de estos paquetes de 32 bits finalizan en:

:i386

Desde la 11.10 a la 12.04 ha habido un nuevo cambio para terminar de implementar esto de la multi arquitectura. El paquete "ia32-libs" ya no contiene librerías 32 bits y se ha transformado en un meta-paquete que instala directamente las librerías de 32bits empaquetadas para 32 bits (paquetes que finalizan en su nombre con :i386):
http://packages.ubuntu.com/oneiric/ia32-libs

http://packages.ubuntu.com/precise/ia32-libs

Entonces la idea no es mala y no recomendaría desde Kubuntu 12.04 Precise Pangolin deshabilitar el soporte para múltiple arquitectura. O al menos si se va a deshabilitar, primero antes instalar el metapaquete "ia32-libs". Lo que si recomiendo es comprobar que Muon esté funcionando bien con múltiple arquitectura, y solo instalar los paquetes i386 cuando no estén disponibles para amd64. En la medida de lo posible usar Synaptic como gestor de paquetes.

Aclaración: Estoy pensando en voz alta en este intento de comprender esto, por lo que mucho de lo que digo puede estar errado o ser incorrecto.
Saludos.

Mi sugerencia es utilizar siempre gestores de paquete en mode texto (apt-get o aptitude).

Acá traje un solución para el problema de la multi-arquitectura en Precise.
http://www.kubuntu-es.org/wiki/administracion-sistema/solucionar-incompa...

Con esto soluciona el conflicto de las dependencias sin desactivar la multi-arquitectura.

Esto se tendrá que hacer cada vez que instalen o actualicen los paquetes compilados en i386.

Agregué una nota en el primer mensaje de este tema, a petición de YAFU. Favor de leer la "aclaración".

Saludos,
Sidd.