I followed the instructions in this url, https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu and when I typed the command
sudo apt-get update && sudo apt-get install google-cloud-sdk
I got this errors:
E:Malformed line 5 in source list/etc/apt/sources.list.d/google-cloud-sdk.list(dist parse).
E: The list of sources could not be read.
I wrote the above command in virtualenv. I cannot understand why this error happens. All other step is completed, so I cannot understand why this happens. How should I fix this?
apt-get
will install at the system level; I'd suspect that calling it from within a virtualenv is going to lead to a messed up configuration. Install the cloud sdk from a terminal that isn't running an active virtualenv.