Discussion:
Another Linux file question
(too old to reply)
RobH
2017-07-25 09:19:20 UTC
Permalink
When installing i386 versions of a file which maybe a x64 version is
already installed, does the i386 version have to be the same version
number as the x64 version.

I am trying to install ai386 version of a couple of lib files, but I am
getting errors or files not installed.

This is an example:
sudo dpkg -i libatk1.0-0_2.22.0-1_i386.deb
Selecting previously unselected package libatk1.0-0:i386.
(Reading database ... 326931 files and directories currently installed.)
Preparing to unpack libatk1.0-0_2.22.0-1_i386.deb ...
Unpacking libatk1.0-0:i386 (2.22.0-1) ...
dpkg: error processing archive libatk1.0-0_2.22.0-1_i386.deb (--install):
trying to overwrite shared
'/usr/share/doc/libatk1.0-0/changelog.Debian.gz', which is different
from other instances of package libatk1.0-0:i386
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Errors were encountered while processing:
libatk1.0-0_2.22.0-1_i386.deb
Richard Kettlewell
2017-07-25 09:42:35 UTC
Permalink
Post by RobH
When installing i386 versions of a file which maybe a x64 version is
already installed, does the i386 version have to be the same version
number as the x64 version.
Yes.

(The actual check is that all the files that appear in both packages
have the same MD5 hash. But the changelog will, with overwhelming
probability, fail to match unless the packages are the same version.)
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-25 11:37:51 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
When installing i386 versions of a file which maybe a x64 version is
already installed, does the i386 version have to be the same version
number as the x64 version.
Yes.
(The actual check is that all the files that appear in both packages
have the same MD5 hash. But the changelog will, with overwhelming
probability, fail to match unless the packages are the same version.)
Thanks, I thought so.

Now I have an i386 deb file which is the same version as the x64 version.
This is : libatk-1.0.so.0.22209.1, i386 file, then the exact same
version inx86_64-linux-gnu. Here I did see that there were other libatk
files as well: libatk-bridge-2.0.so.0, and libatkmm-1.6.so.1

For the i386 version does it also nee the other libatk files to go with
it, as other wise I get this error when I try to install the i386 version:

sudo dpkg -i libatk1.0-0_2.22.0-1_i386.deb
(Reading database ... 326931 files and directories currently installed.)
Preparing to unpack libatk1.0-0_2.22.0-1_i386.deb ...
Unpacking libatk1.0-0:i386 (2.22.0-1) ...
dpkg: error processing archive libatk1.0-0_2.22.0-1_i386.deb (--install):
trying to overwrite shared
'/usr/share/doc/libatk1.0-0/changelog.Debian.gz', which is different
from other instances of package libatk1.0-0:i386
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Errors were encountered while processing:
libatk1.0-0_2.22.0-1_i386.deb
Richard Kettlewell
2017-07-25 12:34:05 UTC
Permalink
Post by RobH
Now I have an i386 deb file which is the same version as the x64 version.
This is : libatk-1.0.so.0.22209.1, i386 file, then the exact same
version inx86_64-linux-gnu. Here I did see that there were other
libatk files as well: libatk-bridge-2.0.so.0, and libatkmm-1.6.so.1
None of those are the version of the .deb. To find out what you have
installed use:

dpkg -l libatk1.0-0
Post by RobH
For the i386 version does it also nee the other libatk files to go
with it, as other wise I get this error when I try to install the i386
sudo dpkg -i libatk1.0-0_2.22.0-1_i386.deb
(Reading database ... 326931 files and directories currently installed.)
Preparing to unpack libatk1.0-0_2.22.0-1_i386.deb ...
Unpacking libatk1.0-0:i386 (2.22.0-1) ...
trying to overwrite shared
'/usr/share/doc/libatk1.0-0/changelog.Debian.gz', which is different
from other instances of package libatk1.0-0:i386
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
libatk1.0-0_2.22.0-1_i386.deb
Stop trying to use dpkg for this, use apt-get install.
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-25 17:01:14 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
Now I have an i386 deb file which is the same version as the x64 version.
This is : libatk-1.0.so.0.22209.1, i386 file, then the exact same
version inx86_64-linux-gnu. Here I did see that there were other
libatk files as well: libatk-bridge-2.0.so.0, and libatkmm-1.6.so.1
None of those are the version of the .deb. To find out what you have
dpkg -l libatk1.0-0
Post by RobH
For the i386 version does it also nee the other libatk files to go
with it, as other wise I get this error when I try to install the i386
sudo dpkg -i libatk1.0-0_2.22.0-1_i386.deb
(Reading database ... 326931 files and directories currently installed.)
Preparing to unpack libatk1.0-0_2.22.0-1_i386.deb ...
Unpacking libatk1.0-0:i386 (2.22.0-1) ...
trying to overwrite shared
'/usr/share/doc/libatk1.0-0/changelog.Debian.gz', which is different
from other instances of package libatk1.0-0:i386
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
libatk1.0-0_2.22.0-1_i386.deb
Stop trying to use dpkg for this, use apt-get install.
dpkg -l libatk1.0-0
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii libatk1.0-0:am 2.22.0-1 amd64 ATK accessibility toolkit
in libatk1.0-0:i3 <none> i386 (no description available)

And after checking the i386-linux-gnu directory there are no libatk
files there.

I tried to install it by the method you say and this is the output.

~/Downloads$ sudo apt-get install libatk1.0-0_2.22.0-1_i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libatk1.0-0_2.22.0-1_i386
E: Couldn't find any package by glob 'libatk1.0-0_2.22.0-1_i386'
E: Couldn't find any package by regex 'libatk1.0-0_2.22.0-1_i386'

The libatk deb file is definitely there in the Downloads directory, and
I copied and pasted the complete file name.
Richard Kettlewell
2017-07-25 17:05:40 UTC
Permalink
Post by RobH
I tried to install it by the method you say and this is the output.
~/Downloads$ sudo apt-get install libatk1.0-0_2.22.0-1_i386
Should be:
sudo apt-get install libatk1.0-0:i386
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-25 18:16:03 UTC
Permalink
Post by Richard Kettlewell
sudo apt-get install libatk1.0-0:i386
Yes, thanks
I am have a problem with just 2 more lib files now which
sudo apt-get install cant find the said files:

sudo apt-get install libcairo2_1.14.8-1:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libcairo2_1.14.8-1:i386
E: Couldn't find any package by glob 'libcairo2_1.14.8-1'
E: Couldn't find any package by regex 'libcairo2_1.14.8-1'

Again this is the same file version or number as the one in the
x86_64-linux-gnu directory.
Richard Kettlewell
2017-07-25 18:54:02 UTC
Permalink
Post by RobH
Post by Richard Kettlewell
sudo apt-get install libatk1.0-0:i386
Yes, thanks
I am have a problem with just 2 more lib files now which
sudo apt-get install libcairo2_1.14.8-1:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libcairo2_1.14.8-1:i386
E: Couldn't find any package by glob 'libcairo2_1.14.8-1'
E: Couldn't find any package by regex 'libcairo2_1.14.8-1'
Again this is the same file version or number as the one in the
x86_64-linux-gnu directory.
Exactly the same mistake as last time, apt-get just wants the package
name (and optionally, architecture), not the version number as well.
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-25 19:23:57 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
Post by Richard Kettlewell
sudo apt-get install libatk1.0-0:i386
Yes, thanks
I am have a problem with just 2 more lib files now which
sudo apt-get install libcairo2_1.14.8-1:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libcairo2_1.14.8-1:i386
E: Couldn't find any package by glob 'libcairo2_1.14.8-1'
E: Couldn't find any package by regex 'libcairo2_1.14.8-1'
Again this is the same file version or number as the one in the
x86_64-linux-gnu directory.
Exactly the same mistake as last time, apt-get just wants the package
name (and optionally, architecture), not the version number as well.
I got the libcairo files installed ok now thanks but not this one:

Libpango-1.0 is the file which is needed, but it doesn't get installed.

sudo apt-get install libpango-1.0:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpango-1.0-0:i386' for regex 'libpango-1.0'
The following packages were automatically installed and are no longer
required:
libatk1.0-0:i386 libcairo2:i386 libgraphite2-3:i386 libharfbuzz0b:i386
libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpixman-1-0:i386
libxcb-render0:i386 libxcb-shm0:i386 linux-headers-4.10.0-21
linux-headers-4.10.0-21-generic linux-headers-4.10.0-22
linux-headers-4.10.0-22-generic linux-headers-4.10.0-24
linux-headers-4.10.0-24-generic linux-image-4.10.0-21-generic
linux-image-4.10.0-22-generic linux-image-4.10.0-24-generic
linux-image-extra-4.10.0-21-generic linux-image-extra-4.10.0-22-generic
linux-image-extra-4.10.0-24-generic linux-signed-image-4.10.0-21-generic
linux-signed-image-4.10.0-22-generic linux-signed-image-4.10.0-24-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed
libpango-1.0-0:i386
0 to upgrade, 1 to newly install, 0 to remove and 3 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/155 kB of archives.
After this operation, 425 kB of additional disk space will be used.
(Reading database ... 326953 files and directories currently installed.)
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
Errors were encountered while processing:
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Richard Kettlewell
2017-07-25 21:31:52 UTC
Permalink
Post by RobH
(Reading database ... 326953 files and directories currently installed.)
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Haven’t we done this one? You presumably have the 64-bit version
installed in a different version. I suggest you bring your system up to
date with:
apt-get update
apt-get upgrade
before proceeding any further.

What, incidentally, is all this supposed to achieve?
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-26 09:07:49 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
(Reading database ... 326953 files and directories currently installed.)
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Haven’t we done this one? You presumably have the 64-bit version
installed in a different version. I suggest you bring your system up to
apt-get update
apt-get upgrade
before proceeding any further.
What, incidentally, is all this supposed to achieve?
I have a windows program, Weather Display, running on a windows7
machine, and although there is a linux version or equivalent of the
program, the developer says it will only run on a x32 bit system.

Now other users of Ubuntu x64, have had success running the x32 bit
program, and I would like to do the same so I can turn the windows 7
machine into a linux machine.
If it cannot be done, I'll live with it and leave the program running on
windows 7.

Thanks
Paul
2017-07-26 11:10:40 UTC
Permalink
Post by RobH
Post by Richard Kettlewell
Post by RobH
(Reading database ... 326953 files and directories currently installed.)
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Haven’t we done this one? You presumably have the 64-bit version
installed in a different version. I suggest you bring your system up to
apt-get update
apt-get upgrade
before proceeding any further.
What, incidentally, is all this supposed to achieve?
I have a windows program, Weather Display, running on a windows7
machine, and although there is a linux version or equivalent of the
program, the developer says it will only run on a x32 bit system.
Now other users of Ubuntu x64, have had success running the x32 bit
program, and I would like to do the same so I can turn the windows 7
machine into a linux machine.
If it cannot be done, I'll live with it and leave the program running on
windows 7.
Thanks
The "Deploy" folder has some library files in it.

http://www.weather-display.com/fileslinux.php

http://www.weather-display.com/downloadfiles/WeatherD.tar.gz

libcom.so
libhid.so
liblunar.so
libusbdll.so
...

*******

If I use ldd on the main executable, this is what it
shows in a 32 bit OS.

$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"

$ inxi -S
System: Host: Kernel: 4.4.0-21-generic i686 (32 bit)
Desktop: Unity 7.4.0 Distro: Ubuntu 16.04 xenial

ldd WeatherD
linux-gate.so.1 => (0xb771a000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb76e1000)
libusbdll.so => not found
liblunar.so => not found
libcom.so => not found
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb76db000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb7590000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xb7567000)
libgtk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 (0xb7070000)
libgdk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 (0xb6fb0000)
libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb6f51000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb6e28000)
libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xb6e25000)
libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xb6e1f000)
libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0xb6dce000)
libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xb6c8d000)
libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xb6c66000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6ab0000)
/lib/ld-linux.so.2 (0x800a3000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6a89000)
libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xb68c0000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb686b000)
libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xb685d000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb6856000)
libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0xb683d000)
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb67f4000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb67e8000)
libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xb67e4000)
libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb67d1000)
libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb67c3000)
libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xb67b8000)
libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 (0xb67b4000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xb67b0000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb679b000)
libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb6791000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb671c000)
libthai.so.0 => /usr/lib/i386-linux-gnu/libthai.so.0 (0xb6711000)
libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xb6661000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb65b1000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb6585000)
libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xb6581000)
libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0xb6576000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb655b000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb6552000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb654d000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb6546000)
libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xb6520000)
libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb6507000)
libharfbuzz.so.0 => /usr/lib/i386-linux-gnu/libharfbuzz.so.0 (0xb64a3000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb6479000)
libdatrie.so.1 => /usr/lib/i386-linux-gnu/libdatrie.so.1 (0xb646f000)
libgraphite2.so.3 => /usr/lib/i386-linux-gnu/libgraphite2.so.3 (0xb6448000)

*******

If I use ldd on the main executable, this is what it
shows in a 64 bit OS. The cupboard looks a bit bare.

$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

$ inxi -S
System: Host: Kernel: 3.13.0-32-generic x86_64 (64 bit)
Desktop: Gnome Distro: Ubuntu 14.04 trusty

$ ldd WeatherD
linux-gate.so.1 => (0xf7712000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf76df000)
libusbdll.so => not found
liblunar.so => not found
libcom.so => not found
libdl.so.2 => /lib32/libdl.so.2 (0xf76da000)
libX11.so.6 => not found
libgdk_pixbuf-2.0.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libgobject-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libgthread-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libpango-1.0.so.0 => not found
libcairo.so.2 => not found
libatk-1.0.so.0 => not found
libc.so.6 => /lib32/libc.so.6 (0xf7529000)
/lib/ld-linux.so.2 (0xf7713000)

Now I see why you're trying to fetch these manually.

The launcher script will be picking up those library
files that come with the download. As they're in the
"deploy" folder.

export LD_LIBRARY_PATH=$DIR_PATH/deploy/
$DIR_PATH/WeatherD

So the mystery for me is, why are there fewer items
in the second "ldd" list ?

The executable itself is huge, at 121,132,164 bytes.
It's a bit "busy" inside.

Loading Image...

HTH,
Paul
RobH
2017-07-26 12:26:12 UTC
Permalink
Post by Paul
Post by RobH
Post by Richard Kettlewell
Post by RobH
(Reading database ... 326953 files and directories currently installed.)
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Haven’t we done this one? You presumably have the 64-bit version
installed in a different version. I suggest you bring your system up to
apt-get update
apt-get upgrade
before proceeding any further.
What, incidentally, is all this supposed to achieve?
I have a windows program, Weather Display, running on a windows7
machine, and although there is a linux version or equivalent of the
program, the developer says it will only run on a x32 bit system.
Now other users of Ubuntu x64, have had success running the x32 bit
program, and I would like to do the same so I can turn the windows 7
machine into a linux machine.
If it cannot be done, I'll live with it and leave the program running
on windows 7.
Thanks
The "Deploy" folder has some library files in it.
http://www.weather-display.com/fileslinux.php
http://www.weather-display.com/downloadfiles/WeatherD.tar.gz
libcom.so
libhid.so
liblunar.so
libusbdll.so
...
*******
If I use ldd on the main executable, this is what it
shows in a 32 bit OS.
$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
$ inxi -S
System: Host: Kernel: 4.4.0-21-generic i686 (32 bit)
Desktop: Unity 7.4.0 Distro: Ubuntu 16.04 xenial
ldd WeatherD
linux-gate.so.1 => (0xb771a000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb76e1000)
libusbdll.so => not found
liblunar.so => not found
libcom.so => not found
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb76db000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb7590000)
libgdk_pixbuf-2.0.so.0 =>
/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xb7567000)
libgtk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 (0xb7070000)
libgdk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 (0xb6fb0000)
libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb6f51000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb6e28000)
libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xb6e25000)
libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xb6e1f000)
libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0xb6dce000)
libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xb6c8d000)
libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xb6c66000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6ab0000)
/lib/ld-linux.so.2 (0x800a3000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6a89000)
libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xb68c0000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb686b000)
libpangocairo-1.0.so.0 =>
/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xb685d000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb6856000)
libpangoft2-1.0.so.0 =>
/usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0xb683d000)
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb67f4000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb67e8000)
libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xb67e4000)
libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb67d1000)
libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb67c3000)
libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xb67b8000)
libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 (0xb67b4000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xb67b0000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb679b000)
libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb6791000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb671c000)
libthai.so.0 => /usr/lib/i386-linux-gnu/libthai.so.0 (0xb6711000)
libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xb6661000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb65b1000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb6585000)
libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xb6581000)
libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0xb6576000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb655b000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb6552000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb654d000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb6546000)
libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xb6520000)
libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb6507000)
libharfbuzz.so.0 => /usr/lib/i386-linux-gnu/libharfbuzz.so.0 (0xb64a3000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb6479000)
libdatrie.so.1 => /usr/lib/i386-linux-gnu/libdatrie.so.1 (0xb646f000)
libgraphite2.so.3 => /usr/lib/i386-linux-gnu/libgraphite2.so.3 (0xb6448000)
*******
If I use ldd on the main executable, this is what it
shows in a 64 bit OS. The cupboard looks a bit bare.
$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
$ inxi -S
System: Host: Kernel: 3.13.0-32-generic x86_64 (64 bit)
Desktop: Gnome Distro: Ubuntu 14.04 trusty
$ ldd WeatherD
linux-gate.so.1 => (0xf7712000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf76df000)
libusbdll.so => not found
liblunar.so => not found
libcom.so => not found
libdl.so.2 => /lib32/libdl.so.2 (0xf76da000)
libX11.so.6 => not found
libgdk_pixbuf-2.0.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libgobject-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libgthread-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libpango-1.0.so.0 => not found
libcairo.so.2 => not found
libatk-1.0.so.0 => not found
libc.so.6 => /lib32/libc.so.6 (0xf7529000)
/lib/ld-linux.so.2 (0xf7713000)
Now I see why you're trying to fetch these manually.
The launcher script will be picking up those library
files that come with the download. As they're in the
"deploy" folder.
export LD_LIBRARY_PATH=$DIR_PATH/deploy/
$DIR_PATH/WeatherD
So the mystery for me is, why are there fewer items
in the second "ldd" list ?
The executable itself is huge, at 121,132,164 bytes.
It's a bit "busy" inside.
https://s22.postimg.org/40js5oyxd/the_executable.gif
HTH,
Paul
Thanks, but yes I know it has some lib files in the /deploy directory,
but there are others which WD needs:
It set off with about 8 or 9 lib x32 lib files not found, but I managed
by some means to get that figure down gradually over a few days.

A list of dependencies for WD and you should see 1 lib file is not found:

libpango-1.0.so.0 => not found
libpango-1.0.so.0 => not found
libpango-1.0.so.0 => not found
libpango-1.0.so.0 => not found I don't know why there are 4 instances of
libpango

cd wdisplay
ldd WeatherD
linux-gate.so.1 => (0xf7707000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76c5000)
libusbdll.so => /usr/local/lib/libusbdll.so (0xf76c1000)
liblunar.so => /usr/local/lib/liblunar.so (0xf7426000)
libcom.so => /usr/local/lib/libcom.so (0xf7422000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf741d000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf72d2000)
libgdk_pixbuf-2.0.so.0 =>
/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xf72a7000)
libgtk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
(0xf6db1000)
libgdk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
(0xf6cef000)
libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
(0xf6c91000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xf6b65000)
libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
(0xf6b62000)
libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
(0xf6b5d000)
libpango-1.0.so.0 => not found
libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xf6a1c000)
libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xf69f5000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf683b000)
/lib/ld-linux.so.2 (0x565cf000)
libusb-0.1.so.4 => /lib/i386-linux-gnu/libusb-0.1.so.4 (0xf6831000)
libhid.so.0 => /usr/local/lib/libhid.so.0 (0xf6824000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf67fc000)
libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xf6623000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf65cd000)
libpangocairo-1.0.so.0 =>
/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xf65bf000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf65b8000)
libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0
(0xf65a0000)
libpango-1.0.so.0 => not found
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1
(0xf6557000)
libpango-1.0.so.0 => not found
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf654b000)
libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xf6545000)
libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf6532000)
libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xf6525000)
libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xf651a000)
libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1
(0xf6516000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf6512000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf64fd000)
libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xf64f4000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf647b000)
libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xf63cb000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf6316000)
libpng16.so.16 => /usr/lib/i386-linux-gnu/libpng16.so.16 (0xf62dc000)
libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xf62d8000)
libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0
(0xf62cd000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf62b0000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf62a7000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf62a3000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf629c000)
libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xf6270000)
libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf6257000)
libmount.so.1 => /lib/i386-linux-gnu/libmount.so.1 (0xf6200000)
libpango-1.0.so.0 => not found
libpango-1.0.so.0 => not found
libharfbuzz.so.0 => /usr/lib/i386-linux-gnu/libharfbuzz.so.0 (0xf6162000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf6138000)
libblkid.so.1 => /lib/i386-linux-gnu/libblkid.so.1 (0xf60e9000)
libgraphite2.so.3 => /usr/lib/i386-linux-gnu/libgraphite2.so.3 (0xf60c1000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf60bb000)
Richard Kettlewell
2017-07-26 14:33:20 UTC
Permalink
Post by Paul
So the mystery for me is, why are there fewer items
in the second "ldd" list ?
Because the second system doesn’t have 32-bit versions of those
libraries installed.
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-26 15:56:48 UTC
Permalink
Post by Richard Kettlewell
Post by Paul
So the mystery for me is, why are there fewer items
in the second "ldd" list ?
Because the second system doesn’t have 32-bit versions of those
libraries installed.
I have done this as per from a post in my earlier thread:
sudo dpkg --add-architecture i386 && sudo apt-get update

Then I rebooted but it didn't appear to help,
I am now stuck at installing the libpango-1.0:i386 file, and am now
getting this:

sudo apt-get install libpango-1.0:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpango-1.0-0:i386' for regex 'libpango-1.0'
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
libgail18:i386 : Depends: libgtk2.0-0:i386 (= 2.24.31-1ubuntu1) but
2.24.30-1ubuntu1 is to be installed
libgtk2.0-0 : Breaks: libgtk2.0-0:i386 (!= 2.24.31-1ubuntu1) but
2.24.30-1ubuntu1 is to be installed
libgtk2.0-0:i386 : Breaks: libgtk2.0-0 (!= 2.24.30-1ubuntu1) but
2.24.31-1ubuntu1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
(or specify a solution).
Richard Kettlewell
2017-07-26 16:18:04 UTC
Permalink
Post by RobH
sudo dpkg --add-architecture i386 && sudo apt-get update
That wasn’t necessary; previous posts indicate that i386 had already
been added as an architecture.
Post by RobH
Then I rebooted but it didn't appear to help,
I am now stuck at installing the libpango-1.0:i386 file, and am now
sudo apt-get install libpango-1.0:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpango-1.0-0:i386' for regex 'libpango-1.0'
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
libgail18:i386 : Depends: libgtk2.0-0:i386 (= 2.24.31-1ubuntu1) but
2.24.30-1ubuntu1 is to be installed
2.24.30-1ubuntu1 is from 16.10; 2.24.31-1ubuntu1 is from 17.04. Which of
these corresponds to your OS?
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-26 17:25:05 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
sudo dpkg --add-architecture i386 && sudo apt-get update
That wasn’t necessary; previous posts indicate that i386 had already
been added as an architecture.
Post by RobH
Then I rebooted but it didn't appear to help,
I am now stuck at installing the libpango-1.0:i386 file, and am now
sudo apt-get install libpango-1.0:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpango-1.0-0:i386' for regex 'libpango-1.0'
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
libgail18:i386 : Depends: libgtk2.0-0:i386 (= 2.24.31-1ubuntu1) but
2.24.30-1ubuntu1 is to be installed
2.24.30-1ubuntu1 is from 16.10; 2.24.31-1ubuntu1 is from 17.04. Which of
these corresponds to your OS?
I have version 17.04, so I take that means I have to look for the
correct version number of libgtk.
I thought I had already done that!

I realise that it is libgtk-x11 and not just libgtk
In x86-64-linux-gnu I have libgtk-x11-2.0.so.0, and
libgtk-x11-2.0.so.0.2400.31.
In i386-linux-gnu I have libgtk-x11-2.0.so.0 and libgtk-x11-2.0.so.0.2400.30

So I need to look for another libgtk-x11 file.
RobH
2017-07-26 17:56:38 UTC
Permalink
Post by RobH
Post by Richard Kettlewell
Post by RobH
sudo dpkg --add-architecture i386 && sudo apt-get update
That wasn’t necessary; previous posts indicate that i386 had already
been added as an architecture.
Post by RobH
Then I rebooted but it didn't appear to help,
I am now stuck at installing the libpango-1.0:i386 file, and am now
sudo apt-get install libpango-1.0:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpango-1.0-0:i386' for regex 'libpango-1.0'
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
libgail18:i386 : Depends: libgtk2.0-0:i386 (= 2.24.31-1ubuntu1) but
2.24.30-1ubuntu1 is to be installed
2.24.30-1ubuntu1 is from 16.10; 2.24.31-1ubuntu1 is from 17.04. Which of
these corresponds to your OS?
I have version 17.04, so I take that means I have to look for the
correct version number of libgtk.
I thought I had already done that!
I realise that it is libgtk-x11 and not just libgtk
In x86-64-linux-gnu I have libgtk-x11-2.0.so.0, and
libgtk-x11-2.0.so.0.2400.31.
In i386-linux-gnu I have libgtk-x11-2.0.so.0 and
libgtk-x11-2.0.so.0.2400.30
So I need to look for another libgtk-x11 file.
I have downloaded the 2.24.31 version for i386 but it wont install over
the top of 2.24.30 version


sudo apt-get install libgtk2.0-0:i386
[sudo] password for rob:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
libgail-common:i386 : Depends: libpango-1.0-0:i386 (>= 1.28.3) but it
is not going to be installed
libgail18:i386 : Depends: libpango-1.0-0:i386 (>= 1.28.3) but it is
not going to be installed
libgtk2.0-0:i386 : Depends: libpango-1.0-0:i386 (>= 1.28.3) but it is
not going to be installed
libpangocairo-1.0-0:i386 : Depends: libpango-1.0-0:i386 (>= 1.37.5)
but it is not going to be installed
libpangoft2-1.0-0:i386 : Depends: libpango-1.0-0:i386 (>= 1.37.2) but
it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages
(or specify a solution).
***@rob-Z97:~$ sudo apt --fix-broken 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:
linux-headers-4.10.0-21 linux-headers-4.10.0-21-generic
linux-headers-4.10.0-22 linux-headers-4.10.0-22-generic
linux-headers-4.10.0-24 linux-headers-4.10.0-24-generic
linux-image-4.10.0-21-generic linux-image-4.10.0-22-generic
linux-image-4.10.0-24-generic linux-image-extra-4.10.0-21-generic
linux-image-extra-4.10.0-22-generic linux-image-extra-4.10.0-24-generic
linux-signed-image-4.10.0-21-generic linux-signed-image-4.10.0-22-generic
linux-signed-image-4.10.0-24-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libgtk2.0-0:i386 libpango-1.0-0:i386
Suggested packages:
librsvg2-common:i386 gvfs:i386
The following NEW packages will be installed
libpango-1.0-0:i386
The following packages will be upgraded:
libgtk2.0-0:i386
1 to upgrade, 1 to newly install, 0 to remove and 6 not to upgrade.
6 not fully installed or removed.
Need to get 0 B/2,054 kB of archives.
After this operation, 396 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 326984 files and directories currently installed.)
Preparing to unpack .../libgtk2.0-0_2.24.31-1ubuntu1_i386.deb ...
Unpacking libgtk2.0-0:i386 (2.24.31-1ubuntu1) over (2.24.30-1ubuntu1) ...
dpkg: error processing archive
/var/cache/apt/archives/libgtk2.0-0_2.24.31-1ubuntu1_i386.deb (--unpack):
trying to overwrite shared
'/usr/share/doc/libgtk2.0-0/changelog.Debian.gz', which is different
from other instances of package libgtk2.0-0:i386
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
Errors were encountered while processing:
/var/cache/apt/archives/libgtk2.0-0_2.24.31-1ubuntu1_i386.deb
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Richard Kettlewell
2017-07-26 21:59:46 UTC
Permalink
Post by RobH
Preparing to unpack .../libgtk2.0-0_2.24.31-1ubuntu1_i386.deb ...
Unpacking libgtk2.0-0:i386 (2.24.31-1ubuntu1) over (2.24.30-1ubuntu1) ...
dpkg: error processing archive
/var/cache/apt/archives/libgtk2.0-0_2.24.31-1ubuntu1_i386.deb
trying to overwrite shared
'/usr/share/doc/libgtk2.0-0/changelog.Debian.gz', which is different
from other instances of package libgtk2.0-0:i386
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
/var/cache/apt/archives/libgtk2.0-0_2.24.31-1ubuntu1_i386.deb
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What does
dpkg -l libgtk2.0-0 libpango-1.0-0
show?

My current best guess is that at some point in the process you installed
one or more packages from 16.10, and are now running into the conflicts
this generates.
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-27 09:05:16 UTC
Permalink
Post by Richard Kettlewell
dpkg -l libgtk2.0-0 libpango-1.0-0
shows this:

dpkg -l libgtk2.0-0 libpango-1.0-0
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
iF libgtk2.0-0:am 2.24.31-1ubu amd64 GTK+ graphical user
interface lib

iU libgtk2.0-0:i3 2.24.30-1ubu i386 GTK+ graphical user
interface lib

ii libpango-1.0-0 1.40.4-1 amd64 Layout and rendering of
internati

in libpango-1.0-0 <none> i386 (no description available)

As I said earlier, I have libgtk2.0-0_2.24.31-2_i386, but not able to
install
Richard Kettlewell
2017-07-27 09:21:28 UTC
Permalink
Post by RobH
iU libgtk2.0-0:i3 2.24.30-1ubu i386 GTK+ graphical user
interface lib
That version is from 16.04. Remove it, and anything that depends on it,
and try using apt-get to install the correct version.

Apply similar logic to anything else you find from 16.04; use
https://packages.ubuntu.com to map package names and versions back to
release.
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-27 12:39:37 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
iU libgtk2.0-0:i3 2.24.30-1ubu i386 GTK+ graphical user
interface lib
That version is from 16.04. Remove it, and anything that depends on it,
and try using apt-get to install the correct version.
Apply similar logic to anything else you find from 16.04; use
https://packages.ubuntu.com to map package names and versions back to
release.
Thanks, but how do I remove the said version. Is there a correct way or
is it just right click and move to wastebin
Jonathan N. Little
2017-07-27 13:12:26 UTC
Permalink
Post by RobH
Post by Richard Kettlewell
Post by RobH
iU libgtk2.0-0:i3 2.24.30-1ubu i386 GTK+ graphical user
interface lib
That version is from 16.04. Remove it, and anything that depends on it,
and try using apt-get to install the correct version.
Apply similar logic to anything else you find from 16.04; use
https://packages.ubuntu.com to map package names and versions back to
release.
Thanks, but how do I remove the said version. Is there a correct way or
is it just right click and move to wastebin
sudo apt-get purge <package name>

and then use apt-get to install and you will get the correct version
this time.
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Richard Kettlewell
2017-07-27 13:18:12 UTC
Permalink
Post by RobH
Post by Richard Kettlewell
Post by RobH
iU libgtk2.0-0:i3 2.24.30-1ubu i386 GTK+ graphical user
interface lib
That version is from 16.04. Remove it, and anything that depends on it,
and try using apt-get to install the correct version.
Apply similar logic to anything else you find from 16.04; use
https://packages.ubuntu.com to map package names and versions back to
release.
Thanks, but how do I remove the said version. Is there a correct way
or is it just right click and move to wastebin
apt-get remove libgtk2.0-0:i386
or
dpkg --remove libgtk2.0-0:i386
but in the latter case you will need to remove any that depends on it
manually.
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-27 15:52:08 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
Post by Richard Kettlewell
Post by RobH
iU libgtk2.0-0:i3 2.24.30-1ubu i386 GTK+ graphical user
interface lib
That version is from 16.04. Remove it, and anything that depends on it,
and try using apt-get to install the correct version.
Apply similar logic to anything else you find from 16.04; use
https://packages.ubuntu.com to map package names and versions back to
release.
Thanks, but how do I remove the said version. Is there a correct way
or is it just right click and move to wastebin
apt-get remove libgtk2.0-0:i386
or
dpkg --remove libgtk2.0-0:i386
but in the latter case you will need to remove any that depends on it
manually.
I have the synaptic package manager installed and I have uninstalled
both libgtk and libgdk libraires as well as any dependencies

Now as I look for i386 versions of the said lib files in the package
manager , there is libgtk-3-0:i386, and the version number is
3.22.11-0ubuntu3.

In the x86_64-linux-gnu directory the libgtk-3.so.0, with no version number.

And for libpango in the x86_64 directory it is just libpango-1.0.so.0,
and there is libpango -1.0.so.0.4000.4

In the packager manger of i386, there is libpango-1.0-0:i386.

Will either or non of the above in package manager be ok to install.
RobH
2017-07-27 15:57:30 UTC
Permalink
Post by RobH
Post by Richard Kettlewell
Post by RobH
Post by Richard Kettlewell
Post by RobH
iU libgtk2.0-0:i3 2.24.30-1ubu i386 GTK+ graphical user
interface lib
That version is from 16.04. Remove it, and anything that depends on it,
and try using apt-get to install the correct version.
Apply similar logic to anything else you find from 16.04; use
https://packages.ubuntu.com to map package names and versions back to
release.
Thanks, but how do I remove the said version. Is there a correct way
or is it just right click and move to wastebin
apt-get remove libgtk2.0-0:i386
or
dpkg --remove libgtk2.0-0:i386
but in the latter case you will need to remove any that depends on it
manually.
I have the synaptic package manager installed and I have uninstalled
both libgtk and libgdk libraires as well as any dependencies
Now as I look for i386 versions of the said lib files in the package
manager , there is libgtk-3-0:i386, and the version number is
3.22.11-0ubuntu3.
In the x86_64-linux-gnu directory the libgtk-3.so.0, with no version number.
And for libpango in the x86_64 directory it is just libpango-1.0.so.0,
and there is libpango -1.0.so.0.4000.4
In the packager manger of i386, there is libpango-1.0-0:i386.
Will either or non of the above in package manager be ok to install.
I have tried just installing the libpango lib file from the cmd line and
it won't install because :
E: /var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb: trying to
overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz', which is
different from other instances of package libpango-1.0-0:i386
Richard Kettlewell
2017-07-27 16:27:08 UTC
Permalink
Post by RobH
I have the synaptic package manager installed and I have uninstalled
both libgtk and libgdk libraires as well as any dependencies
Now as I look for i386 versions of the said lib files in the package
manager , there is libgtk-3-0:i386, and the version number is
3.22.11-0ubuntu3.
That’s a different package, (probably) not relevant to any of this
discussion.
Post by RobH
In the x86_64-linux-gnu directory the libgtk-3.so.0, with no version number.
And for libpango in the x86_64 directory it is just libpango-1.0.so.0,
and there is libpango -1.0.so.0.4000.4
Version numbers of .so files are not closely related to version numbers
of packages.
Post by RobH
In the packager manger of i386, there is libpango-1.0-0:i386.
Will either or non of the above in package manager be ok to install.
Use apt-get to install the packages you actually need. If you run into
new instances of the problems we’ve seen before, re-apply the same logic
already posted; if you run into new problems, post here.
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-27 16:55:53 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
I have the synaptic package manager installed and I have uninstalled
both libgtk and libgdk libraires as well as any dependencies
Now as I look for i386 versions of the said lib files in the package
manager , there is libgtk-3-0:i386, and the version number is
3.22.11-0ubuntu3.
That’s a different package, (probably) not relevant to any of this
discussion.
Post by RobH
In the x86_64-linux-gnu directory the libgtk-3.so.0, with no version number.
And for libpango in the x86_64 directory it is just libpango-1.0.so.0,
and there is libpango -1.0.so.0.4000.4
Version numbers of .so files are not closely related to version numbers
of packages.
Post by RobH
In the packager manger of i386, there is libpango-1.0-0:i386.
Will either or non of the above in package manager be ok to install.
Use apt-get to install the packages you actually need. If you run into
new instances of the problems we’ve seen before, re-apply the same logic
already posted; if you run into new problems, post here.
I have tried to install the libpango-1.0-0:i386 file by sudo apt-get
install, and it returned this:

Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
Errors were encountered while processing:
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What it seems like is that the libfile won't install because a NEWS.gz
can't be over written.
I've checked the i386 directory and it is not installed.
Richard Kettlewell
2017-07-27 17:50:36 UTC
Permalink
Post by RobH
I have tried to install the libpango-1.0-0:i386 file by sudo apt-get
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What it seems like is that the libfile won't install because a NEWS.gz
can't be over written.
I've checked the i386 directory and it is not installed.
We’ve done this one twice now already. You have the amd64 libpango-1.0-0
installed as some other version. The solution is the same as the last
two times.
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-27 19:02:53 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
I have tried to install the libpango-1.0-0:i386 file by sudo apt-get
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What it seems like is that the libfile won't install because a NEWS.gz
can't be over written.
I've checked the i386 directory and it is not installed.
We’ve done this one twice now already. You have the amd64 libpango-1.0-0
installed as some other version. The solution is the same as the last
two times.
I'm not following you very well now.
Are saying that the libpango file I am trying to install is a x64 bit
version, as the x86_64 file is libpango-1.0.so.0.4000.4, and so is the
i386 version which I have.

I grabbed that deb file from here:

https://packages.ubuntu.com/zesty/libs/libpango-1.0-0,

then selected the i386 version.

Then sudo apt-get install libpango-1.0-0:i386, but it won't install due
to the same reason as before in that the NEWS.gz is write protected.

I don't understand what else is wrong.

Thanks
Richard Kettlewell
2017-07-27 20:12:26 UTC
Permalink
Post by RobH
Post by Richard Kettlewell
Post by RobH
I have tried to install the libpango-1.0-0:i386 file by sudo apt-get
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What it seems like is that the libfile won't install because a NEWS.gz
can't be over written.
I've checked the i386 directory and it is not installed.
We’ve done this one twice now already. You have the amd64 libpango-1.0-0
installed as some other version. The solution is the same as the last
two times.
I'm not following you very well now.
Are saying that the libpango file I am trying to install is a x64 bit
version, as the x86_64 file is libpango-1.0.so.0.4000.4, and so is the
i386 version which I have.
You already have the 64-bit version of libpango-1.0-0 installed. If you
install both the 32-bit and 64-bit versions of a package, then (in
practice) they have to be the same version.

If they do not match then either the installed, 64-bit version is out of
date, or you have contrived to install a version from some other version
of Ubuntu.
Post by RobH
https://packages.ubuntu.com/zesty/libs/libpango-1.0-0,
then selected the i386 version.
There’s no need to download the debs manually. Just use apt-get.
Post by RobH
Then sudo apt-get install libpango-1.0-0:i386, but it won't install
due to the same reason as before in that the NEWS.gz is write
protected.
I don't understand what else is wrong.
It is not write-protected. Read the error message more carefuly.
--
http://www.greenend.org.uk/rjk/
RobH
2017-07-28 16:49:48 UTC
Permalink
Post by Richard Kettlewell
Post by RobH
Post by Richard Kettlewell
Post by RobH
I have tried to install the libpango-1.0-0:i386 file by sudo apt-get
Preparing to unpack .../libpango-1.0-0_1.40.4-1_i386.deb ...
Unpacking libpango-1.0-0:i386 (1.40.4-1) ...
dpkg: error processing archive
trying to overwrite shared '/usr/share/doc/libpango-1.0-0/NEWS.gz',
which is different from other instances of package libpango-1.0-0:i386
/var/cache/apt/archives/libpango-1.0-0_1.40.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What it seems like is that the libfile won't install because a NEWS.gz
can't be over written.
I've checked the i386 directory and it is not installed.
We’ve done this one twice now already. You have the amd64 libpango-1.0-0
installed as some other version. The solution is the same as the last
two times.
I'm not following you very well now.
Are saying that the libpango file I am trying to install is a x64 bit
version, as the x86_64 file is libpango-1.0.so.0.4000.4, and so is the
i386 version which I have.
You already have the 64-bit version of libpango-1.0-0 installed. If you
install both the 32-bit and 64-bit versions of a package, then (in
practice) they have to be the same version.
It was this that put me on the right track. I just made sure that both
the x64 and i386 versions were the same.
Post by Richard Kettlewell
If they do not match then either the installed, 64-bit version is out of
date, or you have contrived to install a version from some other version
of Ubuntu.
Post by RobH
https://packages.ubuntu.com/zesty/libs/libpango-1.0-0,
then selected the i386 version.
There’s no need to download the debs manually. Just use apt-get.
Post by RobH
Then sudo apt-get install libpango-1.0-0:i386, but it won't install
due to the same reason as before in that the NEWS.gz is write
protected.
Post by Richard Kettlewell
I don't understand what else is wrong.
It is not write-protected. Read the error message more carefuly.
No it wasn't write protected , I mistakenly thought was as only the
writer had read and write access.

I have now matched all the x64 and i386 library files with the exact
same version number, which meant updating some of the x64 bit files, so
that the i386 version was the same.

Thanks for your help, as the x32 bit program is running now.

Continue reading on narkive:
Loading...