LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-25-2006, 04:34 PM   #1
woodbase
LQ Newbie
 
Registered: Oct 2004
Location: Denmark
Distribution: Fedora Core 5
Posts: 10

Rep: Reputation: 0
Exclamation Package needs re-installation, but package cannot be found


I tried to install jEdit from their deb-package on edubuntu (Ubuntu), but an error occured during the installation. Now I can't run updates or anything, because this broken package is blocking it all.

How can I possibly remove it?


//My system is running in danish see translation below
E: Pakken jedit skal geninstalleres, men jeg kan ikke finde noget arkiv med den.
E: Internal error opening cache (1). Please report.

//International
E: The package jedit needs to be re-installed, but I can't find any archive with it
E: Internal error opening cache (1). Please report.

Is there anyone who can get me out of this mess?

http://images.linuxquestions.org/que...ies/newbie.gif
 
Old 09-25-2006, 04:47 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Use dpkg --get-selections | grep -i jedit to find the right package. Then you can try dpkg -P jedit (I'm guessing at the package name). This should purge the package using dpkg.
 
Old 09-25-2006, 05:08 PM   #3
woodbase
LQ Newbie
 
Registered: Oct 2004
Location: Denmark
Distribution: Fedora Core 5
Posts: 10

Original Poster
Rep: Reputation: 0
Thumbs down

I'm afraid not:

dpkg: error during handling jedit (--purge):
Package is in a very poor, inconsistant state - You should re-install it, before You try to uninstall it.
An error occured during handling of:
jedit
 
Old 09-26-2006, 12:30 PM   #4
woodbase
LQ Newbie
 
Registered: Oct 2004
Location: Denmark
Distribution: Fedora Core 5
Posts: 10

Original Poster
Rep: Reputation: 0
Talking

Problem solved:

sudo dpkg --remove --force-remove-reinstreq jedit

I don't know exactly how it works, so if someone would spent a minute to explain that would be GREAT.

However I tried it and it fixed my problem.
 
Old 09-26-2006, 01:07 PM   #5
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by woodbase
sudo dpkg --remove --force-remove-reinstreq jedit
Reading the man page (i.e. man dpkg basically says you're using the low-level debian package manager, dpkg, to remove a file (but leave the config files) and forcefully remove the package jedit, even though it requires a reinstall. Typically dpkg won't remove a package requiring a reinstall because you might leave parts of the package on the system.

From man dpkg
Quote:
remove-reinstreq: Remove a package, even if it's broken and marked to require reinstallation. This may, for example, cause parts of the package to remain on the system, which will then be forgotten by dpkg.
You can probably clean it up with deborphan if needed.

Last edited by pljvaldez; 09-26-2006 at 01:08 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSuse installation; package was not found! reza Suse/Novell 2 08-02-2006 09:43 PM
Package not found on Medium taj Suse/Novell 1 07-14-2006 10:24 AM
Package gtkmm-2.4 was not found kahlil88 Linux - Software 1 01-26-2006 10:02 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
Package not found.. hammerstein02 Linux - Newbie 1 12-02-2002 05:35 PM


All times are GMT -5. The time now is 08:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration