Multiarch, ia32-libs, Wine, Skype & others

Questions about applications and software
Forum rules
Before you post please read this

Multiarch, ia32-libs, Wine, Skype & others

Postby zerozero on Wed Jan 09, 2013 5:05 pm

this information is scattered in several posts and topics in the forum so i think is a good idea to put it together in one topic (as much as possible)

<=== intro ===>
multiarch is not an option anymore, at the moment is fundamental and not accepting it (not converting the system to multiarch) will sooner or later break our installations.

<=== how it was before ===>
we always had app that truly weren't 64bit (wine, skype, google-earth to name the most popular); to run those apps in 64bit systems we were installing ia32-libs (as the name suggests was kind of a "bridge" to enable 32bit compatibility in 64bit)

but ia32-libs was a huge pkg (if memory serves me well around 100MB lately) and harder to maintain.

<=== how it is now ===>
ia32-libs is obsoleted by multiarch (can therefore be removed from the archive > it's at the moment only a transitional pkg anyway that won't serve any good purpose)

it's up to the true 32bit pkg that can run in 64bit systems to load at install time the required libs

<=== howto ===>
let's check if we are already multiarch or not
Code: Select all
dpkg --print-foreign-architectures
if it returns to the prompt without any output we are not multiarch meaning that we have to go through the following steps
if it does output i386 we are already converted and there's no more action to take

Code: Select all
sudo dpkg --add-architecture i386

Code: Select all
sudo sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list

Code: Select all
sudo apt-get update

now checking again
Code: Select all
dpkg --print-foreign-architectures
has to output i386

<=== FAQ ===>
1- yes, there's no way around the conversion to multiarch; apart from the app already listed above, adobe reader is also 32bit only now as will be the next update of v4l-utils
(these are just some of the app/lib that i'm aware off, if you know others please share in the comments)

2- yes, it's perfectly normal to see all those i386 lib being pulled in as dep when trying to install any of the above pkgs (basically that is exactly what multiarch is: the integration of 32bit libraries into 64bit systems)

3- ia32-libs (and ia32-libs-gtk) are part of the old way of thinking :lol: they are not needed, they are deprecated now (actually they can do more harm than good >> in my system at least ia32-libs is broken and trying to fix it doesn't worth the trouble
Code: Select all
zerozero@deb-kde ~/Documents $ sudo apt-get -s install ia32-libs
[sudo] password for zerozero:
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: ia32-libs-i386
E: Unable to correct problems, you have held broken packages.
zerozero@deb-kde ~/Documents $ sudo apt-get -s install ia32-libs ia32-libs-i386
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-i386:i386 : Depends: libnspr4-0d:i386 (>= 4.8.6-1) but it is not going to be installed
                       Depends: libnss3-1d:i386 (>= 3.12.8-1+squeeze4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
zerozero@deb-kde ~/Documents $ sudo apt-get -s install libnss3-1d:i386
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:
 libnss3-1d:i386 : Depends: libnss3:i386 (= 2:3.13.6-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
zerozero@deb-kde ~/Documents $


4- teamviewer installation in a multiarch setup see ddurdle's post

5- for eclipse and android sdk see samriggs post
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6485
Joined: Tue Jul 07, 2009 2:29 pm

Linux Mint is funded by ads and donations.
 

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby zerozero on Wed Jan 09, 2013 6:00 pm

practical situations

1- installing skype (from http://beta.skype.com/en/download-skype ... for-linux/ picking the debian 7 multiarch package)
Code: Select all
sudo dpkg -i skype-debian_4.1.0.20-1_i386.deb
[sudo] password for zerozero:
Selecting previously unselected package skype.
(Reading database ... 264756 files and directories currently installed.)
Unpacking skype (from skype-debian_4.1.0.20-1_i386.deb) ...
dpkg: dependency problems prevent configuration of skype:
 skype depends on libqt4-dbus (>= 4:4.5.3).
 skype depends on libqt4-network (>= 4:4.8.0).
 skype depends on libqt4-xml (>= 4:4.5.3).
 skype depends on libqtcore4 (>= 4:4.7.0~beta1).
 skype depends on libqtgui4 (>= 4:4.8.0).
 skype depends on libqtwebkit4 (>= 2.1.0~2011week13).

dpkg: error processing skype (--install):
 dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Errors were encountered while processing:
 skype

there's missing lib that -f install will take care off
Code: Select all
sudo 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:
  libc6-dev:i386 libgmp10:i386 libgomp1:i386 libitm1:i386 libjpeg62 libmpc2:i386
  libmpfr4:i386 libquadmath0:i386 libreadline6:i386 libx264-128 linux-libc-dev:i386
  lsb-cxx lsb-desktop lsb-graphics lsb-languages lsb-multimedia lsb-printing most
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libglib2.0-0:i386 libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
  libmng1:i386 liborc-0.4-0:i386 libpcre3:i386 libqt4-dbus:i386 libqt4-network:i386
  libqt4-xml:i386 libqtcore4:i386 libqtgui4:i386 libqtwebkit4:i386 libsqlite3-0:i386
Suggested packages:
  libvisual-0.4-plugins:i386 gstreamer-codec-install:i386 gnome-codec-install:i386
  gstreamer0.10-tools:i386 gstreamer0.10-plugins-base:i386 libthai0:i386 libicu48:i386
  qt4-qtconfig:i386                                                                     
The following NEW packages will be installed:                                           
  libglib2.0-0:i386 libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386       
  libmng1:i386 liborc-0.4-0:i386 libpcre3:i386 libqt4-dbus:i386 libqt4-network:i386     
  libqt4-xml:i386 libqtcore4:i386 libqtgui4:i386 libqtwebkit4:i386 libsqlite3-0:i386   
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.                         
1 not fully installed or removed.                               

and now the real installation (finally :shock: )
Code: Select all
sudo dpkg -i skype-debian_4.1.0.20-1_i386.deb
(Reading database ... 265015 files and directories currently installed.)
Preparing to replace skype 4.1.0.20-1 (using skype-debian_4.1.0.20-1_i386.deb) ...
Unpacking replacement skype ...
Setting up skype (4.1.0.20-1) ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...


2- wine
Code: Select all
sudo apt-get install wine-bin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc6-dev:i386 libgmp10:i386 libgomp1:i386 libitm1:i386 libjpeg62 libmpc2:i386
  libmpfr4:i386 libquadmath0:i386 libreadline6:i386 libx264-128 linux-libc-dev:i386
  lsb-cxx lsb-desktop lsb-graphics lsb-languages lsb-multimedia lsb-printing most
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libgsm1:i386 libwine:i386 libwine-alsa:i386 libwine-bin:i386 libwine-gecko-1.4
  libwine-gl:i386
Suggested packages:
  wine-doc:i386 libwine-cms:i386 libwine-sane:i386 libwine-ldap:i386
  libwine-print:i386 libwine-openal:i386 libwine-gphoto2:i386
Recommended packages:
  ttf-liberation:i386
The following packages will be REMOVED:
  wine64-bin
The following NEW packages will be installed:
  libgsm1:i386 libwine:i386 libwine-alsa:i386 libwine-bin:i386 libwine-gecko-1.4
  libwine-gl:i386 wine-bin:i386
0 upgraded, 7 newly installed, 1 to remove and 0 not upgraded.
Need to get 50.7 MB of archives.                                 


3- acroread (here just a dry-run)
Code: Select all
sudo apt-get -s install acroread
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc6-dev:i386 libgmp10:i386 libgomp1:i386 libitm1:i386 libjpeg62 libmpc2:i386
  libmpfr4:i386 libquadmath0:i386 libreadline6:i386 libx264-128 linux-libc-dev:i386
  lsb-cxx lsb-desktop lsb-graphics lsb-languages lsb-multimedia lsb-printing most
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  acroread-data acroread-debian-files:i386 acroread-dictionary-en acroread-l10n-en
  libatk1.0-0:i386 libcairo2:i386 libdatrie1:i386 libgdk-pixbuf2.0-0:i386
  libgtk2.0-0:i386 libjasper1:i386 libpango1.0-0:i386 libpixman-1-0:i386 libthai0:i386
  libxcb-shm0:i386
Suggested packages:
  acroread-plugins:i386 mozilla-acroread:i386 acroread-l10n:i386 librsvg2-common:i386
  gvfs:i386 libjasper-runtime:i386 ttf-baekmuk:i386 ttf-arphic-gbsn00lp:i386
  ttf-arphic-bsmi00lp:i386 ttf-arphic-gkai00mp:i386 ttf-arphic-bkai00mp:i386
Recommended packages:
  mime-support:i386 acroread-dictionary-en:i386 acroread-dictionary:i386
  hicolor-icon-theme:i386
The following NEW packages will be installed:
  acroread:i386 acroread-data acroread-debian-files:i386 acroread-dictionary-en
  acroread-l10n-en libatk1.0-0:i386 libcairo2:i386 libdatrie1:i386
  libgdk-pixbuf2.0-0:i386 libgtk2.0-0:i386 libjasper1:i386 libpango1.0-0:i386
  libpixman-1-0:i386 libthai0:i386 libxcb-shm0:i386
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.


and after all this ia32-libs is not installed
Code: Select all
zerozero@deb-kde ~/Downloads $ apt policy ia32-libs
ia32-libs:
  Installed: (none)
  Candidate: 1:0.4
  Version table:
     1:0.4 0
        500 http://ftp.debian.org/debian/ testing/main amd64 Packages
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6485
Joined: Tue Jul 07, 2009 2:29 pm

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby ddurdle on Thu Jan 10, 2013 11:41 am

Very helpful and consolidated post.
ddurdle
Level 3
Level 3
 
Posts: 106
Joined: Sat Dec 17, 2011 10:03 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby zerozero on Thu Jan 10, 2013 8:03 pm

thanks :)
multiarch is still a work-in-progress (the goal is having it ready for debian 7 release)

so far (that i know off) this is still not solved (and the bug report linked in that topic doesn't show intentions in solving it for this release)
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6485
Joined: Tue Jul 07, 2009 2:29 pm

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby ddurdle on Wed Jan 16, 2013 11:32 pm

I don't have any complaints yet about multiarch.

I only noticed one thing odd, that seems like a bug. For some packages like say libssl, because there are libssl0.9.8 and libssl1.0.0, if you have libssl1.0.0 amd64 and libssl0.9.8 amd64 installed, and if you try to install a piece of 32bit software that lists libssl0.9.8 as a dependency, it won't be able to find libssl0.9.8 i386 as a candidate to install because libssl1.0.0 i386 is already installed. Both libssl1.0.0 i386 and libssl0.9.8 i386 can exist with no issues on a pure 32bit install of LMDE.

I got around the issue by simply repackaging the deb for the 32bit software, so it wasn't something blocking me from installing the software.
ddurdle
Level 3
Level 3
 
Posts: 106
Joined: Sat Dec 17, 2011 10:03 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby Swetko on Thu Jan 17, 2013 5:22 pm

I am trying to install the ia32-libs package. At first I tried "sudo dpkg --add-architecture i386" which gave me an error "unsupported option --add-architecture". Then somehow that magically worked, I don't remember exactly what happened to make it work.

Now I have the foreign arch i386 and did apt-get update. Then I do "sudo apt-get install ia32-libs" and it downloads huge amount of packages and then tries to configure them but I get the following error message

"dpkg: error: --configure needs a valid package name but 'gcc-4.7-base' is not: ambiguous package name 'gcc-4.7-base' with more than one installed instance"

doing manually "dpkg --configure gcc-4.7-base:i386" works just fine but still apt-get halts at that message. Besides, I don't know why it installs gcc 4.7 (32-bit version) at all.

Now also, apt-get can't do anything and tells me to run "sudo apt-get -f install" which halts at the same place.
Swetko
Level 1
Level 1
 
Posts: 6
Joined: Mon Jun 11, 2012 1:02 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby zerozero on Thu Jan 17, 2013 5:57 pm

Swetko,
couple questions:
- why are trying to install ia32-libs? are do you need it for?
- what is exactly the output of
Code: Select all
sudo apt-get -f install
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6485
Joined: Tue Jul 07, 2009 2:29 pm

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby Swetko on Thu Jan 17, 2013 7:11 pm

Code: Select all
swetko@swetko-mint ~/mujoco/devel/Models/examples $ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  adduser freeglut3:i386 gstreamer0.10-plugins-good ia32-libs-i386:i386 krb5-locales lesstif2:i386 libacl1 libacl1:i386 libaio1:i386 libasound2:i386 libasyncns0:i386 libattr1 libattr1:i386 libaudio2 libaudio2:i386 libaudiofile1 libaudiofile1:i386 libavahi-client3:i386 libavahi-common-data:i386
  libavahi-common3:i386 libbsd0 libbsd0:i386 libc6:i386 libc6-i686:i386 libcaca0 libcaca0:i386 libcap2 libcap2:i386 libcomerr2 libcomerr2:i386 libcups2 libcups2:i386 libcurl3 libcurl3:i386 libdb5.1 libdb5.1:i386 libdbus-1-3 libdbus-1-3:i386 libdirectfb-1.2-9 libdirectfb-1.2-9:i386 libdrm-intel1 libdrm-intel1:i386
  libdrm-nouveau1a:i386 libdrm-radeon1 libdrm-radeon1:i386 libdrm2 libdrm2:i386 libedit2 libedit2:i386 libesd0:i386 libexif12 libexif12:i386 libexpat1 libexpat1:i386 libffi5:i386 libflac8:i386 libfltk1.1:i386 libfontconfig1:i386 libfreetype6 libfreetype6:i386 libgcc1 libgcc1:i386 libgcrypt11:i386 libgd2-xpm
  libgd2-xpm:i386 libgdbm3 libgdbm3:i386 libgl1-mesa-dev libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa libglapi-mesa:i386 libglu1-mesa libglu1-mesa:i386 libgnutls26 libgnutls26:i386 libgpg-error0 libgpg-error0:i386 libgphoto2-2 libgphoto2-2:i386 libgphoto2-l10n libgphoto2-port0
  libgphoto2-port0:i386 libgpm2 libgpm2:i386 libgssapi-krb5-2 libgssapi-krb5-2:i386 libice6 libice6:i386 libidn11 libidn11:i386 libieee1284-3:i386 libjack-jackd2-0 libjack-jackd2-0:i386 libjbig0 libjbig0:i386 libjpeg62 libjpeg62:i386 libjpeg8:i386 libjson0 libjson0:i386 libk5crypto3 libk5crypto3:i386 libkeyutils1
  libkeyutils1:i386 libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 liblcms1 liblcms1:i386 libldap-2.4-2 libldap-2.4-2:i386 libltdl7 libltdl7:i386 liblzma5:i386 liblzo2-2:i386 libmpg123-0:i386 libncurses5 libncursesw5 libncursesw5:i386 libnspr4 libnspr4:i386 libnspr4-0d libnspr4-0d:i386 libnss3
  libnss3:i386 libnss3-1d libnss3-1d:i386 libodbc1:i386 libogg0 libogg0:i386 libopenal-data libopenal1 libopenal1:i386 libp11-kit0 libp11-kit0:i386 libpam0g libpam0g:i386 libpciaccess0 libpciaccess0:i386 libpng12-0 libpng12-0:i386 libpopt0 libpopt0:i386 libpulse-mainloop-glib0 libpulse0 libpulse0:i386
  librtmp0:i386 libsamplerate0 libsamplerate0:i386 libsane libsane:i386 libsane-common:i386 libsane-extras:i386 libsasl2-2 libsasl2-2:i386 libsasl2-modules libsasl2-modules:i386 libsdl1.2debian libsdl1.2debian:i386 libselinux1 libselinux1:i386 libsigc++-2.0-0c2a libsigc++-2.0-0c2a:i386 libslang2 libslang2:i386
  libsm6 libsm6:i386 libsndfile1 libsndfile1:i386 libsqlite3-0 libsqlite3-0:i386 libssh2-1 libssh2-1:i386 libssl1.0.0 libssl1.0.0:i386 libstdc++5:i386 libstdc++6 libstdc++6:i386 libsvga1 libsvga1:i386 libsysfs2 libsysfs2:i386 libsystemd-daemon0 libsystemd-login0 libtasn1-3 libtasn1-3:i386 libtdb1 libtdb1:i386
  libtiff4 libtiff4:i386 libtinfo5 libtinfo5:i386 libts-0.0-0 libts-0.0-0:i386 libusb-0.1-4 libusb-0.1-4:i386 libuuid1 libuuid1:i386 libv4l-0 libv4l-0:i386 libv4lconvert0 libv4lconvert0:i386 libvorbis0a libvorbis0a:i386 libvorbisenc2 libvorbisenc2:i386 libvorbisfile3 libvorbisfile3:i386
  libwebrtc-audio-processing-0 libwrap0 libwrap0:i386 libx11-6:i386 libx11-xcb1 libx11-xcb1:i386 libx86-1 libx86-1:i386 libxau-dev libxau6 libxau6:i386 libxaw7 libxaw7:i386 libxcb-glx0 libxcb-glx0:i386 libxcb-render-util0 libxcb-render-util0:i386 libxcb-render0 libxcb-render0:i386 libxcb1 libxcb1:i386 libxcb1-dev
  libxcomposite1:i386 libxcursor1 libxcursor1:i386 libxdamage1:i386 libxdmcp-dev libxdmcp6 libxdmcp6:i386 libxext-dev libxext6 libxext6:i386 libxfixes3:i386 libxft2 libxft2:i386 libxi6 libxi6:i386 libxinerama1 libxinerama1:i386 libxml2 libxml2:i386 libxmu6 libxmu6:i386 libxmuu1 libxmuu1:i386 libxp6:i386 libxpm4
  libxpm4:i386 libxrandr2:i386 libxrender1 libxrender1:i386 libxslt1.1 libxslt1.1:i386 libxss1 libxss1:i386 libxt6 libxt6:i386 libxtst6 libxtst6:i386 libxv1 libxv1:i386 libxxf86vm1 libxxf86vm1:i386 mesa-common-dev odbcinst1debian2:i386 pulseaudio pulseaudio-esound-compat pulseaudio-module-gconf
  pulseaudio-module-x11 pulseaudio-module-zeroconf pulseaudio-utils sane-utils:i386 tsconf update-inetd xaw3dg:i386 zlib1g zlib1g:i386
Suggested packages:
  ia32-libs-gtk ia32-libs-gtk-i386:i386 libasound2-plugins:i386 nas nas:i386 glibc-doc:i386 locales:i386 pulseaudio-esound-compat:i386 rng-tools:i386 libgd-tools libgd-tools:i386 libglide3:i386 gphoto2 gphoto2:i386 gtkam gtkam:i386 gpm gpm:i386 krb5-doc krb5-user krb5-doc:i386 krb5-user:i386 jackd2 jackd2:i386
  liblcms-utils liblcms-utils:i386 libmyodbc:i386 odbc-postgresql:i386 tdsodbc:i386 unixodbc-bin:i386 libroar-compat2 libportaudio2:i386 libroar-compat2:i386 libpam-doc libpam-doc:i386 hpoj hpoj:i386 hplip:i386 libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit
  libsasl2-modules-gssapi-heimdal libsasl2-modules-otp:i386 libsasl2-modules-ldap:i386 libsasl2-modules-sql:i386 libsasl2-modules-gssapi-mit:i386 libsasl2-modules-gssapi-heimdal:i386 libxcb-doc libxext-doc pavumeter pavucontrol paman paprefs unpaper:i386
Recommended packages:
  libgl1-mesa-dri libgphoto2-l10n:i386 krb5-locales:i386 xml-core:i386
The following packages will be REMOVED:
  libjack0 libsane-common sane-utils
The following NEW packages will be installed:
  freeglut3:i386 ia32-libs ia32-libs-i386:i386 krb5-locales lesstif2:i386 libacl1:i386 libaio1:i386 libasound2:i386 libasyncns0:i386 libattr1:i386 libaudio2:i386 libaudiofile1:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libbsd0:i386 libc6:i386 libc6-i686:i386 libcaca0:i386
  libcap2:i386 libcomerr2:i386 libcups2:i386 libcurl3:i386 libdb5.1:i386 libdbus-1-3:i386 libdirectfb-1.2-9:i386 libdrm-intel1:i386 libdrm-nouveau1a:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libesd0:i386 libexif12:i386 libexpat1:i386 libffi5:i386 libflac8:i386 libfltk1.1:i386 libfontconfig1:i386
  libfreetype6:i386 libgcc1:i386 libgcrypt11:i386 libgd2-xpm:i386 libgdbm3:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386 libgnutls26:i386 libgpg-error0:i386 libgphoto2-2:i386 libgphoto2-l10n libgphoto2-port0:i386 libgpm2:i386 libgssapi-krb5-2:i386 libice6:i386 libidn11:i386
  libieee1284-3:i386 libjack-jackd2-0 libjack-jackd2-0:i386 libjbig0 libjbig0:i386 libjpeg62:i386 libjpeg8:i386 libjson0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms1:i386 libldap-2.4-2:i386 libltdl7:i386 liblzma5:i386 liblzo2-2:i386 libmpg123-0:i386 libncursesw5:i386
  libnspr4 libnspr4:i386 libnspr4-0d:i386 libnss3 libnss3:i386 libnss3-1d:i386 libodbc1:i386 libogg0:i386 libopenal1:i386 libp11-kit0:i386 libpam0g:i386 libpciaccess0:i386 libpng12-0:i386 libpopt0:i386 libpulse0:i386 librtmp0:i386 libsamplerate0:i386 libsane:i386 libsane-common:i386 libsane-extras:i386
  libsasl2-2:i386 libsasl2-modules:i386 libsdl1.2debian:i386 libselinux1:i386 libsigc++-2.0-0c2a:i386 libslang2:i386 libsm6:i386 libsndfile1:i386 libsqlite3-0:i386 libssh2-1:i386 libssl1.0.0:i386 libstdc++5:i386 libstdc++6:i386 libsvga1:i386 libsysfs2:i386 libsystemd-daemon0 libsystemd-login0 libtasn1-3:i386
  libtdb1:i386 libtiff4:i386 libtinfo5:i386 libts-0.0-0:i386 libusb-0.1-4:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libvorbis0a:i386 libvorbisenc2:i386 libvorbisfile3:i386 libwebrtc-audio-processing-0 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libx86-1:i386 libxau6:i386 libxaw7:i386 libxcb-glx0
  libxcb-glx0:i386 libxcb-render-util0:i386 libxcb-render0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxft2:i386 libxi6:i386 libxinerama1:i386 libxml2:i386 libxmu6:i386 libxmuu1:i386 libxp6:i386 libxpm4:i386 libxrandr2:i386
  libxrender1:i386 libxslt1.1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 libxv1:i386 libxxf86vm1:i386 odbcinst1debian2:i386 sane-utils:i386 xaw3dg:i386 zlib1g:i386
The following packages will be upgraded:
  adduser gstreamer0.10-plugins-good libacl1 libattr1 libaudio2 libaudiofile1 libbsd0 libcaca0 libcap2 libcomerr2 libcups2 libcurl3 libdb5.1 libdbus-1-3 libdirectfb-1.2-9 libdrm-intel1 libdrm-radeon1 libdrm2 libedit2 libexif12 libexpat1 libfreetype6 libgcc1 libgd2-xpm libgdbm3 libgl1-mesa-dev libgl1-mesa-glx
  libglapi-mesa libglu1-mesa libgnutls26 libgpg-error0 libgphoto2-2 libgphoto2-port0 libgpm2 libgssapi-krb5-2 libice6 libidn11 libjpeg62 libjson0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblcms1 libldap-2.4-2 libltdl7 libncurses5 libncursesw5 libnspr4-0d libnss3-1d libogg0 libopenal-data libopenal1
  libp11-kit0 libpam0g libpciaccess0 libpng12-0 libpopt0 libpulse-mainloop-glib0 libpulse0 libsamplerate0 libsane libsasl2-2 libsasl2-modules libsdl1.2debian libselinux1 libsigc++-2.0-0c2a libslang2 libsm6 libsndfile1 libsqlite3-0 libssh2-1 libssl1.0.0 libstdc++6 libsvga1 libsysfs2 libtasn1-3 libtdb1 libtiff4
  libtinfo5 libts-0.0-0 libusb-0.1-4 libuuid1 libv4l-0 libv4lconvert0 libvorbis0a libvorbisenc2 libvorbisfile3 libwrap0 libx11-xcb1 libx86-1 libxau-dev libxau6 libxaw7 libxcb-render-util0 libxcb-render0 libxcb1 libxcb1-dev libxcursor1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxft2 libxi6 libxinerama1 libxml2
  libxmu6 libxmuu1 libxpm4 libxrender1 libxslt1.1 libxss1 libxt6 libxtst6 libxv1 libxxf86vm1 mesa-common-dev pulseaudio pulseaudio-esound-compat pulseaudio-module-gconf pulseaudio-module-x11 pulseaudio-module-zeroconf pulseaudio-utils tsconf update-inetd zlib1g
127 upgraded, 162 newly installed, 3 to remove and 1111 not upgraded.
1 not fully installed or removed.
Need to get 115 kB/90.7 MB of archives.
After this operation, 189 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://debian.linuxmint.com/latest/ testing/main ia32-libs-i386 i386 1:0.4 [115 kB]
Fetched 115 kB in 0s (274 kB/s)       
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: error: --configure needs a valid package name but 'gcc-4.7-base' is not: ambiguous package name 'gcc-4.7-base' with more than one installed instance

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
E: Sub-process /usr/bin/dpkg returned an error code (2)
swetko@swetko-mint ~/mujoco/devel/Models/examples $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1241 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
dpkg: error: --configure needs a valid package name but 'gcc-4.7-base' is not: ambiguous package name 'gcc-4.7-base' with more than one installed instance

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
E: Sub-process /usr/bin/dpkg returned an error code (2)
swetko@swetko-mint ~/mujoco/devel/Models/examples $
Swetko
Level 1
Level 1
 
Posts: 6
Joined: Mon Jun 11, 2012 1:02 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby zerozero on Thu Jan 17, 2013 7:17 pm

0 upgraded, 0 newly installed, 0 to remove and 1241 not upgraded.


well, you didn't answer any of the question of the post above :lol: but anyway i see where the problem is
is this a new install? or an install that is not updated?
first thing you have to do is fully update the system
Code: Select all
apt update && apt dist-upgrade
forget multiarch and ia32-libs for now
once you finish the update you can then answer why you need ia32-libs
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6485
Joined: Tue Jul 07, 2009 2:29 pm

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby Swetko on Thu Jan 17, 2013 7:25 pm

I was going to answer but the forum did not let me post so soon after the previous post.

I was trying to install a program called "teamviewer" . In the past I've been able to install "ia32-libs", for example using the previous LMDE 1204 edition from May. I just installed LMDE 1204 again and it's not working. Besides I will use skype later and have mainly installed ia32libs before for skype.

I am doing dist-upgrade right now. Why do I need this? It's a pretty fresh system (2nd day I think) and I just recently downloaded LMDE newest version.
Swetko
Level 1
Level 1
 
Posts: 6
Joined: Mon Jun 11, 2012 1:02 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby zerozero on Thu Jan 17, 2013 7:31 pm

the iso you are using is from may;
- in may multiarch was in transition (well to be honest is not a finished product today but that is another history)
- in may you couldn't (as you saw) enable multiarch because dpkg was not multiarch aware
- in may you could/had to use ia32-libs to install those 32bit app: like skype (i'm unsure about teamviewer)
- today you can't install skype with ia32-libs, skype is multiarch
- again i'm not sure about teamviewer
- ia32-libs is deprecated

most of this information is in the OP
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6485
Joined: Tue Jul 07, 2009 2:29 pm

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby Swetko on Thu Jan 17, 2013 8:04 pm

I see. Well the ISO i am using right now is from January and I cannot install ia32-libs with it.

Ok. I understand what the situation is. enabling multiarch and adding i386 is the way to enable those programs to work.

the output of upgrade-dist is the same:

Get:1238 http://debian.linuxmint.com/latest/ testing/main icedtea-netx amd64 1.3.1-1 [18.7 kB]
Get:1239 http://debian.linuxmint.com/latest/ testing/main icedtea-6-plugin amd64 1.3.1-1 [90.4 kB]
Get:1240 http://debian.linuxmint.com/latest/ testing/main libhttpclient-ruby1.8 all 2.2.4-2 [4,278 B]
Get:1241 http://debian.linuxmint.com/latest/ testing/main libxml-parser-ruby1.8 all 0.7.2-2 [4,730 B]
Get:1242 http://debian.linuxmint.com/latest/ testing/main lm-sensors amd64 1:3.3.2-2 [127 kB]
Get:1243 http://debian.linuxmint.com/latest/ testing/main os-prober amd64 1.56 [28.4 kB]
Get:1244 http://debian.linuxmint.com/latest/ testing/main oss-compat amd64 2 [4,620 B]
Get:1245 http://debian.linuxmint.com/latest/ testing/main python-brlapi amd64 4.4-5 [106 kB]
Get:1246 http://debian.linuxmint.com/latest/ testing/main python-gdata all 2.0.17-1 [520 kB]
Get:1247 http://debian.linuxmint.com/latest/ testing/main user-setup all 1.46 [170 kB]
Get:1248 http://debian.linuxmint.com/latest/ testing/main xfonts-mathml all 6 [42.2 kB]
Fetched 965 MB in 8min 27s (1,902 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: error: --configure needs a valid package name but 'gcc-4.7-base' is not: ambiguous package name 'gcc-4.7-base' with more than one installed instance

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
E: Sub-process /usr/bin/dpkg returned an error code (2)
swetko@swetko-mint ~/mujoco/devel/Models/examples $
Swetko
Level 1
Level 1
 
Posts: 6
Joined: Mon Jun 11, 2012 1:02 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby zerozero on Thu Jan 17, 2013 8:13 pm

try with
Code: Select all
sudo dpkg --configure -a
but i'm not too confident;
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6485
Joined: Tue Jul 07, 2009 2:29 pm

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby ddurdle on Sun Jan 20, 2013 10:30 am

I used to use teamviewer, but not anymore.

This should work for you:

http://www.hangelot.eu/?p=238&lang=en
ddurdle
Level 3
Level 3
 
Posts: 106
Joined: Sat Dec 17, 2011 10:03 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby ddurdle on Sun Jan 20, 2013 10:43 am

How does i686 applications play into multiarch? They are 32bit, right? But I noticed during the move to multiarch on all my systems, that the i686 applications were not removed by apt-get.
ddurdle
Level 3
Level 3
 
Posts: 106
Joined: Sat Dec 17, 2011 10:03 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby zerozero on Sun Jan 20, 2013 10:52 am

ddurdle
tks for the link regarding teamviewer (added to the OP)

as for your question: if i have all this right :shock: multiarch adds compatibility to a foreign arch, shouldn't bring incompatibility in a way that installed lib/pkgs were to be removed (not specifically because of the conversion to multiarch anyway) << i might be wrong here
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6485
Joined: Tue Jul 07, 2009 2:29 pm

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby ddurdle on Sun Jan 20, 2013 12:30 pm

I should also clarify one thing about teamviewer. It's an official linux deb file and the software developer says it fully supports linux, but when I had tried it previously, I noticed it's really a Windows application wrapped in it's own wine-install. So if anyone having problems with teamweaver after migrating to multiarch, make sure you actually install wine-bin as well.
ddurdle
Level 3
Level 3
 
Posts: 106
Joined: Sat Dec 17, 2011 10:03 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby ddurdle on Sun Jan 20, 2013 12:38 pm

zerozero wrote:as for your question: if i have all this right :shock: multiarch adds compatibility to a foreign arch, shouldn't bring incompatibility in a way that installed lib/pkgs were to be removed (not specifically because of the conversion to multiarch anyway) << i might be wrong here


After the upgrade (and I have upgraded to UP6 now on all my systems, 6-7 in total), the ia32 is held back until I migrate to multiarch. I migrated on two out of 4 of those 64bit systems. I enable multiarch first, update and it advises it wants to remove a bunch of my "i386" software because of unsatisfied dependencies (sametime-connect, agns, wine), which as far as I know is what is expected. I then remove ia32* and then reinstall wine-bin, and attend to "installing" each of the other 32bit software that was uninstalled. I thought that was normal.

I think perhaps that i686 software simply has no dependencies listed in the .deb file, so perhaps since it masquerades that it doesn't depend on anything, then it doesn't get installed during the removal of ia32.

It's not a biggie, because I just go through and identify what dependencies are missing and install them manually. So I don't think it's multiarch in particular being the problem, bad badly packaged software from the software vendors.
ddurdle
Level 3
Level 3
 
Posts: 106
Joined: Sat Dec 17, 2011 10:03 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby ddurdle on Sun Jan 20, 2013 12:38 pm

zerozero wrote:as for your question: if i have all this right :shock: multiarch adds compatibility to a foreign arch, shouldn't bring incompatibility in a way that installed lib/pkgs were to be removed (not specifically because of the conversion to multiarch anyway) << i might be wrong here


After the upgrade (and I have upgraded to UP6 now on all my systems, 6-7 in total), the ia32 is held back until I migrate to multiarch. I migrated on two out of 4 of those 64bit systems. I enable multiarch first, update and it advises it wants to remove a bunch of my "i386" software because of unsatisfied dependencies (sametime-connect, agns, wine), which as far as I know is what is expected. I then remove ia32* and then reinstall wine-bin, and attend to "installing" each of the other 32bit software that was uninstalled. I thought that was normal.

I think perhaps that i686 software simply has no dependencies listed in the .deb file, so perhaps since it masquerades that it doesn't depend on anything, then it doesn't get installed during the removal of ia32.

It's not a biggie, because I just go through and identify what dependencies are missing and install them manually. So I don't think it's multiarch in particular being the problem, bad badly packaged software from the software vendors.
ddurdle
Level 3
Level 3
 
Posts: 106
Joined: Sat Dec 17, 2011 10:03 am

Re: Multiarch, ia32-libs, Wine, Skype & others

Postby ddurdle on Tue Jan 22, 2013 12:24 pm

ZeroZero, can you tell me what's going wrong here?

I have a .deb that lists libssl0.9.8 as an unsatisfied dependency. I have both libssl1.0.0 and libssl0.9.8 installed according to synaptic.

If I try to install it using apt-get:

durdle@x61-ssd [49C] [0] /opt/agns/bin $ sudo apt-get install libssl0.9.8:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libssl0.9.8:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl0.9.8:i386' has no installation candidate


My sources:
durdle@x61-ssd [50C] [0] /opt/agns/bin $ cat /etc/apt/sources.list
deb [arch=amd64,i386] http://packages.linuxmint.com/ debian main upstream import
deb [arch=amd64,i386] http://debian.linuxmint.com/latest testing main contrib non-free
deb [arch=amd64,i386] http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb [arch=amd64,i386] http://debian.linuxmint.com/latest/multimedia testing main non-free
deb [arch=amd64,i386] http://liquorix.net/debian sid main future

durdle@x61-ssd [52C] [0] /opt/agns/bin $ dpkg --print-foreign-architectures
i386


I can locate the package manually in LMDE repositories: http://debian.linuxmint.com/latest/pool ... 3_i386.deb

If I download it and manually install it, then all is well. Shouldn't it see this automatically in the repository and install it automatically?

I should add that on a 32-bit system, the software is able to find the dependency automatically and install it if it isn't already. It's seems to be a multiarch issue.
ddurdle
Level 3
Level 3
 
Posts: 106
Joined: Sat Dec 17, 2011 10:03 am

Linux Mint is funded by ads and donations.
 
Next

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 5 guests