跳转到主内容

在网关节点上安装 StorageGRID 热修补程序失败,并显示 "Error : e : sub-process /usr/bin/dpkg Returated an error code"

Views:
10
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