質問編集履歴

3

修正

2016/07/06 05:14

投稿

kentros511
kentros511

スコア122

test CHANGED
File without changes
test CHANGED
@@ -54,6 +54,52 @@
54
54
 
55
55
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
56
56
 
57
+ #additional packages that may be useful
58
+
59
+ [extras]
60
+
61
+ name=CentOS-$releasever - Extras
62
+
63
+ #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
64
+
65
+ baseurl=http://ftp.riken.jp/Linux/centos/$releasever/extras/$basearch/
66
+
67
+ gpgcheck=1
68
+
69
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
70
+
71
+
72
+
73
+ #additional packages that extend functionality of existing packages
74
+
75
+ [centosplus]
76
+
77
+ name=CentOS-$releasever - Plus
78
+
79
+ #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
80
+
81
+ baseurl=http://ftp.riken.jp/Linux/centos/$releasever/centosplus/$basearch/
82
+
83
+ gpgcheck=1
84
+
85
+ enabled=0
86
+
87
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
88
+
89
+
90
+
91
+ #contrib - packages by Centos Users
92
+
93
+ [contrib]
94
+
95
+ name=CentOS-$releasever - Contrib
96
+
97
+ #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra
98
+
99
+ baseurl=http://ftp.riken.jp/Linux/centos/$releasever/contrib/$basearch/
100
+
101
+ gpgcheck=1
102
+
57
103
 
58
104
 
59
105
  ```

2

追加

2016/07/06 05:14

投稿

kentros511
kentros511

スコア122

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,63 @@
1
+ ###Base-repo全文
2
+
3
+ ```ここに言語を入力
4
+
5
+ # CentOS-Base.repo
6
+
7
+ /$release/os/$basearch/
8
+
9
+ # The mirror system uses the connecting IP address of the client and the
10
+
11
+ # update status of each mirror to pick mirrors that are updated to and
12
+
13
+ # geographically closeto the client. You should use this for CentOS updates
14
+
15
+ # unless you are manually picking other mirrors.
16
+
17
+ #l
18
+
19
+ # If the mirrorlist= does not work for you, as a fall back you can try the
20
+
21
+ # remarked out baseurl= line instead.
22
+
23
+ #
24
+
25
+ #
26
+
27
+
28
+
29
+ [base]
30
+
31
+ name=CentOS-$releasever - Base
32
+
33
+ #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
34
+
35
+ baseurl=http://ftp.riken.jp/Linux/caos/centos/$releasever/os/$basearch/
36
+
37
+ gpgcheck=1
38
+
39
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
40
+
41
+
42
+
43
+ #released updates
44
+
45
+ [updates]
46
+
47
+ name=CentOS-$releasever - Updates
48
+
49
+ #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
50
+
51
+ baseurl=http://ftp.riken.jp/Linux/centos/$releasever/updates/$basearch/
52
+
53
+ gpgcheck=1
54
+
55
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
56
+
57
+
58
+
59
+ ```
60
+
1
61
  ###結果
2
62
 
3
63
  エラーが表示されないようになる

1

修正

2016/07/06 05:13

投稿

kentros511
kentros511

スコア122

test CHANGED
File without changes
test CHANGED
@@ -43,3 +43,7 @@
43
43
  ###環境
44
44
 
45
45
  CentOS6.7
46
+
47
+
48
+
49
+ $releaseverに変更したのにエラーな理由とどのように直すとエラーが消えるか知りたいです