ラズベリーパイのターミナルで
https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu
の手順に従って
Create an environment variable for the correct distribution
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
Add the Cloud SDK distribution URI as a package source
echo "deb https://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
Import the Google Cloud Platform public key
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
Update the package list and install the Cloud SDK
sudo apt-get update && sudo apt-get install google-cloud-sdk
のコマンドを打つと以下のようなエラーが出ました。
Err http://mirrordirector.raspbian.org jessie InRelease Err http://archive.raspberrypi.org jessie InRelease Err http://archive.raspberrypi.org jessie Release.gpg Could not resolve 'archive.raspberrypi.org' Err http://mirrordirector.raspbian.org jessie Release.gpg Could not resolve 'mirrordirector.raspbian.org' Reading package lists... Done W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/InRelease W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/Release.gpg Could not resolve 'mirrordirector.raspbian.org' W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/Release.gpg Could not resolve 'archive.raspberrypi.org' W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists...DONE Building dependency tree Reading state information...DONE E: Unable to locate package google-cloud-sdk
コマンドのurlの打ち間違いかと思いましたが、何回見ても打ち間違いではありませんでした。
このエラーは、
古いもう存在しないurlからダウンロードしているということなのでしょうか?
回答1件
あなたの回答
tips
プレビュー