When attempting the creation of SEP offline package in a Linux machine with older versions of SEP, using the -R flag along with the Linux installer, this process will fail.
Example:
Linux machine with SEP for Linux version 14.3 RU3 installed, and the user attempts to create an offline installation package of SEP for Linux 14.3 RU4, Linux machine details and SEP for Linux version is below:
[root@localhost ~]# hostnamectl
Static hostname: localhost.localdomain
Icon name: computer-vm
Chassis: vm
Machine ID: 8e2492ce91247a44a4c338d8a48ef359
Boot ID: 7a4aca0a13b845a3bdab7cf740445475
Virtualization: kvm
Operating System: Oracle Linux Server 7.8
CPE OS Name: cpe:/o:oracle:linux:7:8:server
Kernel: Linux 4.14.35-1902.300.11.el7uek.x86_64
Architecture: x86-64
[root@localhost ~]# /usr/lib/symantec/version.sh
Symantec Agent for Linux
Symantec Endpoint Protection (SEPM) 14.3.215.3000
Package Info:
PkgName Installed Available
-------------------- -------------------- --------------------
sdcss-caf 2.0.3-118 2.0.3-118
sdcss 6.9.2-215 6.9.2-215
sdcss-kmod 10.0.2-1246 10.0.2-1246
sdcss-scripts 2.2.5-81 2.2.5-81
Base Repo URL: https://linux-repo.us.securitycloud.symantec.com/sep_linux/14.3RU3/rhel7
When trying to create an offline installation package for 14.3 RU4 in Linux with pre-installed SEP 14.3 RU3
[root@localhost ~]# ./LinuxInstaller_RU4 -R
Configuring Repo (linux-repo.us.securitycloud.symantec.com) ..
Downloading packages: sdcss-caf
sdcss
sdcss-kmod
sdcss-scripts ...
Error 1: Error downloading packages.
Please refer to install logfile sdcss_install.log for more information
LinuxInstaller_RU4: Error 1 running cd "/root/insteao8XD"; ./installagent.sh --download
The user will see the following logs in /var/log/sdcsslog/sdcss_install.log
11/23/22 03:39:40: _AGENT_TYPE : 4
11/23/22 03:39:40: ISUPGRADE : true
11/23/22 03:39:40: clearing variable LD_LIBRARY_PATH...
11/23/22 03:39:40: Installer script at same level or newer level.. carry on
11/23/22 03:39:40: Running ./installagent.sh (PWD /root/inst2Vzj6g; version 2.2.6.38)
11/23/22 03:39:40: Appears to be upgrade, so updating repo file
11/23/22 03:39:40: backing up previous repo file to /etc/symantec/sdcss.repo.prev
11/23/22 03:39:40: Running key import for Symantec Repo. pkg_cert=Release.gpg
11/23/22 03:39:40:
Configuring Repo (linux-repo.us.securitycloud.symantec.com) ..
11/23/22 03:39:40: Refreshing repo cache and testing connection..
11/23/22 03:39:41: Loaded plugins: langpacks, ulninfo
Metadata Cache Created
11/23/22 03:39:41: Repo communication status = 0
11/23/22 03:39:41: Downloading packages: sdcss-caf
sdcss
sdcss-kmod
sdcss-scripts ...
Loaded plugins: langpacks, ulninfo
Installed package sdcss-caf-2.0.3-118.x86_64 (from SDCSS) not available.
Installed package sdcss-6.9.2-215.el7.x86_64 (from SDCSS) not available.
Installed package sdcss-kmod-10.0.2-1246.el7.x86_64 (from SDCSS) not available.
Installed package sdcss-scripts-2.2.5-81.el7.noarch (from SDCSS) not available.
Error: Nothing to do
11/23/22 03:39:41: Error 1: Error downloading packages.
Creation of 14.3 RU5 offline will end up with the following outputs
[root@localhost ~]# ./LinuxInstaller_RU5 -R
Configuring Repo (linux-repo.us.securitycloud.symantec.com) ..
Downloading packages: sdcss-caf
sdcss
sdcss-kmod
sdcss-scripts ...
Error 1: Error downloading packages.
Please refer to install logfile sdcss_install.log for more information
LinuxInstaller_RU5: Error 1 running cd "/root/instDo8uiW"; ./installagent.sh --download
The user will see the following logs in /var/log/sdcsslog/sdcss_install.log
11/23/22 03:41:31: _AGENT_TYPE : 4
11/23/22 03:41:31: ISUPGRADE : true
11/23/22 03:41:31: clearing variable LD_LIBRARY_PATH...
11/23/22 03:41:31: Installer script at same level or newer level.. carry on
11/23/22 03:41:31: Running ./installagent.sh (PWD /root/insthbIIBy; version 2.2.7.24)
11/23/22 03:41:31: Appears to be upgrade, so updating repo file
11/23/22 03:41:31: backing up previous repo file to /etc/symantec/sdcss.repo.prev
11/23/22 03:41:31: Skip key import on upgrade
11/23/22 03:41:31:
Configuring Repo (linux-repo.us.securitycloud.symantec.com) ..
11/23/22 03:41:31: Refreshing repo cache and testing connection..
11/23/22 03:41:32: Loaded plugins: langpacks, ulninfo
Metadata Cache Created
11/23/22 03:41:32: Repo communication status = 0
11/23/22 03:41:32: Downloading packages: sdcss-caf
sdcss
sdcss-kmod
sdcss-scripts ...
Loaded plugins: langpacks, ulninfo
Installed package sdcss-caf-2.0.3-118.x86_64 (from SDCSS) not available.
Installed package sdcss-6.9.2-215.el7.x86_64 (from SDCSS) not available.
Installed package sdcss-kmod-10.0.2-1246.el7.x86_64 (from SDCSS) not available.
Installed package sdcss-scripts-2.2.5-81.el7.noarch (from SDCSS) not available.
Error: Nothing to do
11/23/22 03:41:32: Error 1: Error downloading packages.
SEP for Linux 14.3 RU1 and later
Option1:
Option2: