メインコンテンツまでスキップ

ゲートウェイノードで StorageGRID ホットフィックスのインストールが「 Error : E : Subprocess /usr/bin/dpkg returned an error code 」というメッセージが表示されて失敗する

Views:
7
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

に適用されます

  • StorageGRID 11.3.0.x ホットフィックスがインストールされている
  • ハイアベイラビリティ( HA )構成のゲートウェイノードです。

問題

  • StorageGRID ホットフィックスの適用時に、ゲートウェイノードへのインストールが失敗し、 StorageGRID 管理インターフェイス( GMI )で次のエラーが返される。

Error: E: Sub-process /usr/bin/dpkg returned an error code (1)

  • /var/local/log/gdu-server.log プライマリ管理ノードのに、次のエラーメッセージスタックがあります。

Preparing to unpack .../keepalived-bycastify_11.3.0.8-20200812.0857.49736e1_all.deb ...                    keepalived is running
dpkg: warning: subprocess old pre-removal script returned error exit status 1

dpkg: trying script from the new package instead ...
keepalived is running
dpkg: error processing archive /var/local/hotfix-tmp-183183/hotfix/./keepalived-bycastify_11.3.0.8-20200812.0857.49736e1_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Preparing to unpack .../nginx-gw_11.3.0.8-20200812.0857.49736e1_amd64.deb ...
Unpacking nginx-gw (11.3.0.8-20200812.0857.49736e1) over (11.3.0-20191001.0017.4b56d62) ...
Preparing to unpack .../sudo_1.8.19p1-2.1+deb9u2_amd64.deb ...
Unpacking sudo (1.8.19p1-2.1+deb9u2) over (1.8.19p1-2.1) ...
Preparing to unpack .../tcpdump_4.9.3-1~deb9u1_amd64.deb ...
Unpacking tcpdump (4.9.3-1~deb9u1) over (4.9.2-1~deb9u1) ...
Errors were encountered while processing:
 /var/local/hotfix-tmp-183183/hotfix/./keepalived-bycastify_11.3.0.8-20200812.0857.49736e1_all.deb
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)
E, [2020-09-14T18:18:40.608072 #2218] ERROR -- gdu-server: E: Sub-process /usr/bin/dpkg returned an error code (1) (Bycast::Tasks::GduServer::ApplyHotfix::Error)
E, [2020-09-14T18:18:40.608140 #2218] ERROR -- gdu-server:    /usr/local/lib/site_ruby/bycast/tasks/gdu-server/apply-hotfix.rb:229:in `install'
E, [2020-09-14T18:18:40.608160 #2218] ERROR -- gdu-server:    /usr/local/lib/site_ruby/bycast/tasks/gdu-server/apply-hotfix.rb:81:in `apply_to_node'
E, [2020-09-14T18:18:40.608174 #2218] ERROR -- gdu-server:    /usr/local/lib/site_ruby/bycast/tasks/gdu-server/apply-hotfix.rb:69:in `block in apply_to_other_nodes'
E, [2020-09-14T18:18:40.608196 #2218] ERROR -- gdu-server: Failed to apply hotfix to gatewaynode1: E: Sub-process /usr/bin/dpkg returned an error code (1)

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support