teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

7

追加

2019/05/08 05:18

投稿

sasa56563
sasa56563

スコア22

title CHANGED
File without changes
body CHANGED
@@ -119,4 +119,61 @@
119
119
  --> トランザクションの確認を実行しています。
120
120
  ---> パッケージ remi-release.noarch 0:7.6-2.el7.remi を 削除
121
121
  --> 依存性解決を終了しました。
122
- ```
122
+ ```
123
+ 再度インストールしてみました。
124
+ yum -y install epel-release
125
+ rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
126
+ ```ここに言語を入力
127
+ # yum -y install epel-release
128
+ 読み込んだプラグイン:fastestmirror
129
+ Loading mirror speeds from cached hostfile
130
+ * base: ftp.nara.wide.ad.jp
131
+ * extras: ftp.nara.wide.ad.jp
132
+ * updates: ftp.nara.wide.ad.jp
133
+ 依存性の解決をしています
134
+ --> トランザクションの確認を実行しています。
135
+ ---> パッケージ epel-release.noarch 0:7-11 を インストール
136
+ --> 依存性解決を終了しました。
137
+
138
+ 依存性を解決しました
139
+
140
+ =============================================================================================================================================================================================================================================
141
+ Package アーキテクチャー バージョン リポジトリー 容量
142
+ =============================================================================================================================================================================================================================================
143
+ インストール中:
144
+ epel-release noarch 7-11 extras 15 k
145
+
146
+ トランザクションの要約
147
+ =============================================================================================================================================================================================================================================
148
+ インストール 1 パッケージ
149
+
150
+ 総ダウンロード容量: 15 k
151
+ インストール容量: 24 k
152
+ Downloading packages:
153
+ epel-release-7-11.noarch.rpm | 15 kB 00:00:11
154
+ Running transaction check
155
+ Running transaction test
156
+ Transaction test succeeded
157
+ Running transaction
158
+ インストール中 : epel-release-7-11.noarch 1/1
159
+ 検証中 : epel-release-7-11.noarch 1/1
160
+
161
+ インストール:
162
+ epel-release.noarch 0:7-11
163
+
164
+ 完了しました!
165
+ # rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
166
+ http://rpms.remirepo.net/enterprise/remi-release-7.rpm を取得中
167
+ 警告: /var/tmp/rpm-tmp.JSJG9T: ヘッダー V4 DSA/SHA1 Signature、鍵 ID 00f97f56: NOKEY
168
+ 準備しています... ################################# [100%]
169
+ 更新中 / インストール中...
170
+ 1:remi-release-7.6-2.el7.remi ################################# [100%]
171
+ # yum check-update
172
+ 読み込んだプラグイン:fastestmirror
173
+ Loading mirror speeds from cached hostfile
174
+
175
+
176
+ One of the configured repositories failed (不明),
177
+
178
+ ```
179
+ 結果は同じようです。

6

追加

2019/05/08 05:18

投稿

sasa56563
sasa56563

スコア22

title CHANGED
File without changes
body CHANGED
@@ -105,4 +105,18 @@
105
105
 
106
106
  同じcentosの/etc/yum.repos.d/CentOS-Base.repoをみても
107
107
 
108
- 内容は同じで書き換え等は行われていません。当然内容を差し替えても同じエラーが出ます。
108
+ 内容は同じで書き換え等は行われていません。当然内容を差し替えても同じエラーが出ます。
109
+
110
+ 一旦削除してみるとyumは動作します。
111
+
112
+ ```ここに言語を入力
113
+ yum remove epel-release
114
+ 読み込んだプラグイン:fastestmirror
115
+ 依存性の解決をしています
116
+ --> トランザクションの確認を実行しています。
117
+ ---> パッケージ epel-release.noarch 0:7-11 を 削除
118
+ --> 依存性の処理をしています: epel-release = 7 のパッケージ: remi-release-7.6-2.el7.remi.noarch
119
+ --> トランザクションの確認を実行しています。
120
+ ---> パッケージ remi-release.noarch 0:7.6-2.el7.remi を 削除
121
+ --> 依存性解決を終了しました。
122
+ ```

5

追加

2019/05/08 05:08

投稿

sasa56563
sasa56563

スコア22

title CHANGED
File without changes
body CHANGED
@@ -100,4 +100,9 @@
100
100
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
101
101
 
102
102
  ```
103
- yumについて今まであまり考えずに使っていたのですが、つまずいてしまいました、どうかよろしくお願いいたします。
103
+ yumについて今まであまり考えずに使っていたのですが、つまずいてしまいました、どうかよろしくお願いいたします。
104
+
105
+
106
+ 同じcentosの/etc/yum.repos.d/CentOS-Base.repoをみても
107
+
108
+ 内容は同じで書き換え等は行われていません。当然内容を差し替えても同じエラーが出ます。

4

追加

2019/05/08 04:47

投稿

sasa56563
sasa56563

スコア22

title CHANGED
File without changes
body CHANGED
@@ -34,6 +34,34 @@
34
34
  One of the configured repositories failed (不明),
35
35
  and yum doesn't have enough cached data to continue. At this point the only
36
36
  safe thing yum can do is fail. There are a few ways to work "fix" this:
37
+ 1. Contact the upstream for the repository and get them to fix the problem.
38
+
39
+ 2. Reconfigure the baseurl/etc. for the repository, to point to a working
40
+ upstream. This is most often useful if you are using a newer
41
+ distribution release than is supported by the repository (and the
42
+ packages for the previous distribution release still work).
43
+
44
+ 3. Run the command with the repository temporarily disabled
45
+ yum --disablerepo=<repoid> ...
46
+
47
+ 4. Disable the repository permanently, so yum won't use it by default. Yum
48
+ will then just ignore the repository until you permanently enable it
49
+ again or use --enablerepo for temporary usage:
50
+
51
+ yum-config-manager --disable <repoid>
52
+ or
53
+ subscription-manager repos --disable=<repoid>
54
+
55
+ 5. Configure the failing repository to be skipped, if it is unavailable.
56
+ Note that yum will try to contact the repo. when it runs most commands,
57
+ so will have to try and fail each time (and thus. yum will be be much
58
+ slower). If it is a very temporary problem though, this is often a nice
59
+ compromise:
60
+
61
+ yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
62
+
63
+ Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
64
+
37
65
  ・・・・・
38
66
  ```
39
67
  リポジトリの内容は以下の通りです。pingは通りますので疎通は通りDNS設定には問題がないようです。

3

訂正

2019/05/08 04:01

投稿

sasa56563
sasa56563

スコア22

title CHANGED
File without changes
body CHANGED
@@ -36,7 +36,7 @@
36
36
  safe thing yum can do is fail. There are a few ways to work "fix" this:
37
37
  ・・・・・
38
38
  ```
39
- リポジトリの内容は以下の通りです。pingは通りますので疎通は通りますのでDNS設定には問題がないようです。
39
+ リポジトリの内容は以下の通りです。pingは通りますので疎通は通りDNS設定には問題がないようです。
40
40
  ```
41
41
  vi /etc/yum.repos.d/CentOS-Base.repo
42
42
  [base]

2

訂正

2019/05/08 02:53

投稿

sasa56563
sasa56563

スコア22

title CHANGED
File without changes
body CHANGED
@@ -4,7 +4,7 @@
4
4
  WordPress 5.2 は PHP 5.6.20 以降を必要とするため、更新を実行できません
5
5
 
6
6
  ```
7
- ということなのでphpを7以降にバージョンアップ使用しました。
7
+ ということなのでphpを7以降にバージョンアップしようとしました。
8
8
  EPELリポジトリをインストールしました。
9
9
 
10
10
  ```ここに言語を入力

1

追加

2019/05/08 02:23

投稿

sasa56563
sasa56563

スコア22

title CHANGED
File without changes
body CHANGED
File without changes