search cancel

offline installation package for SEP Linux agent installlation aborts

book

Article ID: 227734

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

Offline installation package for SEP Linux agent references repositories to update cache during installation

In case that 1) repositories are not accesseable and 2) repository configuration "skip_if_available" is set to "False", then installation aborts.

e.g.)

- dnf.log

2021-10-27T02:38:27Z DDEBUG Command: yum -y install /home/xxx/SEP/sdcss-scripts-2.2.4.47.el8.noarch.rpm 
2021-10-27T02:38:27Z DDEBUG Installroot: /
2021-10-27T02:38:27Z DDEBUG Releasever: 8.1
2021-10-27T02:38:27Z DEBUG cachedir: /var/cache/dnf
2021-10-27T02:38:27Z DDEBUG Base command: install
2021-10-27T02:38:27Z DDEBUG Extra commands: ['-y', 'install', '/home/xxx/SEP/sdcss-scripts-2.2.4.47.el8.noarch.rpm']
2021-10-27T02:38:27Z DEBUG repo: downloading from remote: rhel-8-for-x86_64-baseos-eus-rhui-rpms
2021-10-27T02:38:47Z DEBUG error: Curl error (6): Couldn't resolve host name for https://xxx/pulp/repos/content/eus/rhel8/rhui/8.1/x86_64/baseos/os/repodata/repomd.xml [Could not resolve host: xxx] (https://xxx/pulp/repos/content/eus/rhel8/rhui/8.1/x86_64/baseos/os/repodata/repomd.xml).
...
2021-10-27T02:39:27Z DEBUG Cannot download 'https://xxx/pulp/repos/content/eus/rhel8/rhui/8.1/x86_64/baseos/os, https://yyy/pulp/repos/content/eus/rhel8/rhui/8.1/x86_64/baseos/os, https://zzz/pulp/repos/content/eus/rhel8/rhui/8.1/x86_64/baseos/os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
2021-10-27T02:39:27Z ERROR Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-eus-rhui-rpms'
2021-10-27T02:39:27Z DDEBUG Cleaning up.
2021-10-27T02:39:27Z SUBDEBUG 

Environment

offline installation package for SEP Linux agent later than SEP 14.3RU1

Resolution

Confiugre "skip_if_available" option to "True" so that yum will not abort.