Hey Guys,
I recently installed Kubuntu 6.06 to my desktop and everything has been working great for me.
Well, sort of.
I wanted to install all the common neccessities to my box so I went and got Automatix. Before you scream idiot, I didn't realize that Automatix was so...intrusive?
Well, I went ahead and used it and got a few things in there, unfortunately I was still missing a few apps I wanted, and a friend recommended I use a different installer (the name escapes me) and I went ahead and used that.
I managed to get everything I wanted and everything was all hunky dory.
I rebooted and I found myself with a problem. I couldn't install packages with apt, aptitude, or any other package manager.
I've narrowed it down to the package sun-java5-bin that is causing all the problems. However I can't figure out how to remove it!
I tried a apt-get remove but that didn't work
Code:
root@Phorin:~# apt-get remove sun-java5-bin
Reading package lists... Done
Building dependency tree... Done
E: The package sun-java5-bin needs to be reinstalled, but I can't find an archive for it.
root@Phorin:~#
I tried using aptitude to reinstall it
Code:
root@Phorin:~# aptitude reinstall sun-java5-bin
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been kept back:
kde-guidance libglib2.0-0 libglib2.0-dev zenity
The following packages will be REINSTALLED:
sun-java5-bin
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Error!
E: I wasn't able to locate a file for the sun-java5-bin package. This might mean you need to manually fix this package. (due to missing arch)
E: Couldn't lock list directory..are you root?
root@Phorin:~#
I even tried a dpkg --purge
Code:
root@Phorin:~# dpkg --purge sun-java5-bin
dpkg: error processing sun-java5-bin (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
sun-java5-bin
root@Phorin:~#
I asked #kubuntu on freenode about it, and all they recommended was a dpkg-reconfigure -a, which didn't solve this problem.
I can't install or remove packages, and I'm pretty sure it's this package that is the root of all my problems.
Any ideas?