According to the release notes, the current Google Cloud SDK version is 334.0.0 and the previous 4 are (in reverse chronological order):
- 333.0.0
- 332.0.0
- 331.0.0
- 330.0.0
According to the Recommended installation for Debian, I should be able to install any of these:
If you'd like to revert to a specific version of Cloud SDK, where VERSION is of the form 123.0.0, run:
sudo apt-get update && sudo apt-get install google-cloud-sdk=123.0.0-0The most recent ten releases will always be available in the repo.
However, today (2021-03-31) this only works for the current version. After running sudo apt-get update this works:
sudo apt-get install google-cloud-sdk=334.0.0-0
This does not:
$ sudo apt-get install google-cloud-sdk=333.0.0-0
Building dependency tree
Reading state information... Done
E: Version '333.0.0-0' for 'google-cloud-sdk' was not found
Same result for the other 3 older versions.
I am using the documented repo:
$ cat /etc/apt/sources.list.d/google-cloud-sdk.list
deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main
Where can I get the old Google Cloud SDK Debian packages? Should I be using a different repo?