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.
On the latest SDK, Under "C:\Program Files (x86)\Google\Cloud SDK" you should find an uninstaller (uninstaller.exe). Just execute it.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With