質問編集履歴
1
PC出力部分の先頭に'を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,171 +18,171 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
CentOS-Base.repoの内容です。
|
21
|
+
'CentOS-Base.repoの内容です。'
|
22
22
|
|
23
|
-
# CentOS-Base.repo
|
23
|
+
"# CentOS-Base.repo"
|
24
24
|
|
25
|
-
#
|
25
|
+
'#
|
26
26
|
|
27
|
-
# The mirror system uses the connecting IP address of the client and the
|
27
|
+
'# The mirror system uses the connecting IP address of the client and the
|
28
28
|
|
29
|
-
# update status of each mirror to pick mirrors that are updated to and
|
29
|
+
'# update status of each mirror to pick mirrors that are updated to and
|
30
30
|
|
31
|
-
# geographically close to the client. You should use this for CentOS updates
|
31
|
+
'# geographically close to the client. You should use this for CentOS updates
|
32
32
|
|
33
|
-
# unless you are manually picking other mirrors.
|
33
|
+
'# unless you are manually picking other mirrors.
|
34
34
|
|
35
|
-
#
|
35
|
+
'#
|
36
36
|
|
37
|
-
# If the mirrorlist= does not work for you, as a fall back you can try the
|
37
|
+
'# If the mirrorlist= does not work for you, as a fall back you can try the
|
38
38
|
|
39
|
-
# remarked out baseurl= line instead.
|
39
|
+
'# remarked out baseurl= line instead.
|
40
40
|
|
41
|
-
#
|
41
|
+
'#
|
42
42
|
|
43
|
-
#
|
43
|
+
'#
|
44
44
|
|
45
45
|
|
46
46
|
|
47
|
-
[base]
|
47
|
+
'[base]
|
48
48
|
|
49
|
-
name=CentOS-$releasever - Base
|
49
|
+
'name=CentOS-$releasever - Base
|
50
50
|
|
51
|
-
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
|
51
|
+
'#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
|
52
52
|
|
53
|
-
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
|
53
|
+
'#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
|
54
54
|
|
55
|
-
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/
|
55
|
+
'baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/
|
56
56
|
|
57
|
-
gpgcheck=1
|
57
|
+
'gpgcheck=1
|
58
58
|
|
59
|
-
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
59
|
+
'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
60
60
|
|
61
61
|
|
62
62
|
|
63
|
-
#released updates
|
63
|
+
'#released updates
|
64
64
|
|
65
|
-
[updates]
|
65
|
+
'[updates]
|
66
66
|
|
67
|
-
name=CentOS-$releasever - Updates
|
67
|
+
'name=CentOS-$releasever - Updates
|
68
68
|
|
69
|
-
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
|
69
|
+
'#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
|
70
70
|
|
71
|
-
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
|
71
|
+
'#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
|
72
72
|
|
73
|
-
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/updates/$basearch/
|
73
|
+
'baseurl=http://ftp.riken.jp/Linux/centos/$releasever/updates/$basearch/
|
74
74
|
|
75
|
-
gpgcheck=1
|
75
|
+
'gpgcheck=1
|
76
76
|
|
77
|
-
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
77
|
+
'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
78
78
|
|
79
79
|
|
80
80
|
|
81
|
-
#additional packages that may be useful
|
81
|
+
'#additional packages that may be useful
|
82
82
|
|
83
|
-
[extras]
|
83
|
+
'[extras]
|
84
84
|
|
85
|
-
name=CentOS-$releasever - Extras
|
85
|
+
'name=CentOS-$releasever - Extras
|
86
86
|
|
87
|
-
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
|
87
|
+
'#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
|
88
88
|
|
89
|
-
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
|
89
|
+
'#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
|
90
90
|
|
91
|
-
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/extras/$basearch/
|
91
|
+
'baseurl=http://ftp.riken.jp/Linux/centos/$releasever/extras/$basearch/
|
92
92
|
|
93
|
-
gpgcheck=1
|
93
|
+
'gpgcheck=1
|
94
94
|
|
95
|
-
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
95
|
+
'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
96
96
|
|
97
97
|
|
98
98
|
|
99
|
-
#additional packages that extend functionality of existing packages
|
99
|
+
'#additional packages that extend functionality of existing packages
|
100
100
|
|
101
|
-
[centosplus]
|
101
|
+
'[centosplus]
|
102
102
|
|
103
|
-
name=CentOS-$releasever - Plus
|
103
|
+
'name=CentOS-$releasever - Plus
|
104
104
|
|
105
|
-
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
|
105
|
+
'#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
|
106
106
|
|
107
|
-
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
|
107
|
+
'#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
|
108
108
|
|
109
|
-
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/centosplus/$basearch/
|
109
|
+
'baseurl=http://ftp.riken.jp/Linux/centos/$releasever/centosplus/$basearch/
|
110
110
|
|
111
|
-
gpgcheck=1
|
111
|
+
'gpgcheck=1
|
112
112
|
|
113
|
-
enabled=0
|
113
|
+
'enabled=0
|
114
114
|
|
115
|
-
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
115
|
+
'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
116
116
|
|
117
117
|
|
118
118
|
|
119
|
-
yum update実行結果です。
|
119
|
+
'yum update実行結果です。
|
120
120
|
|
121
|
-
[root@localhost ~]# yum update
|
121
|
+
'[root@localhost ~]# yum update
|
122
122
|
|
123
|
-
読み込んだプラグイン:fastestmirror
|
123
|
+
'読み込んだプラグイン:fastestmirror
|
124
124
|
|
125
|
-
http://ftp.riken.jp/Linux/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.riken.jp; 不明なエラー"
|
125
|
+
'http://ftp.riken.jp/Linux/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: 'ftp.riken.jp; 不明なエラー"
|
126
126
|
|
127
|
-
他のミラーを試します。
|
127
|
+
'他のミラーを試します。
|
128
128
|
|
129
129
|
|
130
130
|
|
131
131
|
|
132
132
|
|
133
|
-
One of the configured repositories failed (CentOS-7 - Base),
|
133
|
+
'One of the configured repositories failed (CentOS-7 - Base),
|
134
134
|
|
135
|
-
and yum doesn't have enough cached data to continue. At this point the only
|
135
|
+
'and yum doesn't have enough cached data to continue. At this point the only
|
136
136
|
|
137
|
-
safe thing yum can do is fail. There are a few ways to work "fix" this:
|
137
|
+
'safe thing yum can do is fail. There are a few ways to work "fix" this:
|
138
138
|
|
139
139
|
|
140
140
|
|
141
|
-
|
141
|
+
' 1. Contact the upstream for the repository and get them to fix the problem.
|
142
142
|
|
143
143
|
|
144
144
|
|
145
|
-
2. Reconfigure the baseurl/etc. for the repository, to point to a working
|
145
|
+
' 2. Reconfigure the baseurl/etc. for the repository, to point to a working
|
146
146
|
|
147
|
-
upstream. This is most often useful if you are using a newer
|
147
|
+
' upstream. This is most often useful if you are using a newer
|
148
148
|
|
149
|
-
distribution release than is supported by the repository (and the
|
149
|
+
' distribution release than is supported by the repository (and the
|
150
150
|
|
151
|
-
packages for the previous distribution release still work).
|
151
|
+
' packages for the previous distribution release still work).
|
152
152
|
|
153
153
|
|
154
154
|
|
155
|
-
3. Disable the repository, so yum won't use it by default. Yum will then
|
155
|
+
' 3. Disable the repository, so yum won't use it by default. Yum will then
|
156
156
|
|
157
|
-
just ignore the repository until you permanently enable it again or use
|
157
|
+
' just ignore the repository until you permanently enable it again or use
|
158
158
|
|
159
|
-
--enablerepo for temporary usage:
|
159
|
+
' --enablerepo for temporary usage:
|
160
160
|
|
161
161
|
|
162
162
|
|
163
|
-
yum-config-manager --disable base
|
163
|
+
' yum-config-manager --disable base
|
164
164
|
|
165
165
|
|
166
166
|
|
167
|
-
4. Configure the failing repository to be skipped, if it is unavailable.
|
167
|
+
' 4. Configure the failing repository to be skipped, if it is unavailable.
|
168
168
|
|
169
|
-
Note that yum will try to contact the repo. when it runs most commands,
|
169
|
+
' Note that yum will try to contact the repo. when it runs most commands,
|
170
170
|
|
171
|
-
so will have to try and fail each time (and thus. yum will be be much
|
171
|
+
' so will have to try and fail each time (and thus. yum will be be much
|
172
172
|
|
173
|
-
slower). If it is a very temporary problem though, this is often a nice
|
173
|
+
' slower). If it is a very temporary problem though, this is often a nice
|
174
174
|
|
175
|
-
compromise:
|
175
|
+
' compromise:
|
176
176
|
|
177
177
|
|
178
178
|
|
179
|
-
yum-config-manager --save --setopt=base.skip_if_unavailable=true
|
179
|
+
' yum-config-manager --save --setopt=base.skip_if_unavailable=true
|
180
180
|
|
181
181
|
|
182
182
|
|
183
|
-
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
|
183
|
+
'failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
|
184
184
|
|
185
|
-
http://ftp.riken.jp/Linux/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.riken.jp; 不明なエラー"
|
185
|
+
'http://ftp.riken.jp/Linux/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: 'ftp.riken.jp; 不明なエラー"'
|
186
186
|
|
187
187
|
|
188
188
|
|