LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ubuntu 5.10 -> 6.06: diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs (http://www.linuxquestions.org/questions/linux-software-2/ubuntu-5-10-6-06-diversion-of-usr-bin-ldd-to-usr-bin-ldd-amd64-by-ia32-libs-451371/)

HellSpawn 06-03-2006 11:10 PM

Ubuntu 5.10 -> 6.06: diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs
 
Hello!!

I just upgraded from Ubuntu 5.10 to 6.06 and encounter some problems with one package... I cannot get ia32-libs Upgraded, it keeps getting incomplete, not even 'apt-get remove' works... I tryed reinstalling the packege and tried Upgrading and removeing but still gets the same error...

So, right know I'm without OpenOffice wich depends on this packege... I'm stuck, I even tried booting from the Live CD with chroot

Code:

igor@ubuntu:~$ sudo apt-get install --fix-missing
Password:
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  ia32-libs
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 23.3MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 169153 files and directories currently installed.)
Removing ia32-libs ...
dpkg-divert: mismatch on divert-to
  when removing `diversion of /usr/bin/ldd to /usr/bin/ldd.ia32-libs by ia32-libs'  found `diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs'
dpkg: error processing ia32-libs (--remove):
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 ia32-libs
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code:

igor@ubuntu:~$ sudo apt-get remove ia32-libs
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  ia32-libs
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 23.3MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 169153 files and directories currently installed.)
Removing ia32-libs ...
dpkg-divert: mismatch on divert-to
  when removing `diversion of /usr/bin/ldd to /usr/bin/ldd.ia32-libs by ia32-libs'  found `diversion of /usr/bin/ldd to /usr/bin/ldd.amd64 by ia32-libs'
dpkg: error processing ia32-libs (--remove):
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 ia32-libs
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any Ideas??:scratch: :confused:

Thanks for your attention

HellSpawn 06-04-2006 06:37 PM

Here is my sources.list
Code:

deb-src http://ve.archive.ubuntu.com/ubuntu dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb-src http://ve.archive.ubuntu.com/ubuntu dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb-src http://ve.archive.ubuntu.com/ubuntu dapper universe

deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted

deb http://security.ubuntu.com/ubuntu/ dapper-security universe main restricted multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security universe

deb http://archive.ubuntu.com/ubuntu/ dapper multiverse universe main restricted
deb-src http://archive.ubuntu.com/ubuntu dapper multiverse

## Backports
# deb http://ubuntu-backports.mirrormax.net/ dapper-backports-staging main universe multiverse restricted
# deb http://ubuntu-backports.mirrormax.net/ dapper-extras-staging main universe multiverse restricted

deb cdrom:[Ubuntu 6.06 _Dapper Drake_ - Release amd64 (20060531)]/ dapper main restricted


HellSpawn 06-04-2006 10:18 PM

Got a solution... :D

I looked into my /var/libs/dpkg/status file and found this:

Code:

Package: ia32-libs
Status: deinstall ok half-installed
Priority: optional
Section: libs
Installed-Size: 22732
Maintainer: Bdale Garbee <bdale@gag.com>
Architecture: amd64
Version: 1.4ubuntu4
Config-Version: 1.4ubuntu4
Replaces: ia32-libs-openoffice.org
Depends: lsb-release, lib32gcc1, lib32z1
Description: ia32 shared libraries for use on amd64 and ia64 systems
 This package contains runtime libraries for the ia32/i386
 architecture, configured for use on an amd64 or ia64 Debian system running
 a 64-bit kernel.

So... I change it to:

Code:

Package: ia32-libs
Status: purge ok not-installed
Priority: optional
Section: libs
Architecture: amd64

And then I was able to install ia32-libs from Ubuntu 6.06 Dapper Drake :D
Then Installed uduntu-desktop, so OpenOffice is working again!!


All times are GMT -5. The time now is 10:25 PM.