CensOS7でyum-cronからエラーメールが来るようになった

ナナの旦那

2020年01月30日 08:27

ファイルサーバとして利用しているCentOSのyum-cronからエラーメールが来るようになった。


/etc/cron.hourly/0yum-hourly.cron:

Not using downloaded remi-php71/repomd.xml because it is older than what we have:
Current : Tue Jan 28 17:07:54 2020
Downloaded: Mon Jan 27 14:54:00 2020
Not using downloaded remi-safe/repomd.xml because it is older than what we have:
Current : Tue Jan 28 17:14:53 2020
Downloaded: Mon Jan 27 16:17:28 2020



チェックしたファイルは持っているものより古いやつらだから使わないよってことだと思う。

検索してみるとキャッシュを削除したら良いということなので

# cd /var/cache/yum
# ls -l
total 0
drwxr-xr-x. 3 root root 15 7月 26 2019 x86_64
# rm -rf x86_64

これでOKかと

関連記事