Apt-get-f Install repair failed!

Source: Internet
Author: User

The Android x86 development environment needs to download the Java Development environment and install Apt-get Install on Ubuntu9.10 systems SUN-JAVA6-JDK

My Ubuntu9.10 system prompts me not to sun-java6-jdk this source, so I implemented it by adding a deb package

Add-apt-repository "Deb Http://archive.canonical.com/lucid partner"

Because there was a problem with the installation, the last apt-get of the package dependencies was messed up by me.

There are many errors in the installation, the system prompts to use Apt-get-f install to fix, I used the apt-get-f install command to fix or error

E:unmet dependencies. Try ' apt-get–f install ' with no packages (or specify a solution).

Looking for a long time finally found a solution in the graphical interface to run synaptic, it will prompt you have damaged packages in the system, and then click the button "Custom Filter", select the broken, and mark it as remove, click the Apply button to

And then run Apt-get again install sun-java6-jdk OK

Sun-java6-jdk This bag is big, it's going to take a long time.

If the damaged package is not found in the damaged package option try:

cd/var/cache/apt/archives/

Dpkg--force-depends-i *

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.