apt-get error fixed
Written by Mohd Izuardi Ibrahim   
Thursday, 28 September 2006

The situation: I was searching for a new lite version of java IDE to works with my kanotix box on the internet when suddenly i stumbled up with jEdit. So i decided to try the software . After browsing the packages.debian.org, i perform the apt-get operation to download and install jEdit. Unfortunately it is somehow corrupted, and it affect my apt-get command too!

 

The Problem: Everytime I tried to perform upgrade/installation/whatsover using apt-get, it really pissed me off with this message:

 

Reading package lists... Done
Building dependency tree... Done
E: The package jedit needs to be reinstalled, but I can't find an archive for it 



The Solution: Force uninstall it using this command in terminal:

 

root@localhost:~# dpkg --force-all -r jedit



And here's the output:

 

root@localhost:~# dpkg --force-all -r jedit
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ...
dpkg: serious warning: files list file for package `jedit' missing, assuming package has no files currently installed.
160172 files and directories currently installed.)
Removing jedit ...



Viola! My apt-get works!!
Supposedly this will work on any other packages too =)

 

Comments (0)Add Comment

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley

busy