Saturday, May 19, 2012

The package jedit needs to be reinstalled, but I can’t find an archive for it

The package jedit needs to be reinstalled, but I can’t find an archive for it

August 10th, 2006 by Marius Hanganu in Tools I tried installing the .deb package for jedit. Big mistake :-). Not only that Ubuntu refused installing it, but it also brought my synaptic into an incosistent state: every time I started synaptic I was getting this error:
The package jedit needs to be reinstalled, but I can't find an archive for it
and then no package was displayed. One of the reasons I like Linux (Ubuntu) over Windows is apt and the synaptic interface. Imagine my desolation.
I tried various “apt-get remove jedit”, clean, autoclean options. No luck. Neither the guys on Ubuntu mailing list could help me out here. Tried removing it using dpkg and I got
dpkg: error processing jedit (--purge):

Package is in a very bad inconsistent state - you should reinstall it before

attempting a removal.

Errors were encountered while processing: jedit
But I finally got it working. This command forced the removal of my incosistent jedit package:
dpkg --remove --force-remove-reinstreq jedit

 
Update: after I managed to fix it and post this entry, I was finally pointed on ubuntu users mailing list to http://ubuntuforums.org/showthread.php?t=232849&highlight=jedit. Phew! lots of replies before the author figured the answer for himself.

No comments:

Post a Comment