Sunday, February 5, 2012

Deleting duplicate rpms error: "xyz" specifies multiple packages:

Problem Statement : How to remove duplicate rpms on the machine .

[root@vminstlnx64test11 ~]# rpm --nodeps -e gpfs.gpl-3.4.0-0.noarch
error: "gpfs.gpl-3.4.0-0.noarch" specifies multiple packages:
  gpfs.gpl-3.4.0-0.noarch
  gpfs.gpl-3.4.0-0.noarch
[root@vminstlnx64test11 ~]#

Solution : Use the command  "package-cleanup --cleandupes"

Note : If package-cleanup is not available of the machine .Install the  utility install yum-utils.noarch .

#yum -y install yum-utils.noarch




Search This Blog