質問編集履歴

2

情報の追加

2017/10/17 07:48

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,61 @@
26
26
 
27
27
  sudo apt-get update && sudo apt-get install google-cloud-sdk
28
28
 
29
+ のコマンドを打つと以下のようなエラーが出ました。
30
+
31
+ ```ここに言語を入力
32
+
33
+ Err http://mirrordirector.raspbian.org jessie InRelease
34
+
35
+
36
+
37
+ Err http://archive.raspberrypi.org jessie InRelease
38
+
39
+
40
+
41
+ Err http://archive.raspberrypi.org jessie Release.gpg
42
+
43
+ Could not resolve 'archive.raspberrypi.org'
44
+
45
+ Err http://mirrordirector.raspbian.org jessie Release.gpg
46
+
47
+ Could not resolve 'mirrordirector.raspbian.org'
48
+
49
+ Reading package lists... Done
50
+
51
+ W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease
52
+
53
+
54
+
55
+ W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/InRelease
56
+
57
+
58
+
59
+ W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/Release.gpg Could not resolve 'mirrordirector.raspbian.org'
60
+
61
+
62
+
63
+ W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/Release.gpg Could not resolve 'archive.raspberrypi.org'
64
+
65
+
66
+
67
+ W: Some index files failed to download. They have been ignored, or old ones used instead.
68
+
69
+ Reading package lists...DONE
70
+
71
+ Building dependency tree
72
+
73
+ Reading state information...DONE
74
+
75
+ E: Unable to locate package google-cloud-sdk
76
+
77
+
78
+
79
+ ```
80
+
29
- コマンドを打つと、写真ようなエラーが出ました。コマンドのurlの打ち間違いかと思いましたが、何回見ても打ち間違いではありませんでした。
81
+ コマンドのurlの打ち間違いかと思いましたが、何回見ても打ち間違いではありませんでした。
82
+
83
+
30
84
 
31
85
  このエラーは、
32
86
 

1

情報の修正

2017/10/17 07:48

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -4,25 +4,25 @@
4
4
 
5
5
  の手順に従って
6
6
 
7
- # Create an environment variable for the correct distribution
7
+ Create an environment variable for the correct distribution
8
8
 
9
9
  export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
10
10
 
11
11
 
12
12
 
13
- # Add the Cloud SDK distribution URI as a package source
13
+ Add the Cloud SDK distribution URI as a package source
14
14
 
15
15
  echo "deb https://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
16
16
 
17
17
 
18
18
 
19
- # Import the Google Cloud Platform public key
19
+ Import the Google Cloud Platform public key
20
20
 
21
21
  curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
22
22
 
23
23
 
24
24
 
25
- # Update the package list and install the Cloud SDK
25
+ Update the package list and install the Cloud SDK
26
26
 
27
27
  sudo apt-get update && sudo apt-get install google-cloud-sdk
28
28