■「Not using downloaded repomd.xml because it is older than what we have」というメールが届く
1時間ごとに、Cronから以下のようなメールが届く
/etc/cron.hourly/0yum-hourly.cron:
Not using downloaded repomd.xml because it is older than what we have:
Current : Wed Oct 31 07:04:57 2018
Downloaded: Wed Oct 24 04:10:45 2018
「リポジトリの情報が更新されたので、サーバ上にある情報は古いです」という内容
yumのキャッシュをクリアすることで解消する
以下は実行例
$ sudo yum clean all
読み込んだプラグイン:fastestmirror, priorities, update-motd, upgrade-helper
リポジトリーを清掃しています: amzn-main amzn-updates zabbix zabbix-non-supported
Cleaning up everything
Cleaning up list of fastest mirrors
yum のエラー「Not using downloaded repomd.xml because it is older than what we have」 - ラボラジアン
https://laboradian.com/yum-errr-not-using-downloaded-repomd-xml-older-have/
[忘備録]yumでリポジトリエラーが出る場合の対処法[CentOS]
https://blog.k-abe.com/memo/post-157
yum update でエラー | 自宅サーバー構築メモ(CentOS)
http://yokensaka.com/centos/?p=483
カスタムRPMや独自yumリポジトリではじめるソフトウェア管理術 | さくらのナレッジ
https://knowledge.sakura.ad.jp/1086/
それでも駄目な場合、yumのキャッシュを直接削除してみる
# cd /var/cache/yum
# ll
合計 4
drwxr-xr-x 3 root root 4096 10月 28 14:33 x86_64
# rm -rf x86_64
# ll
合計 0
それでも駄目なことがあったが、数日放置すると収まった
参照先リポジトリの問題で、そちらで何かしらの対策がされたか
CentOS7.6でyumが「Not using downloaded remi-safe/repomd.xml because it is older than what we have」というエラーを吐いた - Qiita
https://qiita.com/shimano_equipped/items/c4dfa635216f804e2fcd
Cronからremi-safeに関するメールが届いた場合の3つの対処法 | Minory
https://minory.org/cron-remi-safe.html