CentOS PM Import is failing: Failed to import software packages information for: 'CentOS Linux 7 Updates (for 64-bit)'
search cancel

CentOS PM Import is failing: Failed to import software packages information for: 'CentOS Linux 7 Updates (for 64-bit)'

book

Article ID: 173043

calendar_today

Updated On:

Products

Patch Management Solution for Linux

Issue/Introduction

When running a CentOS Metadata Import Task, it fails if the CentOS Linux 7 (for 64-bit) channel is selected.
 

Warning 1:
Date: 11/16/2018 11:46:21 AM, Tick Count: 1460368593 (16.21:39:28.5930000), 
Host Name: [NS HostName], Size: 4.02 KB Process: AtrsHost (2540), Thread ID: 133, Module: Altiris.PatchManagementCore.dll
Priority: 2, Source: Altiris.PatchManagementCore.Utilities.TaskHelper.HandleTaskException

Failed to import channel packages: ea4d3a3a-bbf2-4c0b-bf93-3ad6a33d5f60

Object reference not set to an instance of an object.
   [System.NullReferenceException @ Altiris.PatchManagementLinux]
   at Altiris.PatchManagementLinux.Yum.PackagesRepository.PreparePackageList(XmlNode root, XmlNamespaceManager xnm, Int32& packagesCount, ICollection`1& keys)
   at Altiris.PatchManagementLinux.Yum.PackagesRepository.PreparedImport.Get(PackagesRepository repo, XmlNode root, XmlNamespaceManager xnm)
   at Altiris.PatchManagementLinux.Yum.PackagesRepository.Prepare4Import()
   at Altiris.PatchManagementLinux.Yum.PackagesRepository.ImportPackages()
   at Altiris.PatchManagementLinux.SoftwareRepository.ImportPackages()

______________________________________________________________________________

Error 1:
Date: 11/16/2018 11:46:21 AM, Tick Count: 1460368593 (16.21:39:28.5930000), 
Host Name: [NS HostName], Size: 416 B Process: AtrsHost (2540), Thread ID: 133, Module: Altiris.PatchManagementLinux.dll
Priority: 1, Source: Altiris.PatchManagementLinux.SoftwareRepository.ImportPackages
Failed to import software packages information for: 'CentOS Linux 7 Updates (for 64-bit)' (ea4d3a3a-bbf2-4c0b-bf93-3ad6a33d5f60)

______________________________________________________________________________

Warning 2:
Date: 11/16/2018 11:46:47 AM, Tick Count: 1460394640 (16.21:39:54.6400000), 
Host Name: [NS HostName], Size: 3.71 KB Process: AtrsHost (2540), Thread ID: 133, Module: Altiris.PatchManagementCore.dll
Priority: 2, Source: Altiris.PatchManagementCore.Utilities.TaskHelper.HandleTaskException

Failed to import channel bulletins: 'CentOS Linux 7 Updates (for 64-bit)' (ea4d3a3a-bbf2-4c0b-bf93-3ad6a33d5f60)

Channel skipped because of failed packages: 'CentOS Linux 7 Updates (for 64-bit)' (ea4d3a3a-bbf2-4c0b-bf93-3ad6a33d5f60)
   [Altiris.PatchManagementCore.Tasks.SkippedChannelException @ 
Altiris.PatchManagementLinux]
   at Altiris.PatchManagementLinux.SoftwareRepository.ImportBulletins()

Environment

Confirmed in 8.1 RU6, 8.1 RU7,  and 8.5

Cause


 

Resolution

A point-fix is available for 8.1 RU6, and can be downloaded from CUMULATIVE POST 8.1 RU6 POINT FIXES