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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-19-2014, 06:25 PM
|
#1
|
LQ Newbie
Registered: Mar 2014
Posts: 3
Rep:
|
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.
|
|
|
06-19-2014, 06:33 PM
|
#2
|
Senior Member
Registered: Mar 2012
Posts: 1,882
|
It doesn't appear to be available for Wheezy.
Which (incompatible) version did you install, and how?
|
|
|
06-20-2014, 02:12 AM
|
#3
|
LQ Newbie
Registered: Mar 2014
Posts: 3
Original Poster
Rep:
|
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!
|
|
|
06-20-2014, 02:34 AM
|
#4
|
Senior Member
Registered: Mar 2012
Posts: 1,882
|
.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.
|
|
|
06-20-2014, 04:57 AM
|
#5
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|