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

Share this Article :

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 :

[[email protected] ~]# yum install yum-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: centos.ipserverone.com
 * base: centos.ipserverone.com
 * extras: centos.ipserverone.com
 * updates: centos.ipserverone.com
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
==========================================================================================
Installing:
 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

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

Complete!

2. Run Below command :

[[email protected] ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors


5 Comments

  1. Cruse
  2. suraj
  3. suraj
  4. RD

Leave a Reply