Skip to main content
NetApp Knowledge Base

StorageGRID hotfix installation fails on gateway node with "Error: E: Sub-process /usr/bin/dpkg returned an error code"

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

Applies to

  • StorageGRID 11.3.0.x hotfix install
  • Gateway node(s) with high availability (HA) configuration.

Issue

  • While applying StorageGRID hotfix, the installation fails on the gateway node(s) with the following error returned in the StorageGRID management interface (GMI):

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

  • The following error message stack can be found in the /var/local/log/gdu-server.log on the primary admin node:

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)

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.