Solution to Linux (centos) failure to update and install software error (prompt the program package-cleanup is found in the Yum-utils package)

Source: Internet
Author: User
About using Yum "The Program Package-cleanup is... when using yum, there is always a prompt: The program package-cleanup is found in the Yum-utils package. www.2cto.com or prompt: There are unfinished transactions remaining. you might consider running Yum-complete-transaction first to finish them. the program Yum-complete-transaction is found in the Yum-utils package.

The following is a solution (incorrect) provided on the Internet, but the solution is incorrect or failed after testing, because Yum cannot install any software normally at this time, so Yum-utils is also

Unable to install, so the following steps will be killed in the first step

Procedure: # Install Yum-complete-transaction Yum install Yum-utils # Run Yum-complete-transaction -- cleanup-only www.2cto.com # Clear possible duplicate package-cleanup -- dupes # Clear possible corrupted packages Package-cleanup -- Problems


Correct Solution

In fact, it's very easy. Just two steps to command everything. OK.

Run: Yum clean all
Then: rpm -- rebuilddb
Last: Yum update

Everything is OK!

Related Article

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.