Ubuntu で --local-repo を使用した Symantec Endpoint Protection (SEP) Linux エージェント 14.3 RU8 のインストールが失敗する
search cancel

Ubuntu で --local-repo を使用した Symantec Endpoint Protection (SEP) Linux エージェント 14.3 RU8 のインストールが失敗する

book

Article ID: 445281

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

Ubuntu 環境にて LinuxInstaller に --local-repo オプションを指定してSEP Linux エージェント 14.3 RU8 をインストールすると、以下のエラーでインストールが失敗する。

# ./LinuxInstaller -- --local-repo http://192.168.5.1/SAL/1.3

Configuring Local Repo (http://192.168.5.1/SAL/1.3) for
Symantec Agent for Linux
Symantec Endpoint Protection (SEPM) ..
APT Repo communication error:

/==========================================================================================================================\
| Hit:1 http://192.168.5.1/SAL/1.3/ubuntu22 SAL/1.3 InRelease                                                             |
| Err:1 http://192.168.5.1/SAL/1.3/ubuntu22 SAL/1.3 InRelease                                                             |
|   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FB2DF4FAE6FB3961      |
| Reading package lists...                                                                                                 |
| W: An error occurred during the signature verification. The repository is not updated and the previous index files will  |
| be used. GPG error: http://192.168.5.1/SAL/1.3/ubuntu22 SAL/1.3 InRelease: The following signatures couldn't be         |
| verified because the public key is not available: NO_PUBKEY FB2DF4FAE6FB3961                                             |
| W: Failed to fetch http://192.168.5.1/SAL/1.3/ubuntu22/dists/SAL/1.3/InRelease  The following signatures couldn't be    |
| verified because the public key is not available: NO_PUBKEY FB2DF4FAE6FB3961                                             |
| W: Some index files failed to download. They have been ignored, or old ones used instead.                                |
\==========================================================================================================================/
NOTICE: Unable to communicate with repository. Check repo file /etc/apt/sources.list.d/sdcss.list

Error 1: Insufficient number of agent packages to install without repo.
Please refer to install logfile /var/log/sdcss_install.log for more information
LinuxInstaller: Error 1 running cd "/home/dcsadmin/sep/ru8/instDoHlJS"; ./installagent.sh --local-repo http://192.168.5.1/SAL/1.3

Environment

Ubuntu 20.04 / 22.04
Debian 9 / 10
SEP Linux エージェント 14.3 RU8

Cause

14.3 RU8 の インストールスクリプト に不具合があり、--local-repo 指定時に GPG キーをインポートする installGPGKeys() 関数が呼び出されないのが原因です。

Resolution

14.3 RU9 で対策済みとなります。14.3 RU9 のインストールをお願いいたします。

● 14.3 RU8 での回避策
1. インストーラパッケージを展開します。
./LinuxInstaller -x
※実行すると、カレントディレクトリに instxwBgfX のような一時フォルダが作成され、その中に中身が展開されます。
2. installagent.sh を編集する
展開されたフォルダ内にある installagent.sh をテキストエディタで開きます。
3. 鍵インポート関数の位置を移動する
スクリプトの最後の方(1218行目付近)にある installGPGKeys の呼び出しを、ローカルリポジトリの処理が始まる前(1191行目付近)に移動させます。
修正前(1217行目付近):
else #Normal install
   installGPGKeys
   [ $devRepo = false ] && useDevRepo && devRepo=true

installGPGKeys をここから切り取り、上方に移動します。
修正後(1190行目付近):
[ -f ${REPOFILE}.prev ] && rm -f ${REPOFILE}.prev
installGPGKeys
if [ $localRepo = true ] && [ "$LOCAL_REPO_URL" ]; then

(ローカルリポジトリの判定文 if [ $localRepo = true ] の直前に差し込みます)

4. 修正したスクリプトでインストールを実行します。
./installagent.sh --local-repo <ローカルリポジトリURL>