Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Aptitude stuck on sun-java5-bin

From: cothrige <cothrige(at)bellsouth.net>
Date: Sat Feb 09 2008 - 15:41:14 EST

I have managed to get myself in a bit of a bind regarding packages. Aptitude is reporting an error regarding an apparent half-finished upgrade to sun-java5-bin, and this has caused all things to stop. Unfortunately I have not found a way to resolve or work around this. Here is what has been coming back from any aptitude commands:

Preparing to replace sun-java5-bin 1.5.0-14-2 (using .../sun-java5-bin_1.5.0-14-2_i386.deb) ... sun-dlj-v1-1 license has already been accepted Unpacking replacement sun-java5-bin ...
/usr/share/icons/sun-java5.png is not a directory
dpkg: warning - old post-removal script returned error exit status 2 dpkg - trying script from the new package instead ...
/usr/share/icons/sun-java5.png is not a directory
dpkg: error processing /var/cache/apt/archives/sun-java5-bin_1.5.0-14-2_i386.deb (--unpack):  subprocess new post-removal script returned error exit status 2 sun-dlj-v1-1 license has already been accepted
/usr/share/icons/sun-java5.png is not a directory
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2 Errors were encountered while processing:  /var/cache/apt/archives/sun-java5-bin_1.5.0-14-2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

I don't know why it would expect that sun-java5.png would be a directory, but this has apparently led to some strange confusions. I have removed the sun-java5-bin debfile from cache just in case something may change with a new download, but it still resulted in the same complaints. I have also tried uninstalling the package, but it insists it must install it before removing it, and so that won't work either. I am not quite sure how to proceed here, and I am sure I am overlooking the obvious response simply because I am still a bit of a newb with apt.

Any ideas of what I may be able to do to get this resolved? Many thanks in advance,

Patrick

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sat Feb 9 15:40:19 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 12 2008 - 02:07:34 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library