質問編集履歴

7

追加

2019/05/08 05:18

投稿

sasa56563
sasa56563

スコア22

test CHANGED
File without changes
test CHANGED
@@ -241,3 +241,117 @@
241
241
  --> 依存性解決を終了しました。
242
242
 
243
243
  ```
244
+
245
+ 再度インストールしてみました。
246
+
247
+ yum -y install epel-release
248
+
249
+ rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
250
+
251
+ ```ここに言語を入力
252
+
253
+ # yum -y install epel-release
254
+
255
+ 読み込んだプラグイン:fastestmirror
256
+
257
+ Loading mirror speeds from cached hostfile
258
+
259
+ * base: ftp.nara.wide.ad.jp
260
+
261
+ * extras: ftp.nara.wide.ad.jp
262
+
263
+ * updates: ftp.nara.wide.ad.jp
264
+
265
+ 依存性の解決をしています
266
+
267
+ --> トランザクションの確認を実行しています。
268
+
269
+ ---> パッケージ epel-release.noarch 0:7-11 を インストール
270
+
271
+ --> 依存性解決を終了しました。
272
+
273
+
274
+
275
+ 依存性を解決しました
276
+
277
+
278
+
279
+ =============================================================================================================================================================================================================================================
280
+
281
+ Package アーキテクチャー バージョン リポジトリー 容量
282
+
283
+ =============================================================================================================================================================================================================================================
284
+
285
+ インストール中:
286
+
287
+ epel-release noarch 7-11 extras 15 k
288
+
289
+
290
+
291
+ トランザクションの要約
292
+
293
+ =============================================================================================================================================================================================================================================
294
+
295
+ インストール 1 パッケージ
296
+
297
+
298
+
299
+ 総ダウンロード容量: 15 k
300
+
301
+ インストール容量: 24 k
302
+
303
+ Downloading packages:
304
+
305
+ epel-release-7-11.noarch.rpm | 15 kB 00:00:11
306
+
307
+ Running transaction check
308
+
309
+ Running transaction test
310
+
311
+ Transaction test succeeded
312
+
313
+ Running transaction
314
+
315
+ インストール中 : epel-release-7-11.noarch 1/1
316
+
317
+ 検証中 : epel-release-7-11.noarch 1/1
318
+
319
+
320
+
321
+ インストール:
322
+
323
+ epel-release.noarch 0:7-11
324
+
325
+
326
+
327
+ 完了しました!
328
+
329
+ # rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
330
+
331
+ http://rpms.remirepo.net/enterprise/remi-release-7.rpm を取得中
332
+
333
+ 警告: /var/tmp/rpm-tmp.JSJG9T: ヘッダー V4 DSA/SHA1 Signature、鍵 ID 00f97f56: NOKEY
334
+
335
+ 準備しています... ################################# [100%]
336
+
337
+ 更新中 / インストール中...
338
+
339
+ 1:remi-release-7.6-2.el7.remi ################################# [100%]
340
+
341
+ # yum check-update
342
+
343
+ 読み込んだプラグイン:fastestmirror
344
+
345
+ Loading mirror speeds from cached hostfile
346
+
347
+
348
+
349
+
350
+
351
+ One of the configured repositories failed (不明),
352
+
353
+
354
+
355
+ ```
356
+
357
+ 結果は同じようです。

6

追加

2019/05/08 05:18

投稿

sasa56563
sasa56563

スコア22

test CHANGED
File without changes
test CHANGED
@@ -213,3 +213,31 @@
213
213
 
214
214
 
215
215
  内容は同じで書き換え等は行われていません。当然内容を差し替えても同じエラーが出ます。
216
+
217
+
218
+
219
+ 一旦削除してみるとyumは動作します。
220
+
221
+
222
+
223
+ ```ここに言語を入力
224
+
225
+ yum remove epel-release
226
+
227
+ 読み込んだプラグイン:fastestmirror
228
+
229
+ 依存性の解決をしています
230
+
231
+ --> トランザクションの確認を実行しています。
232
+
233
+ ---> パッケージ epel-release.noarch 0:7-11 を 削除
234
+
235
+ --> 依存性の処理をしています: epel-release = 7 のパッケージ: remi-release-7.6-2.el7.remi.noarch
236
+
237
+ --> トランザクションの確認を実行しています。
238
+
239
+ ---> パッケージ remi-release.noarch 0:7.6-2.el7.remi を 削除
240
+
241
+ --> 依存性解決を終了しました。
242
+
243
+ ```

5

追加

2019/05/08 05:08

投稿

sasa56563
sasa56563

スコア22

test CHANGED
File without changes
test CHANGED
@@ -203,3 +203,13 @@
203
203
  ```
204
204
 
205
205
  yumについて今まであまり考えずに使っていたのですが、つまずいてしまいました、どうかよろしくお願いいたします。
206
+
207
+
208
+
209
+
210
+
211
+ 同じcentosの/etc/yum.repos.d/CentOS-Base.repoをみても
212
+
213
+
214
+
215
+ 内容は同じで書き換え等は行われていません。当然内容を差し替えても同じエラーが出ます。

4

追加

2019/05/08 04:47

投稿

sasa56563
sasa56563

スコア22

test CHANGED
File without changes
test CHANGED
@@ -70,6 +70,62 @@
70
70
 
71
71
  safe thing yum can do is fail. There are a few ways to work "fix" this:
72
72
 
73
+ 1. Contact the upstream for the repository and get them to fix the problem.
74
+
75
+
76
+
77
+ 2. Reconfigure the baseurl/etc. for the repository, to point to a working
78
+
79
+ upstream. This is most often useful if you are using a newer
80
+
81
+ distribution release than is supported by the repository (and the
82
+
83
+ packages for the previous distribution release still work).
84
+
85
+
86
+
87
+ 3. Run the command with the repository temporarily disabled
88
+
89
+ yum --disablerepo=<repoid> ...
90
+
91
+
92
+
93
+ 4. Disable the repository permanently, so yum won't use it by default. Yum
94
+
95
+ will then just ignore the repository until you permanently enable it
96
+
97
+ again or use --enablerepo for temporary usage:
98
+
99
+
100
+
101
+ yum-config-manager --disable <repoid>
102
+
103
+ or
104
+
105
+ subscription-manager repos --disable=<repoid>
106
+
107
+
108
+
109
+ 5. Configure the failing repository to be skipped, if it is unavailable.
110
+
111
+ Note that yum will try to contact the repo. when it runs most commands,
112
+
113
+ so will have to try and fail each time (and thus. yum will be be much
114
+
115
+ slower). If it is a very temporary problem though, this is often a nice
116
+
117
+ compromise:
118
+
119
+
120
+
121
+ yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
122
+
123
+
124
+
125
+ Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
126
+
127
+
128
+
73
129
  ・・・・・
74
130
 
75
131
  ```

3

訂正

2019/05/08 04:01

投稿

sasa56563
sasa56563

スコア22

test CHANGED
File without changes
test CHANGED
@@ -74,7 +74,7 @@
74
74
 
75
75
  ```
76
76
 
77
- リポジトリの内容は以下の通りです。pingは通りますので疎通は通りますのでDNS設定には問題がないようです。
77
+ リポジトリの内容は以下の通りです。pingは通りますので疎通は通りDNS設定には問題がないようです。
78
78
 
79
79
  ```
80
80
 

2

訂正

2019/05/08 02:53

投稿

sasa56563
sasa56563

スコア22

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  ```
12
12
 
13
- ということなのでphpを7以降にバージョンアップ使用しました。
13
+ ということなのでphpを7以降にバージョンアップしようとしました。
14
14
 
15
15
  EPELリポジトリをインストールしました。
16
16
 

1

追加

2019/05/08 02:23

投稿

sasa56563
sasa56563

スコア22

test CHANGED
File without changes
test CHANGED
File without changes