InfoScale patches fail to install due to yum repodata

book

Article ID: 100048290

calendar_today

Updated On:

Description

Error Message

# yum grouplist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Error: No group data available for configured repositories

 

Installing Veritas InfoScale using yum

You can install Veritas InfoScale using the Red Hat Enterprise operating system yum interface.

 

To install Veritas InfoScale using yum:

Configure a yum repository on a client system.

  1. Create a .repo file under /etc/yum.repos.d/.

    An example of this
    .repo file for Veritas InfoScale is:

# cat /etc/yum.repos.d/veritas_infoscale7.repo
[repo-Veritas InfoScale]
name=Repository for Veritas InfoScale
baseurl=file:///path/to/repository/
enabled=1
gpgcheck=1
gpgkey=file:///path/to/repository/RPM-GPG-KEY-veritas-infoscale7
 

The values for the baseurl attribute can start with http://, ftp://, or file:///.

The URL you choose needs to be able to access the repodata directory.

It also needs to access all the Veritas InfoScale RPMs in the repository that you create or update.

2. Run the following commands to get the yum repository updated:

# yum repolist

# yum updateinfo
 

Check the yum group information:

# yum grouplist | grep 7.4.1   
AVAILABILITY7.4.1   
ENTERPRISE7.4.1
  
FOUNDATION7.4.1
  
STORAGE7.4.1


# yum groupinfo AVAILABILITY7.4.1  

# yum groupinfo FOUNDATION7.4.1  

# yum groupinfo STORAGE7.4.1  

# yum groupinfo ENTERPRISE7.4.1

 

3. Check the yum configuration. List Veritas InfoScale RPMs.
 

# yum list 'VRTS*'
Available Packages
VRTSperl.x86_64        5.16.1.4-RHEL5.2           
VRTSsfcpi.noarch       7.4.1.0.000-GENERIC      
VRTSvlic.x86_64        3.02.7.4.1.010-0   

      The Veritas InfoScale RPMs may not be visible immediately if:

The repository was visited before the Veritas InfoScale RPMs were added, and the local cache of its metadata has not expired.

To eliminate the local cache of the repositories' metadata and get the latest information from the specified baseurl, run the following commands:

# yum clean expire-cache

# yum list 'VRTS*'

Refer to the Red Hat Enterpirse Linux Deployment Guide for more information on yum repository configuration.

 

4. Install the RPMs on the target systems.

  • To install all the RPMs

1.

Specify each RPM name as its yum equivalent. For example:

# yum install VRTSvlic VRTSperl ... VRTSsfcpi

2.

Specify all of the Veritas InfoScale RPMs using its RPM glob. For example:

# yum install 'VRTS*'

3.

Specify the group name if a group is configured for Veritas InfoScale's RPMs. This name should keep consistency with the one in xml file. In this example, the group name is ENTERPRISE7.4.1:

# yum install @ENTERPRISE7.4.1

Or

# yum groupinstall -y ENTERPRISE7.4.1

 

 

Cause

Even though the repodata is present in the patch bundle directory, the yum grouplist command does not list any ENTERPRISE yum groups as outlined in the README file.


Resolution

When using yum repodata for installing a patch:

   a. Run the following commands to refresh the YUM repository :

      # yum repolist
      # yum updateinfo

 

   b. Run the following command to update the patches:

      # yum upgrade VRTS*

 

 

Issue/Introduction

When trying to install an InfoScale patch bundle using the yum installer, it may fail. The Veritas InfoScale bundle patch is created with the required repodata and is also enabled for installation using the yum interface. However, it gives errors as shown below: