Re: packages requiring ia32-libs ia32-libs-gtk

Michael <[email protected]>
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <[email protected]>
Goswin,

I tried your other suggestion (DEB_BUILD_ARCH=i386 make-googleearth-package) and created the i386 debian package. Es expected it installed only unconfigured, with 

/tmp r: dpkg --configure googleearth
dpkg: dependency problems prevent configuration of googleearth:
 googleearth depends on libfreeimage3.
 googleearth depends on lsb-core.
 googleearth depends on libqtcore4.
 googleearth depends on libgl1-mesa-glx.

which at first glance looks a lot better than before.

Then i proceeded with Klaus' suggestion, and apt-get install -f produced this:

The following extra packages will be installed:
  libc6:i386 libc6-i686:i386 libdrm-intel1:i386 libdrm-nouveau1a:i386
  libdrm-radeon1:i386 libdrm2:i386 libexpat1:i386 libffi5:i386 libfreeimage3:i386
  libgcc1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386
  libglib2.0-0:i386 libgomp1:i386 libilmbase6:i386 libjasper1:i386 libjpeg8:i386
  liblcms1:i386 liblcms2-2:i386 libmng1:i386 libopenexr6:i386 libopenjpeg2:i386
  libpciaccess0:i386 libpcre3:i386 libpng12-0:i386 libqtcore4:i386 libraw5:i386
  libselinux1:i386 libstdc++6:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386
  libxcb-glx0:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386
  libxfixes3:i386 libxxf86vm1:i386 zlib1g:i386
Suggested packages:
  glibc-doc:i386 libglide3:i386 libjasper-runtime:i386 liblcms-utils:i386
  liblcms2-utils:i386 libthai0:i386 libicu48:i386

The following packages will be REMOVED:
  alien binutils bsd-mailx build-essential chkrootkit cron debhelper dpkg-dev ed
  exim4-base exim4-daemon-light flashplugin-nonfree g++ g++-4.7 gcc gcc-4.2 gcc-4.4
  gcc-4.5 gcc-4.6 gcc-4.7 googleearth:i386 googleearth-package hugin
  libstdc++6-4.7-dev linux-headers-2.6.39-2-amd64 linux-headers-3.2.0-2-amd64
  linux-headers-3.2.0-4-amd64 make misdn-source nvidia-kernel-source quilt
  texlive-binaries

The following NEW packages will be installed:
  libc6:i386 libc6-i686:i386 libdrm-intel1:i386 libdrm-nouveau1a:i386
  libdrm-radeon1:i386 libdrm2:i386 libexpat1:i386 libffi5:i386 libfreeimage3:i386
  libgcc1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386
  libglib2.0-0:i386 libgomp1:i386 libilmbase6:i386 libjasper1:i386 libjpeg8:i386
  liblcms1:i386 liblcms2-2:i386 libmng1:i386 libopenexr6:i386 libopenjpeg2:i386
  libpciaccess0:i386 libpcre3:i386 libpng12-0:i386 libqtcore4:i386 libraw5:i386
  libselinux1:i386 libstdc++6:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386
  libxcb-glx0:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386
  libxfixes3:i386 libxxf86vm1:i386 zlib1g:i386
0 upgraded, 41 newly installed, 32 to remove and 0 not upgraded.
1 not fully installed or removed.

As you can see g.e. would be removed too, that way.

I tried to fix the package manually (with aptitude) but it ends up with the lsb-core:i386 trouble again.

I tried dpkg -i --force all which configured it but it's still broken, for example /usr/lib/googleearth/googleearth-bin does not get installed. (How would you call that state?)

My last try was this:

/tmp r: dpkg  --force all --ignore-depends googleearth_6.0.3.2197+0.7.0-1_i386.deb -i googleearth_6.0.3.2197+0.7.0-1_i386.deb 

Selecting previously unselected package googleearth.
(Reading database ... 209298 files and directories currently installed.)
Unpacking googleearth (from googleearth_6.0.3.2197+0.7.0-1_i386.deb) ...
dpkg: googleearth: dependency problems, but configuring anyway as you requested:
 googleearth depends on libfreeimage3.
 googleearth depends on lsb-core.
 googleearth depends on libqtcore4; however:
  Package libqtcore4 is not installed.
 googleearth depends on libgl1-mesa-glx; however:
  Package libgl1-mesa-glx is not installed.

Setting up googleearth (6.0.3.2197+0.7.0-1) ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Processing triggers for mime-support ...

As you can see it ran through even processing the triggers, but did not actually set up a link in /usr/bin and trying to launch  /usr/lib/googleearth/googleearth-bin fails because the script can't find some unspecified file.

Somehow this looks like it was really the lsb-core part which did not work.

I'm not so confident with dpkg internals as to know how to proceed from here on.

-----------------

Q: Can i modify the already installed amd64 lsb-core package in the dpkg database, so that it just lies about it's architecture ? Like, making it arch:all ? Would g.e. then be satisfied with it ? Is there any advantage above modifying the g.e. package ?

I know this would be a crude hack which blows up with the next update. I just want to see if and how it could work at all. With that information, a bug report would be much more effective.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.