A certain engineer "COMPLEX"

開発メモ その45 Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

Problem


yum listでパッケージの一覧を確認しようと思ったら表示されたのが掲題のメッセージ。


$ yum list
読み込んだプラグイン:langpacks, product-id, search-disabled-repos, subscription-manager
Repo rhel-rs-for-rhel-7-server-eus-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7836591386407218947-key.pem
Repo rhel-ha-for-rhel-7-server-eus-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7836591386407218947-key.pem
Repo rhel-7-server-eus-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7836591386407218947-key.pem
Repo rhel-7-server-rt-beta-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7836591386407218947-key.pem
Repo rhel-rs-for-rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7836591386407218947-key.pem
Repo rhel-ha-for-rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7836591386407218947-key.pem
Repo rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7836591386407218947-key.pem
Repo rhel-7-server-rt-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7836591386407218947-key.pem
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

何これ?

Solution


Google先生に確認したところ下記のページを確認。

Have you ever ecounter this error "Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast"?If you are running a server that was...

数週間、アクティブなリポジトリに接続できなかった場合に表示される模様。
解決は下記。


$ yum clean all

コメントを残す

メールアドレスが公開されることはありません。

%d人のブロガーが「いいね」をつけました。