0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

エラー: repo 'appstream' のメタデータのダウンロードに失敗しました (初心者向け)

Posted at

まず確認すること ( CentOS 6, 7 )

nmcli con mod "接続名" ipv4.dns 8.8.8.8
nmcli con up "接続名"

cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8

CentOS 7 は、レポジトリが 6 からかわったらしい。なので、変えてましょう。(この記事ではやりませんが、ぐぐったら山ほど出てきます。

それ以外の場合。

ChatGpt によると、Alma Linux 8, 9 では dnf コマンド群の内部依存パッケージ (.repo ファイルなど) に一部不整合などがある場合、タイトルのエラーになることがあるようです。
その場合、

.bash
# たぶん入っている (9) し、インストールしてもタイトルと同じエラー。
dnf install dnf-plugins-core
# もともと plugins-core があれば、これはオフラインで実行可
dnf config-manager --enable extras

それでもダメな場合

Alma Linux 10 をインストールした方が早いかも (執筆時点では未確認)

  • 理由: GPG鍵の更新やリポジトリ構成変更により、Alma Linux 8, 9 では不安定。(ChatGpt)

AlmaLinux 10の特徴 (ChatGpt)

  • 新しいGPG鍵とリポジトリ構成により、初期状態からdnfが安定して動作。
  • RPM-GPG-KEY-AlmaLinux-10により署名されたパッケージ群。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?