質問編集履歴
8
情報の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
エラー: 何もしません
|
61
61
|
```
|
62
62
|
と出てきて何も起こりません。
|
63
|
-
yum updateを実行した後に、もう一度試しましたが再度同じログが出てきました。
|
63
|
+
yum updateを実行(特にエラーは無し)した後に、もう一度試しましたが再度同じログが出てきました。
|
64
64
|
|
65
65
|
関係あるかはわかりませんが、/etc/yum.repos.d/CentOS-Base.repoの中はこのようになっております。
|
66
66
|
|
7
文法の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
エラー: 何もしません
|
61
61
|
```
|
62
62
|
と出てきて何も起こりません。
|
63
|
-
yum updateを実行しましたが
|
63
|
+
yum updateを実行した後に、もう一度試しましたが再度同じログが出てきました。
|
64
64
|
|
65
65
|
関係あるかはわかりませんが、/etc/yum.repos.d/CentOS-Base.repoの中はこのようになっております。
|
66
66
|
|
6
初心者アイコン
title
CHANGED
File without changes
|
body
CHANGED
@@ -120,4 +120,4 @@
|
|
120
120
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
121
121
|
```
|
122
122
|
|
123
|
-
原因に心当たりのある方がいらっしゃいましたら
|
123
|
+
原因に心当たりのある方がいらっしゃいましたらよろしくお願いします。
|
5
内容の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
[base]
|
82
82
|
name=CentOS-$releasever - Base
|
83
|
-
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
|
83
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
|
84
84
|
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
|
85
85
|
gpgcheck=1
|
86
86
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
@@ -88,7 +88,7 @@
|
|
88
88
|
#released updates
|
89
89
|
[updates]
|
90
90
|
name=CentOS-$releasever - Updates
|
91
|
-
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
|
91
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
|
92
92
|
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
|
93
93
|
gpgcheck=1
|
94
94
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
@@ -96,7 +96,7 @@
|
|
96
96
|
#additional packages that may be useful
|
97
97
|
[extras]
|
98
98
|
name=CentOS-$releasever - Extras
|
99
|
-
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
|
99
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
|
100
100
|
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
|
101
101
|
gpgcheck=1
|
102
102
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
@@ -104,7 +104,7 @@
|
|
104
104
|
#additional packages that extend functionality of existing packages
|
105
105
|
[centosplus]
|
106
106
|
name=CentOS-$releasever - Plus
|
107
|
-
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
|
107
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
|
108
108
|
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
|
109
109
|
gpgcheck=1
|
110
110
|
enabled=0
|
@@ -113,7 +113,7 @@
|
|
113
113
|
#contrib - packages by Centos Users
|
114
114
|
[contrib]
|
115
115
|
name=CentOS-$releasever - Contrib
|
116
|
-
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
|
116
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra
|
117
117
|
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
|
118
118
|
gpgcheck=1
|
119
119
|
enabled=0
|
4
具体的な説明の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,6 +2,26 @@
|
|
2
2
|
CentOS6.10
|
3
3
|
VertualBox + Vagrant
|
4
4
|
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
[起きたこと]
|
10
|
+
nvmのインストールを試みる
|
11
|
+
↓
|
12
|
+
失敗
|
13
|
+
↓
|
14
|
+
同じようなケースの質問を見つけ、gitのアップデートが必要だと知る
|
15
|
+
↓
|
16
|
+
その回答に沿って、gitをアップデートするためのパッケージをyumでインストールを試みる
|
17
|
+
↓
|
18
|
+
失敗
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
[具体的な内容]
|
5
25
|
nvmをインストールをしようと
|
6
26
|
```bash
|
7
27
|
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
|
3
具体的な説明の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,10 +2,31 @@
|
|
2
2
|
CentOS6.10
|
3
3
|
VertualBox + Vagrant
|
4
4
|
|
5
|
-
nvmをインストールをしようと
|
5
|
+
nvmをインストールをしようと
|
6
|
+
```bash
|
7
|
+
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
|
8
|
+
```
|
9
|
+
を実行したところ
|
10
|
+
```
|
11
|
+
[vagrant@localhost ~]$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
|
12
|
+
% Total % Received % Xferd Average Speed Time Time Time Current
|
13
|
+
Dload Upload Total Spent Left Speed
|
14
|
+
100 13226 100 13226 0 0 32256 0 --:--:-- --:--:-- --:--:-- 263k
|
15
|
+
=> Downloading nvm from git to '/home/vagrant/.nvm'
|
16
|
+
=> Unknown option: -c
|
17
|
+
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
|
18
|
+
[-p|--paginate|--no-pager] [--no-replace-objects]
|
19
|
+
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
|
20
|
+
[--help] COMMAND [ARGS]
|
21
|
+
Failed to clone nvm repo. Please report this!
|
22
|
+
```
|
23
|
+
のように出てきました。
|
24
|
+
|
25
|
+
どうやらこちらの質問と同じような詰まり方のようでした
|
6
26
|
https://teratail.com/questions/140492
|
7
|
-
こちらの質問と同じような詰まり方をしたので、こちらの回答を参考にして
|
8
27
|
|
28
|
+
|
29
|
+
こちらの回答によると、gitをアップデートする必要があるとのことだったので
|
9
30
|
gitをアップデートするためにIUSが提供しているパッケージをインストールしようと
|
10
31
|
```bash
|
11
32
|
sudo yum install https://centos6.iuscommunity.org/ius-release.rpm
|
2
情報の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
https://teratail.com/questions/140492
|
7
7
|
こちらの質問と同じような詰まり方をしたので、こちらの回答を参考にして
|
8
8
|
|
9
|
-
パッケージをインストールしようと
|
9
|
+
gitをアップデートするためにIUSが提供しているパッケージをインストールしようと
|
10
10
|
```bash
|
11
11
|
sudo yum install https://centos6.iuscommunity.org/ius-release.rpm
|
12
12
|
```
|
1
情報の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,4 +21,62 @@
|
|
21
21
|
と出てきて何も起こりません。
|
22
22
|
yum updateを実行しましたが駄目でした。
|
23
23
|
|
24
|
+
関係あるかはわかりませんが、/etc/yum.repos.d/CentOS-Base.repoの中はこのようになっております。
|
25
|
+
|
26
|
+
```
|
27
|
+
[vagrant@localhost ~]$ cat /etc/yum.repos.d/CentOS-Base.repo
|
28
|
+
# CentOS-Base.repo
|
29
|
+
#
|
30
|
+
# The mirror system uses the connecting IP address of the client and the
|
31
|
+
# update status of each mirror to pick mirrors that are updated to and
|
32
|
+
# geographically close to the client. You should use this for CentOS updates
|
33
|
+
# unless you are manually picking other mirrors.
|
34
|
+
#
|
35
|
+
# If the mirrorlist= does not work for you, as a fall back you can try the
|
36
|
+
# remarked out baseurl= line instead.
|
37
|
+
#
|
38
|
+
#
|
39
|
+
|
40
|
+
[base]
|
41
|
+
name=CentOS-$releasever - Base
|
42
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =os&infra=$infra
|
43
|
+
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
|
44
|
+
gpgcheck=1
|
45
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
46
|
+
|
47
|
+
#released updates
|
48
|
+
[updates]
|
49
|
+
name=CentOS-$releasever - Updates
|
50
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =updates&infra=$infra
|
51
|
+
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
|
52
|
+
gpgcheck=1
|
53
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
54
|
+
|
55
|
+
#additional packages that may be useful
|
56
|
+
[extras]
|
57
|
+
name=CentOS-$releasever - Extras
|
58
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =extras&infra=$infra
|
59
|
+
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
|
60
|
+
gpgcheck=1
|
61
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
62
|
+
|
63
|
+
#additional packages that extend functionality of existing packages
|
64
|
+
[centosplus]
|
65
|
+
name=CentOS-$releasever - Plus
|
66
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =centosplus&infra=$infra
|
67
|
+
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
|
68
|
+
gpgcheck=1
|
69
|
+
enabled=0
|
70
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
71
|
+
|
72
|
+
#contrib - packages by Centos Users
|
73
|
+
[contrib]
|
74
|
+
name=CentOS-$releasever - Contrib
|
75
|
+
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =contrib&infra=$infra
|
76
|
+
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
|
77
|
+
gpgcheck=1
|
78
|
+
enabled=0
|
79
|
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
80
|
+
```
|
81
|
+
|
24
82
|
原因に心当たりのある方がいらっしゃいましたら宜しくお願いします。
|