LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-19-2014, 06:25 PM   #1
arthoc
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Rep: Reputation: Disabled
I broke my package manager / broken package blocks installs [Debian Wheezy]


Some console-output says it all - I can't install anything after I tried to install librePlan @ Debian Wheezy and am pretty much stuck here. Anyone knows what's happening and how to fix this?

Thanks in advance!

Code:
root@debian:/var/lib/dpkg/info# apt-get install python-software-properties
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package libreplan needs to be reinstalled, but I can't find an archive for it.


root@debian:/var/lib/dpkg/info# dpkg --remove libreplan
dpkg: error processing libreplan (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 libreplan

root@debian:/var/lib/dpkg/info# dpkg --purge libreplan
dpkg: error processing libreplan (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 libreplan

root@debian:/var/lib/dpkg/info# apt-get remove --purge libreplan
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package libreplan needs to be reinstalled, but I can't find an archive for it.

root@debian:/home# dpkg --force-depends --install libreplan_1.3.0-1_amd64.deb
(Reading database ... 82694 files and directories currently installed.)
Preparing to replace libreplan 1.3.0-1 (using libreplan_1.3.0-1_amd64.deb) ...
Unpacking replacement libreplan ...
dbconfig-common: flushing administrative password
dpkg: warning: subprocess old post-removal script returned error exit status 10
dpkg: trying script from the new package instead ...
dbconfig-common: flushing administrative password
dpkg: error processing libreplan_1.3.0-1_amd64.deb (--install):
 subprocess new post-removal script returned error exit status 10
dbconfig-common: flushing administrative password
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 10
Errors were encountered while processing:
 libreplan_1.3.0-1_amd64.deb

root@debian:/var/lib/dpkg/info# ls libreplan.*
libreplan.conffiles  libreplan.config  libreplan.list  libreplan.md5sums  libreplan.postinst  libreplan.postrm  libreplan.prerm
root@debian:/var/lib/dpkg/info# nano libreplan.conffiles
root@debian:/var/lib/dpkg/info# nano libreplan.config
root@debian:/var/lib/dpkg/info# sudo dpkg --list | grep libreplan
iHR libreplan                             1.3.0-1                       amd64        Web application for project planning, monitoring and control.

apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package libreplan needs to be reinstalled, but I can't find an archive for it.
 
Old 06-19-2014, 06:33 PM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,882

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
It doesn't appear to be available for Wheezy.
Which (incompatible) version did you install, and how?
 
Old 06-20-2014, 02:12 AM   #3
arthoc
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
I installed libreplan 1.3.0-1 as deb from an slightly older mirror and the installation corrupted.

I figured it out, though. If you edit the "/var/lib/dpkg/status"-file and remove the entry for the corrupted package, in my case libreplan, dpkg ignores the error. This probably leaves some unused junk in the file-system - but it works!
 
Old 06-20-2014, 02:34 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,882

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
.deb is merely a packaging format and in no way means that the package is compatible with your system.

You will note that the packages for the different Ubuntu releases and the Squeeze one are all .deb files.

The differences are that they will all be compiled against the different base libs in each target OS and will have different dependencies according to what is available in each, as well a probably different install scripts for the different environments.

Last edited by descendant_command; 06-20-2014 at 02:35 AM.
 
Old 06-20-2014, 04:57 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
There appears to be no version of libreplan for Wheezy. Debian support appears to have ended with Squeeze. (Debian 6). There's nothing later than a version for Ubuntu 12.10 on the Libreplan website. Perhaps this project has been abandoned?
jdk
 
  


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
[SOLVED] Broken package manager... datahead8888 Ubuntu 9 05-19-2014 10:12 PM
LXer: File under 'disturbing': Debian Wheezy doesn't ship with the Synaptic Package Manager LXer Syndicated Linux News 1 08-22-2012 08:03 AM
ia32-lib-firefox does not exist, package manager broken fakie_flip Ubuntu 0 10-13-2007 11:57 AM
Synaptic Package Manager/Add applications broken LadyArtemis Ubuntu 7 05-07-2006 02:30 AM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration