nanaban
February 14th, 2005, 09:05 AM
I followed the instructures here (http://www.ubuntulinux.org/wiki/Java15) to install java-ubuntu and sun-j2sdk1.5.0, but installation of j2sdk gave me an error.
I decided to remove everything but apt-get won't let me remove j2sdk.
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
sun-j2sdk1.5.0
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 140MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 87693 files and directories currently installed.)
Removing sun-j2sdk1.5.0 ...
rm: cannot remove `/usr/bin/idlj': No such file or directory
dpkg: error processing sun-j2sdk1.5.0 (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
sun-j2sdk1.5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have also tried the following:
reinstall
remove
remove completely
clean the cache
Any suggestion on what to do?
I decided to remove everything but apt-get won't let me remove j2sdk.
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
sun-j2sdk1.5.0
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 140MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 87693 files and directories currently installed.)
Removing sun-j2sdk1.5.0 ...
rm: cannot remove `/usr/bin/idlj': No such file or directory
dpkg: error processing sun-j2sdk1.5.0 (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
sun-j2sdk1.5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have also tried the following:
reinstall
remove
remove completely
clean the cache
Any suggestion on what to do?