Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Malformed entry error while trying to install Google Cloud SDK

When I execute the below command in Ubuntu

sudo apt-get update & sudo apt-get install Google-cloud-SDK

I am getting the below error.

E: Malformed entry 1 in list file /etc/apt/sources.list.d/google-cloud-sdk.list (Component)
E: The list of sources could not be read.
like image 700
Sandesh Puttaraj Avatar asked Nov 02 '17 16:11

Sandesh Puttaraj


People also ask

How do I remove Google Cloud SDK from Windows?

On the latest SDK, Under "C:\Program Files (x86)\Google\Cloud SDK" you should find an uninstaller (uninstaller.exe). Just execute it.

What is the Google Cloud run service agent?

Some Google Cloud services have Google-managed service accounts that allow the services to access your resources. These service accounts are known as service agents.


1 Answers

Remove the /etc/apt/sources.list.d/google-cloud-sdk.list and re-try the gcloud installation steps solved the problem for my case.

sudo rm /etc/apt/sources.list.d/google-cloud-sdk.list
like image 199
Wong Tat Yau Avatar answered Sep 25 '22 07:09

Wong Tat Yau