質問編集履歴

8

情報の追加

2020/01/16 07:05

投稿

ryo12su29kel
ryo12su29kel

スコア26

test CHANGED
File without changes
test CHANGED
@@ -122,7 +122,7 @@
122
122
 
123
123
  と出てきて何も起こりません。
124
124
 
125
- yum updateを実行した後に、もう一度試しましたが再度同じログが出てきました。
125
+ yum updateを実行(特にエラーは無)した後に、もう一度試しましたが再度同じログが出てきました。
126
126
 
127
127
 
128
128
 

7

文法の修正

2020/01/16 07:05

投稿

ryo12su29kel
ryo12su29kel

スコア26

test CHANGED
File without changes
test CHANGED
@@ -122,7 +122,7 @@
122
122
 
123
123
  と出てきて何も起こりません。
124
124
 
125
- yum updateを実行しましたが駄目でした。
125
+ yum updateを実行した後に、もう一度試しましたが再度同じログが出てきました。
126
126
 
127
127
 
128
128
 

6

初心者アイコン

2020/01/15 13:54

投稿

ryo12su29kel
ryo12su29kel

スコア26

test CHANGED
File without changes
test CHANGED
@@ -242,4 +242,4 @@
242
242
 
243
243
 
244
244
 
245
- 原因に心当たりのある方がいらっしゃいましたらしくお願いします。
245
+ 原因に心当たりのある方がいらっしゃいましたらよろしくお願いします。

5

内容の修正

2020/01/15 10:29

投稿

ryo12su29kel
ryo12su29kel

スコア26

test CHANGED
File without changes
test CHANGED
@@ -162,7 +162,7 @@
162
162
 
163
163
  name=CentOS-$releasever - Base
164
164
 
165
- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =os&infra=$infra
165
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
166
166
 
167
167
  #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
168
168
 
@@ -178,7 +178,7 @@
178
178
 
179
179
  name=CentOS-$releasever - Updates
180
180
 
181
- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =updates&infra=$infra
181
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
182
182
 
183
183
  #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
184
184
 
@@ -194,7 +194,7 @@
194
194
 
195
195
  name=CentOS-$releasever - Extras
196
196
 
197
- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =extras&infra=$infra
197
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
198
198
 
199
199
  #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
200
200
 
@@ -210,7 +210,7 @@
210
210
 
211
211
  name=CentOS-$releasever - Plus
212
212
 
213
- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =centosplus&infra=$infra
213
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
214
214
 
215
215
  #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
216
216
 
@@ -228,7 +228,7 @@
228
228
 
229
229
  name=CentOS-$releasever - Contrib
230
230
 
231
- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =contrib&infra=$infra
231
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra
232
232
 
233
233
  #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
234
234
 

4

具体的な説明の追加

2020/01/15 08:47

投稿

ryo12su29kel
ryo12su29kel

スコア26

test CHANGED
File without changes
test CHANGED
@@ -6,6 +6,46 @@
6
6
 
7
7
 
8
8
 
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ [起きたこと]
18
+
19
+ nvmのインストールを試みる
20
+
21
+
22
+
23
+ 失敗
24
+
25
+
26
+
27
+ 同じようなケースの質問を見つけ、gitのアップデートが必要だと知る
28
+
29
+
30
+
31
+ その回答に沿って、gitをアップデートするためのパッケージをyumでインストールを試みる
32
+
33
+
34
+
35
+ 失敗
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+ [具体的な内容]
48
+
9
49
  nvmをインストールをしようと
10
50
 
11
51
  ```bash

3

具体的な説明の追加

2020/01/15 08:11

投稿

ryo12su29kel
ryo12su29kel

スコア26

test CHANGED
File without changes
test CHANGED
@@ -6,13 +6,55 @@
6
6
 
7
7
 
8
8
 
9
- nvmをインストールをしようとしたところ
9
+ nvmをインストールをしようと
10
+
11
+ ```bash
12
+
13
+ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
14
+
15
+ ```
16
+
17
+ を実行したところ
18
+
19
+ ```
20
+
21
+ [vagrant@localhost ~]$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
22
+
23
+ % Total % Received % Xferd Average Speed Time Time Time Current
24
+
25
+ Dload Upload Total Spent Left Speed
26
+
27
+ 100 13226 100 13226 0 0 32256 0 --:--:-- --:--:-- --:--:-- 263k
28
+
29
+ => Downloading nvm from git to '/home/vagrant/.nvm'
30
+
31
+ => Unknown option: -c
32
+
33
+ usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
34
+
35
+ [-p|--paginate|--no-pager] [--no-replace-objects]
36
+
37
+ [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
38
+
39
+ [--help] COMMAND [ARGS]
40
+
41
+ Failed to clone nvm repo. Please report this!
42
+
43
+ ```
44
+
45
+ のように出てきました。
46
+
47
+
48
+
49
+ どうやらこちらの質問と同じような詰まり方のようでした
10
50
 
11
51
  https://teratail.com/questions/140492
12
52
 
53
+
54
+
55
+
56
+
13
- こちらの質問同じような詰まり方たので、こちらの回答を参考にして
57
+ こちらの回答による、gitアップデートする必要があるとのことだったので
14
-
15
-
16
58
 
17
59
  gitをアップデートするためにIUSが提供しているパッケージをインストールしようと
18
60
 

2

情報の修正

2020/01/15 08:04

投稿

ryo12su29kel
ryo12su29kel

スコア26

test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- パッケージをインストールしようと
17
+ gitをアップデートするためにIUSが提供しているパッケージをインストールしようと
18
18
 
19
19
  ```bash
20
20
 

1

情報の追加

2020/01/15 07:53

投稿

ryo12su29kel
ryo12su29kel

スコア26

test CHANGED
File without changes
test CHANGED
@@ -44,4 +44,120 @@
44
44
 
45
45
 
46
46
 
47
+ 関係あるかはわかりませんが、/etc/yum.repos.d/CentOS-Base.repoの中はこのようになっております。
48
+
49
+
50
+
51
+ ```
52
+
53
+ [vagrant@localhost ~]$ cat /etc/yum.repos.d/CentOS-Base.repo
54
+
55
+ # CentOS-Base.repo
56
+
57
+ #
58
+
59
+ # The mirror system uses the connecting IP address of the client and the
60
+
61
+ # update status of each mirror to pick mirrors that are updated to and
62
+
63
+ # geographically close to the client. You should use this for CentOS updates
64
+
65
+ # unless you are manually picking other mirrors.
66
+
67
+ #
68
+
69
+ # If the mirrorlist= does not work for you, as a fall back you can try the
70
+
71
+ # remarked out baseurl= line instead.
72
+
73
+ #
74
+
75
+ #
76
+
77
+
78
+
79
+ [base]
80
+
81
+ name=CentOS-$releasever - Base
82
+
83
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =os&infra=$infra
84
+
85
+ #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
86
+
87
+ gpgcheck=1
88
+
89
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
90
+
91
+
92
+
93
+ #released updates
94
+
95
+ [updates]
96
+
97
+ name=CentOS-$releasever - Updates
98
+
99
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =updates&infra=$infra
100
+
101
+ #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
102
+
103
+ gpgcheck=1
104
+
105
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
106
+
107
+
108
+
109
+ #additional packages that may be useful
110
+
111
+ [extras]
112
+
113
+ name=CentOS-$releasever - Extras
114
+
115
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =extras&infra=$infra
116
+
117
+ #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
118
+
119
+ gpgcheck=1
120
+
121
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
122
+
123
+
124
+
125
+ #additional packages that extend functionality of existing packages
126
+
127
+ [centosplus]
128
+
129
+ name=CentOS-$releasever - Plus
130
+
131
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =centosplus&infra=$infra
132
+
133
+ #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
134
+
135
+ gpgcheck=1
136
+
137
+ enabled=0
138
+
139
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
140
+
141
+
142
+
143
+ #contrib - packages by Centos Users
144
+
145
+ [contrib]
146
+
147
+ name=CentOS-$releasever - Contrib
148
+
149
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =contrib&infra=$infra
150
+
151
+ #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
152
+
153
+ gpgcheck=1
154
+
155
+ enabled=0
156
+
157
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
158
+
159
+ ```
160
+
161
+
162
+
47
163
  原因に心当たりのある方がいらっしゃいましたら宜しくお願いします。