With CentOS 6 channels enabled in Patch Management the error "The remote server returned an error: (404) Not Found" is seen in the logs and PMImport fails to complete
search cancel

With CentOS 6 channels enabled in Patch Management the error "The remote server returned an error: (404) Not Found" is seen in the logs and PMImport fails to complete

book

Article ID: 208794

calendar_today

Updated On:

Products

Server Management Suite Patch Management Solution

Issue/Introduction

When enabling the CentOS 6 channels in Patch Management and attempting to run PMImport, errors similar to the following are seen in the a.log files of the SMP:

Severity: 1
Date: 2/18/2021 4:52:16 PM
Tick Count: 20036328
Host Name: <hostname>
Process: AtrsHost (16412)
Thread: 88
Module: Altiris.PatchManagementLinux.dll
Source: Altiris.PatchManagementLinux.SoftwareRepository.Import
Description: Failed to import software metadata information

Severity: 2
Date: 2/18/2021 4:52:16 PM
Tick Count: 20036328
Host Name: <hostname>
Process: AtrsHost (16412)
Thread: 88
Module: Altiris.PatchManagementCore.dll
Source: PMC:SoftwareRepository.DownloadWithHashCheck
Description: Can't download: http://mirror.centos.org/centos//6/updates/i386/repodata/0733b86e53ee80de478e6a87e28127d3ee8a7fb36b0b27459fe86dc5967380f9-filelists.xml.gz

Severity: 1
Date: 2/18/2021 4:52:16 PM
Tick Count: 20036328
Host Name: <hostname>
Process: AtrsHost (16412)
Thread: 88
Module: Altiris.PatchManagementCore.dll
Source: PMC:SoftwareRepository.DownloadFile
Description: Download failed for 'http://mirror.centos.org/centos//6/updates/i386/repodata/0733b86e53ee80de478e6a87e28127d3ee8a7fb36b0b27459fe86dc5967380f9-filelists.xml.gz'. The remote server returned an error: (404) Not Found.

Environment

ITMS 8.x 

Cause

NOTE: CentOS 6 is no longer supported. Existing CentOS 6 data may block the process of patching. To clean up obsolete data, do the following:
     1) Uncheck the channels for CentOS 6.
     2) Run Import Patch Data task with the option Delete data for excluded software channels checked.
     3) [optional] Click Refresh to update the channels list.
     4) [optional] Run Check Software Update Package Integrity task to delete obsolete packages.

Resolution

After shortening the URL several times the URL was able to resolve with the following README file present:

http://mirror.centos.org/centos//6/readme

The readme file includes the following:

This directory (and version of CentOS) is deprecated. Please see this FAQ
concerning the CentOS release scheme:
https://wiki.centos.org/FAQ/General
Please keep in mind that 6.0, 6.1, 6.2, 6.3, 6.4 , 6.5, 6.6, 6.7, 6.8 , 6.9 and 6.10 no longer get any updates, nor
any security fix's.
The whole CentOS 6 is *dead* and *shouldn't* be used anywhere at *all*

To resolve this uncheck the CentOS 6 channels as PMImport fails to run when these are checked.