yum更新出錯解決辦法

#yum update -s

Is this ok [y/N]: y
        … … … 
# Error: You may also check that you have the correct GPG keys installed

不是吧!趕緊google了一下,發現國外有不少fedora用戶遇見過類似問題,有個解決
 
方法是:
rpm --import
http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

運行後不管用,仍然是這個錯誤,被yum鬱悶到了,別灰心,繼續找,終於在網上找
 
到了解決方法:
Run these from the terminal (command line):
rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY*
rpm --import
http://download.fedora.redhat.com/pu...-Fedora-Extras
rpm --import
http://rpm.livna.org/RPM-LIVNA-GPG-KEY

於是變通一下,運行:rpm --import /usr/share/doc/centos-release-3/RPM-GPG-KEY*完
 
了再運行yum update ethereal成功啦!---------------------題外:猜想剛纔wget的那個dag-
 
gpg-key應該是不對的了,如果再import一次會不會有問題呢?於是:
rpm --import
http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

然後再次:
yum -update wget (ethereal已update了,這次就update wget包吧!)
奇怪的是也成功了
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章