Closed GoogleCodeExporter closed 8 years ago
I am unable to reproduce the issue. You certainly should not be getting any
errors when running sudo apt-get install google-cloud-sdk. That doesn't run any
gcloud code.
Could you try:
sudo apt-get remove google-cloud-sdk
sudo apt-get install google-cloud-sdk
Also paste the output of apt-cache policy google-cloud-sdk
Original comment by stephe...@google.com
on 19 Nov 2015 at 7:04
Thanks, that helped. Here is apt-cache policy before & after.
$ apt-cache policy google-cloud-sdk
google-cloud-sdk:
Installed: 0.9.87.1-20151118121533-0
Candidate: 0.9.87.1-20151118121533-0
Version table:
*** 0.9.87.1-20151118121533-0 0
500 http://packages.cloud.google.com/apt/ cloud-sdk-trusty/main amd64 Packages
100 /var/lib/dpkg/status
$ sudo apt-get remove google-cloud-sdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
google-cloud-sdk
0 upgraded, 0 newly installed, 1 to remove and 18 not upgraded.
After this operation, 32.3 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 137463 files and directories currently installed.)
Removing google-cloud-sdk (0.9.87.1-20151118121533-0) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
$ sudo apt-get install google-cloud-sdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
google-cloud-sdk
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
Need to get 0 B/4,360 kB of archives.
After this operation, 32.3 MB of additional disk space will be used.
Selecting previously unselected package google-cloud-sdk.
(Reading database ... 133380 files and directories currently installed.)
Preparing to unpack .../google-cloud-sdk_0.9.87.1-20151118121533-0_all.deb ...
Unpacking google-cloud-sdk (0.9.87.1-20151118121533-0) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up google-cloud-sdk (0.9.87.1-20151118121533-0) ...
$ apt-cache policy google-cloud-sdk
google-cloud-sdk:
Installed: 0.9.87.1-20151118121533-0
Candidate: 0.9.87.1-20151118121533-0
Version table:
*** 0.9.87.1-20151118121533-0 0
500 http://packages.cloud.google.com/apt/ cloud-sdk-trusty/main amd64 Packages
100 /var/lib/dpkg/status
Original comment by vsi...@gmail.com
on 19 Nov 2015 at 7:25
That was a very odd error, glad reinstalling fixed it for you.
Original comment by stephe...@google.com
on 19 Nov 2015 at 7:43
Workaround, in case anyone experiences this in the meantime:
sudo apt-get remove google-cloud-sdk
sudo rm -rf /usr/lib/google-cloud-sdk
sudo apt-get install google-cloud-sdk
Original comment by z...@google.com
on 24 Nov 2015 at 2:48
Actually, it has already been fixed. Just update to the latest version and this
problem should go away.
Original comment by stephe...@google.com
on 24 Nov 2015 at 3:18
Original issue reported on code.google.com by
vsi...@gmail.com
on 19 Nov 2015 at 2:06