$ yum history rollback <transaction id> $ yum history undo <transaction id>
Fedora Core のパッケージアップデートに yum を使う場合, GPG key をインポートせよとのエラーが出る.
You have enabled checking of packages via GPG keys. This is a good thing. However, you do not have any GPG public keys installed. You need to download the keys for packages you wish to install and install them. You can do that by running the command: rpm --import public.gpg.key For more information contact your distribution or package provider.
この場合,以下のようにして GPG key をインポートしておく.
rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
[参考]http://www.atmarkit.co.jp/flinux/rensai/linuxtips/672errymfc3.html
RHEL5 で up2date や GUI の「ソフトウェアアップデータ」でアップデートしようとすると
Metadata file does not match checksum ...
といわれて先に進めない.
以下のコマンドを実行して再度トライするとよい.
# yum clean metadata