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

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) <[email protected]>"
 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/*

相关推荐