LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-03-2006, 11:10 PM   #1
HellSpawn
Member
 
Registered: Jan 2005
Location: Venezuela
Distribution: Ubuntu 5.10 64bits
Posts: 81

Rep: Reputation: 15
Unhappy 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??

Thanks for your attention

Last edited by HellSpawn; 06-03-2006 at 11:46 PM.
 
Old 06-04-2006, 06:37 PM   #2
HellSpawn
Member
 
Registered: Jan 2005
Location: Venezuela
Distribution: Ubuntu 5.10 64bits
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
Old 06-04-2006, 10:18 PM   #3
HellSpawn
Member
 
Registered: Jan 2005
Location: Venezuela
Distribution: Ubuntu 5.10 64bits
Posts: 81

Original Poster
Rep: Reputation: 15
Got a solution...

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
Then Installed uduntu-desktop, so OpenOffice is working again!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 09:30 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 02:02 AM
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 11:57 AM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 11:42 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 03:30 AM


All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration