Ubuntu under Apt-get installation file tip: Apt-get-f Install

Source: Internet
Author: User

Problem:

The following error occurred while installing the memory Test tool lmbench through Apt-get:

Apt-get Install Lmbench

Reading Package Lists ... Done

Building Dependency Tree

Reading state information ... Done

You might want-to-run ' apt-get-f install ' to correct these:

The following packages has unmet dependencies:

Mpt-status:depends:daemon but it isn't going to be


Installed

Depends:mailx

E:unmet dependencies. Try ' apt-get-f install ' with no packages


(or specify a solution).


Diagnosis:

Through the data lookup, it may be that the installation of other packages is not compatible, and according to the prompt need to execute "apt-get-f install" to uninstall the previous conflict package.

There is another command: aptitude-f install


Solve:

Execute the following command:

Aptitude-f Install

No packages would be installed, upgraded, or removed.

0 Packages upgraded, 0 newly installed, 0 to remove and 1 not


Upgraded.

Need to get 0 B of archives. After unpacking 0 B'll be used.

The following packages has unmet dependencies:

Mpt-status:depends:daemon but it isn't going to be


installed.

Depends:mailx which is a virtual package.

The following actions would resolve these dependencies:


Remove the following packages:

1) mpt-status




Accept this solution? [y/n/q/?] Y

Invalid response; Please enter one of the following commands:

Y:accept the proposed changes

N:reject the proposed changes and search for another solution

Q:give up and quit the program

.: Move to the next solution

,: Move to the previous solution

O:toggle between the contents of the solution and an


Explanation of the solution

E:examine the solution in the visual user interface

X:abort automatic dependency resolution; Resolve Dependencies


by hand instead

R (Id|pkg ver) ...: Reject the given package versions; Don ' t


Display any solutions in which they occur. Enter Uninst instead


of a version to reject

Removing the package. ID is the integer


Printed to the left of the action.

A (Id|pkg ver) ...: Accept the given package versions; Display


Only solutions in which they occur. Enter Uninst instead of a


Version to accept

Removing the package. ID is the integer


Printed to the left of the action.

<ID>: Display information about the action labeled ID from the


Solution. The label is the integer printed the


Action.

<ACTION> pkg ... : Adjust the state of the listed packages,


Where ACTION is one of:

' + ' to install packages

' +m ' to install packages and immediately flag them as


Automatically installed

'-' to remove packages

' _ ' to purge packages

' = ' to place packages on hold

': ' To keep packages in their current state without placing


them on hold

' &m ' to mark packages as automatically installed

' &m ' to mark packages as manually installed

Accept this solution? [y/n/q/?] Y

The following packages would be removed:

Mpt-status{a}

0 Packages upgraded, 0 newly installed, 1 to remove and 0 not


Upgraded.

Need to get 0 B of archives. After unpacking 89.1 KB would be


Freed.

Want to continue? [y/n/?] Y

dpkg:warning:parsing file '/var/lib/dpkg/status ' near line


13600 package ' storcli ':

Missing maintainer

(Reading database ... 97017 Files and directories currently


installed.)

removing mpt-status (1.2.0-4.2.HWRAID1) ...

Processing triggers for man-db (2.6.7.1-1UBUNTU1) ...

Current status:0 broken [-1], 0 updates [-1].


Then execute the apt-get install Lmbench.


This article is from the "Flying Pig" blog, please be sure to keep this source http://thinkpig007.blog.51cto.com/971471/1880908

Ubuntu under Apt-get installation file tip: Apt-get-f Install

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.