手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

You must use fedup 0.8 to upgrade to Fedora 20(升级到Fedora 20)

[日期:2014-04-24] 来源:Linux社区  作者:Linux [字体: ]

document.write(tinyMCEPopup.editor.getContent());

I failed to upgrade Fedora 19 to Fedora 20 directly by running fedup sudo fedup--network20, you must do this firstly, following vbraun‘s advice.


sudo yum --enablerepo=updates-testing update fedup

If you have failed with fedup 0.7, you can do this to avoid redownload packages, following AdamW‘s advice.


sudo mv /var/lib/fedora-upgrade /var/lib/system-upgrade
sudo mv /var/tmp/fedora-upgrade /var/tmp/system-upgrade

And then, import GPG-KEY, following Sayen‘s advice:


sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-20

Finally,


sudo fedup --network 20

--------------------------------------------------------------------------------

For my case, before importing GPG KEY, error occured again:


...
warning: /var/tmp/system-upgrade/rpmfusion-nonfree/packages/rpmfusion-nonfree-release-20-1.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID b5f29883: NOKEY
Importing GPG key 0xB5F29883:
 Userid    : "RPM Fusion nonfree repository for Fedora (20) <rpmfusion-buildsys@lists.rpmfusion.org>"
 Fingerprint: a84d cf58 46cb 10b6 5c47 6c35 63c0 de8c b5f2 9883
 Package    : rpmfusion-nonfree-release-19-1.noarch (installed)
 From      : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-20

Downloading failed: Didn't install any key

At that moment, no one tell me a solution, so I ignored the KEY CHECK by


sudo fedup --network 20 --nogpgcheck

And, I works!!!

Sayen also adviced me to try this before run fedup. I think it better than the “–nogpgcheck solution”.


sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-20

 

Thanks community: http://forums.fedoraforum.org/showthread.php?t=295846

Fedora wiki also mentioned: http://fedoraproject.org/wiki/Common_F20_bugs#fedup-07-fail

--------------------------------------------------------------------------------

Some others problems:

cpan does not work:


Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/share/perl5/Safe.pm line 4.
BEGIN failed--compilation aborted at /usr/share/perl5/Safe.pm line 4.
Compilation failed in require at /usr/share/perl5/CPAN.pm line 56.
BEGIN failed--compilation aborted at /usr/share/perl5/CPAN.pm line 56.
Compilation failed in require at /usr/share/perl5/App/Cpan.pm line 218.
BEGIN failed--compilation aborted at /usr/share/perl5/App/Cpan.pm line 218.
Compilation failed in require at /usr/bin/cpan line 9.
BEGIN failed--compilation aborted at /usr/bin/cpan line 9.

And another Perl script failed to start.


Perl API version v5.16.0 of Socket does not match v5.18.0 at /usr/share/perl5/XSLoader.pm line 92.
Compilation failed in require at /usr/share/perl5/Net/FTP.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/Net/FTP.pm line 17.

The solution is to clear the old modules, following 3rensho’s comment:


sudo rm -rf /usr/local/lib64/perl5/*
sudo rm -rf /usr/local/share/perl5/*

更多Fedora相关信息见Fedora 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=5

本文永久更新链接地址http://www.linuxidc.com/Linux/2014-04/100692.htm

linux
相关资讯       Fedora 20 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款