質問編集履歴

5

4/11 修正完了

2016/04/11 12:55

投稿

Masashi_Ikuz
Masashi_Ikuz

スコア15

test CHANGED
File without changes
test CHANGED
@@ -130,7 +130,7 @@
130
130
 
131
131
  }
132
132
 
133
- ----------------------------------------------------------
133
+ ----------------------------------------------------------
134
134
 
135
135
 
136
136
 

4

2016/04/11 12:54

投稿

Masashi_Ikuz
Masashi_Ikuz

スコア15

test CHANGED
File without changes
test CHANGED
@@ -30,29 +30,29 @@
30
30
 
31
31
  name=CentOS-$releasever - Base
32
32
 
33
- mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
33
+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra}
34
34
 
35
35
  {#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/}
36
36
 
37
37
  gpgcheck=1
38
38
 
39
- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
39
+ {gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6}
40
40
 
41
41
 
42
42
 
43
- #released updates
43
+ {#released updates}
44
44
 
45
- [updates]
45
+ {[updates]
46
46
 
47
47
  name=CentOS-$releasever - Updates
48
48
 
49
49
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
50
50
 
51
- #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
51
+ {#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/}
52
52
 
53
53
  gpgcheck=1
54
54
 
55
- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
55
+ {gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6}
56
56
 
57
57
  }
58
58
 
@@ -70,17 +70,13 @@
70
70
 
71
71
  name=Extra Packages for Enterprise Linux 6 - $basearch
72
72
 
73
- #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
73
+ {#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch}
74
74
 
75
75
  mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
76
76
 
77
77
  failovermethod=priority
78
78
 
79
79
  enabled=1
80
-
81
- gpgcheck=1
82
-
83
- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
84
80
 
85
81
  }
86
82
 

3

2016/04/10 06:45

投稿

Masashi_Ikuz
Masashi_Ikuz

スコア15

test CHANGED
File without changes
test CHANGED
@@ -32,7 +32,7 @@
32
32
 
33
33
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
34
34
 
35
- #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
35
+ {#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/}
36
36
 
37
37
  gpgcheck=1
38
38
 

2

2016/04/10 06:39

投稿

Masashi_Ikuz
Masashi_Ikuz

スコア15

test CHANGED
File without changes
test CHANGED
File without changes

1

2016/04/10 06:37

投稿

Masashi_Ikuz
Masashi_Ikuz

スコア15

test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,9 @@
22
22
 
23
23
  なお、現在のCentOS-Base.repoの設定は下記の通りです。
24
24
 
25
- ----------------------------------------------------------
25
+ --------------------------------------------------------
26
+
27
+ {
26
28
 
27
29
  [base]
28
30
 
@@ -52,13 +54,17 @@
52
54
 
53
55
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
54
56
 
57
+ }
58
+
55
- ----------------------------------------------------------
59
+ --------------------------------------------------------
56
60
 
57
61
 
58
62
 
59
63
  また、epel.repo も有効にしています。
60
64
 
61
- ----------------------------------------------------------
65
+ --------------------------------------------------------
66
+
67
+ {
62
68
 
63
69
  [epel]
64
70
 
@@ -76,13 +82,19 @@
76
82
 
77
83
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
78
84
 
85
+ }
86
+
87
+
88
+
79
- ----------------------------------------------------------
89
+ ----------------------------------------------------------
80
90
 
81
91
 
82
92
 
83
93
  上記の設定で、yum updateを実行しますと、下記の結果が返ってきます。
84
94
 
85
- ----------------------------------------------------------
95
+ ----------------------------------------------------------
96
+
97
+ {
86
98
 
87
99
  [root@tk2-255-37397 ~]# yum update
88
100
 
@@ -120,7 +132,7 @@
120
132
 
121
133
  更新と設定されたパッケージがありません。
122
134
 
123
-
135
+ }
124
136
 
125
137
  ----------------------------------------------------------
126
138