dpkg: error processing package google-cloud-sdk (–configure):
subprocess installed post-installation script returned error exit status 137
Errors were encountered while processing:
google-cloud-sdk
E: Sub-process /usr/bin/dpkg returned an error code (1)
Now i have lost access to my server dashboard as well as dashboard for virtual servers on this machine.
This site can’t be reached
server3.goannawebhosting.com.au refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
I have tried clearing browser cache…not a solution
Is the google cloud update failing because dpkg isnt in this directory? (does that mean i should have manually installed dpkg?)
What do i do to regain dashboard access to virtualmin? (solved this question…i am back in)
I will manually install dpkg and run the update again.
UPDATE>>>
EH??? according to Webmin>System>Software Packages the following is found…
Package Details
Description Unknown
Package dpkg Class A-E
Version 1.18.24 Vendor Dpkg Developers debian-dpkg@lists.debian.org
Architecture amd64 Installed Unknown
Now i am really confused??? Why wont the google cloud update run successfully
Here is a copy of /var/log/syslog
Oct 8 04:10:10 localhost systemd[2496]: Received SIGRTMIN+24 from PID 2501 (kill).
Oct 8 04:10:10 localhost systemd[1]: user@1003.service: Killing process 2501 (kill) with signal SIGKILL.
Oct 8 04:10:10 localhost systemd[1]: Stopped User Manager for UID 1003.
Oct 8 04:10:10 localhost systemd[1]: Removed slice User Slice of goanna... (i have removed last part of this name).
Oct 8 04:10:29 localhost systemd[1]: Starting Cleanup of Temporary Directories...
Oct 8 04:10:30 localhost systemd[1]: Started Cleanup of Temporary Directories.
Oct 8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/A/IN': 2001:500:2e::1#53
Oct 8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/AAAA/IN': 2001:500:2e::1#53
Oct 8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/A/IN': 2620:74:19::33#53
Oct 8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/AAAA/IN': 2620:74:19::33#53
Oct 8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/A/IN': 2001:dc0:1:0:4777::140#53
Oct 8 04:12:21 localhost named[805]: network unreachable resolving 'arin.authdns.ripe.net/AAAA/IN': 2001:dc0:1:0:4777::140#53
Oct 8 04:12:23 localhost named[805]: network unreachable resolving '231.170.in-addr.arpa/DS/IN': 2001:500:13::63#53
Oct 8 04:12:23 localhost named[805]: network unreachable resolving '231.170.in-addr.arpa/DS/IN': 2001:67c:e0::10#53
Oct 8 04:12:23 localhost named[805]: network unreachable resolving '231.170.in-addr.arpa/DS/IN': 2001:500:127::30#53
Oct 8 04:12:24 localhost named[805]: network unreachable resolving '170.in-addr.arpa/DNSKEY/IN': 2001:500:14:6050:ad::1#53
Oct 8 04:12:24 localhost named[805]: network unreachable resolving '44.231.170.in-addr.arpa/DS/IN': 2001:500:31::63#53
Oct 8 04:12:24 localhost postfix/smtpd[2631]: connect from unknown[170.231.44.104]
Oct 8 04:12:28 localhost postfix/smtpd[2631]: warning: unknown[170.231.44.104]: SASL LOGIN authentication failed: authentication failure
Oct 8 04:12:29 localhost postfix/smtpd[2631]: disconnect from unknown[170.231.44.104] helo=1 auth=0/1 quit=1 commands=2/3
I don’t see anything that indicates dpkg is not installed. What gave you that idea? The error can’t possibly have happened without dpkg being installed…the first error is from dpkg (I mean, dpkg was run, and it returned an error).
All I see is a network connection error. syslog doesn’t give us any useful information about dpkg or apt-get.
[root@server3 ~]# apt-get upgrade Reading package lists… Building dependency tree… Reading state information… Calculating upgrade… 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Abort.
[root@server3 ~]# apt-get -y upgrade
Reading package lists… Building dependency tree… Reading state information… Calculating upgrade… 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up google-cloud-sdk (174.0.0-0) … Generating the gcloud CLI and caching in [/usr/lib/google-cloud-sdk/.install/cli/gcloud.py]… …done. Killed dpkg: error processing package google-cloud-sdk (–configure): subprocess installed post-installation script returned error exit status 137 Errors were encountered while processing: google-cloud-sdk E: Sub-process /usr/bin/dpkg returned an error code (1)
So, the postinstall script in the google-cloud-sdk package failed. That’s Google’s problem. I can’t fix it.
You could check the /var/log/dpkg.log for more specific details about why configure is failing. You could maybe also try running dpkg --configure google-cloud-sdk, though I don’t know if that will give more information.
ok no worries…i imagine that its not something i should be worried about at least? If i am having problems i imagine others are as well. I should try the update on my other machines and see what happens.
Thanks Joe.
I’m not sure what’s in the google-cloud-sdk or whether it’s important. I mean, I think I have it installed locally for managing my one little GCE instance, but I dunno if there’s something vital about it on a GCE instance itself.
It’s probably possible to uninstall it and re-install it. Maybe they just screwed up their post-install script. Googling didn’t reveal anybody else reporting this exact problem, though, so it might be specific to your system.