How to Fix “You could try using –skip-broken to work around the problem” Error

Question :
When I issue the command yum on CentOS server / RHEL , the message below appears and I can not continue with the next installation steps :

    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.

Answer : You just need to run below command to install the yum utilities if never installed and cleaning up list of fastest mirrors:
1. Run Yum install :

[root@server ~]# yum install yum-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons:
 * base:
 * extras:
 * updates:
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.16-14.el5.centos.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

 Package            Arch            Version                           Repository     Size
 yum-utils          noarch          1.1.16-14.el5.centos.1            base           69 k

Transaction Summary
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 69 k
Is this ok [y/N]: y
Downloading Packages:
yum-utils-1.1.16-14.el5.centos.1.noarch.rpm                        |  69 kB     00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : yum-utils                                                          1/1

  yum-utils.noarch 0:1.1.16-14.el5.centos.1


2. Run Below command :

[root@server ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors

6 Replies to “How to Fix “You could try using –skip-broken to work around the problem” Error”

Leave a Reply

Your email address will not be published. Required fields are marked *