Error: Packages - gnupg libassuan libksba nmap npth pinentry - are not available in the target repo during Usage Meter upgrade
search cancel

Error: Packages - gnupg libassuan libksba nmap npth pinentry - are not available in the target repo during Usage Meter upgrade

book

Article ID: 416529

calendar_today

Updated On:

Products

VMware Usage Meter

Issue/Introduction

During Usage Meter upgrade from 4.8 to 9.x, we get the following error. 

Error: Packages - gnupg libassuan libksba nmap npth pinentry - are not available in the target repo for OS upgrade. Please provide the correct repo having the required packages.
Original list of RPMs and RPM DB are stored in /tmp/photon-upgrade-KLo,  please provide contents of that folder along with system journal   logs for analysis; these logs can be captured using command-
# /usr/bin/journalctl -xa > /tmp/photon-upgrade-KLo/journal.log
Cannot continue. Aborting.

Environment

VMware Cloud Usage Meter 9.x

Cause

The partner has likely installed some packages, which explains why no suitable upgrade packages were found during the upgrade to 9.0, given that the upgrade repository is pre-defined. 

Resolution

  • Take a snapshot of Usage Meter Appliance.
  • SSH into the Usage Meter appliance as a root user.
  • Execute the following command for each package listed in the error:

bash

rpm -e --nodeps <package_name>

  • For your list, you would run,

bash

rpm -e --nodeps gnupg
rpm -e --nodeps libassuan
rpm -e --nodeps libksba
rpm -e --nodeps nmap
rpm -e --nodeps npth
rpm -e --nodeps pinentry