Linux - SoftwareThis 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.
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.
I am about to have a stroke. Saving the emotional respose that involves more explicatives than I'm willing to admit, here is what is going on:
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libhtml-parser-perl: Depends: perlapi-5.10.0 but it is not installable
libperl5.10: Depends: perl-base (= 5.10.0-13) but 5.8.8-12 is installed
perl: Depends: perl-base (= 5.10.0-13) but 5.8.8-12 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
From what I've read, broken packages behave in unique ways so what works to fix one may not work for another. In any event, has anyone had any experience with this? Thanks again.
If I recall correctly, 'sudo -i' might help maintain your sanity (it should act as if you logged into a root shell; just 'exit' to give up your superpowers).
Did you mix branches? (Etch + Lenny or something like that?)
"perlapi-5.10.0" might be "provided" by a package but is not an actual package, just as "editor" can be provided by vi, pico, emacs etc - the result being that 'apt' has no idea what to do if something depends on "editor" but there isn't actually an editor installed at the time. It looks like the key is to install "perl-base (= 5.10.0-13)"
sudo -i
[sudo] password for sinjin:
Ramius ~ # apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libhtml-parser-perl: Depends: perlapi-5.10.0 but it is not installable
libperl5.10: Depends: perl-base (= 5.10.0-13) but 5.8.8-12 is installed
perl: Depends: perl-base (= 5.10.0-13) but 5.8.8-12 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
Ramius ~ # apt-cache show perl-base|grep
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Ramius ~ # apt-cache show perl-base|grep Provides
Provides: perl5-base, perlapi-5.8.0, perlapi-5.8.1, perlapi-5.8.2, perlapi-5.8.3, perlapi-5.8.4, perlapi-5.8.6, perlapi-5.8.7, perlapi-5.8.8, libscalar-list-utils-perl
Ramius ~ # apt-get install perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
perl is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libhtml-parser-perl: Depends: perlapi-5.10.0 but it is not installable
libperl5.10: Depends: perl-base (= 5.10.0-13) but 5.8.8-12 is to be installed
perl: Depends: perl-base (= 5.10.0-13) but 5.8.8-12 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Ramius ~ #
Apparrently, there are required packages that are not installable. That's just fantastic.
In any event, thank you very much for the quick reply.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.