Monitoring, Management & Location Tracking

Yum Install error while installing package on Airwave

Aruba Employee
Problem:

While using yum update to upgrade packages installed on Airwave server the following error might pop up:


#yum update -y

Loaded plugins: product-id, protectbase, rhnplugin, security, subscription manager:

Updating certificate-based repositories.

Unable to read consumer identity

0 packages excluded due to repository protections

Setting up Update Process

Resolving Dependencies

--> Running transaction check ...

<snip>



Diagnostics:

To resolve the above error the following 2 files must be edited:


/etc/yum/pluginconf.d/subscription-manager.conf
/etc/yum/pluginconf.d/product-id.conf
 



Solution

Use the vi text editor and type the following command:


# vi /etc/yum/pluginconf.d/product-id.conf
# vi /etc/yum/pluginconf.d/subscription-manager.conf

 

Set enabled to 0 as follows in both files:

[main]
enabled=0


Save and close the file. Finally, type the following command to clean cache:
rm -rfv /var/cache/yum/*
yum clean all


You can now install or update the system:
# yum install <packageNameHere>
OR
# yum -y update

Version history
Revision #:
2 of 2
Last update:
‎07-25-2016 04:02 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.