Ask Your Question
0

Cannot upgrade from Fedora 23 to Fedora 24

asked 2017-12-18 04:10:42 -0600

dnf gravatar image

updated 2017-12-18 12:24:37 -0600

florian gravatar image

Actually I wanted to upgrade from Fedora 23 directly to 27, which failed as well as an direct upgrade to 25 which also failed. Hence I thought I do the upgrade step by step and upgrade my Fedora 23 to Fedora 24. However this update was also not successful due to a warning which is visble in the log down below.

My Question: How can I resolve this warning that prevents my upgrade from F23 to F24?

I mainly followed this instruction

After executing sudo dnf system-upgrade download --refresh --releasever=24 --allowerasing a long lust of packages is shown and (seemingly downloaded) but at the end, I get a warning: After the warning I also executed a check for the installed version and it still indicates Fedora 23.

Here is the log from the terminal:

 (867/867): webkitgtk-2.4.11-2.fc24.x86_64.rpm                                          6.2 MB/s |  12 MB     00:01                                                                                                                                                            
   ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                                                                         17 MB/s | 516 MB     00:29
    warning: /var/lib/dnf/system-upgrade/python2-iniparse-0.4-19.fc24.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 81b46521: NOKEY
    Importing GPG key 0x81B46521:
     Userid     : "Fedora (24) <fedora-24-primary@fedoraproject.org>"
     Fingerprint: 5048 BDBB A5E7 76E5 47B0 9CCC 73BD E983 81B4 6521
     From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-x86_64
    Is this ok [y/N]: y
    Key imported successfully
    warning: /var/lib/dnf/system-upgrade/mysql-community-libs-5.6.38-2.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
    Empty mirrorlist and no basepath specified!
    The downloaded packages were saved in cache until the next successful transaction.
    You can remove cached packages by executing 'dnf clean packages'.
    [root@sgbp7z ~]# cat /etc/*release
    Fedora release 23 (Twenty Three)
    NAME=Fedora
    VERSION="23 (Twenty Three)"
    ID=fedora
    VERSION_ID=23
    PRETTY_NAME="Fedora 23 (Twenty Three)"
    ANSI_COLOR="0;34"
    CPE_NAME="cpe:/o:fedoraproject:fedora:23"
    HOME_URL="https://fedoraproject.org/"
    BUG_REPORT_URL="https://bugzilla.redhat.com/"
    REDHAT_BUGZILLA_PRODUCT="Fedora"
    REDHAT_BUGZILLA_PRODUCT_VERSION=23
    REDHAT_SUPPORT_PRODUCT="Fedora"
    REDHAT_SUPPORT_PRODUCT_VERSION=23
    PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
    Fedora release 23 (Twenty Three)
    Fedora release 23 (Twenty Three)
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2017-12-18 14:56:42 -0600

ssieb gravatar image

The problem appears to be that you have at least one extra repository that isn't setup correctly. What is the output of dnf repolist?

Also, for some reason it is trying to install the EPEL version of mysql: mysql-community-libs-5.6.38-2.el7.x86_64.rpm, but you don't have keys setup for the repository it is getting that from.

edit flag offensive delete link more

Comments

The EPEL repository is not compatible with Fedora. So don't ever enable it. EPEL is for Redhat Enterprice Linux and Centos; not for Fedora. Besides, the Fedora repositories does provide the community version of mysql.

villykruse gravatar imagevillykruse ( 2017-12-19 15:20:31 -0600 )edit
1

answered 2017-12-18 12:12:18 -0600

sideburns gravatar image

Welcome to ask.fedora. The page in the documentation you should have linked to is Dnf system upgrade as that's the part that discusses what you're trying to do. I don't know what the warnings mean, as you didn't quote them, but the reason your system still reports Fedora 23 is that you've only downloaded the packages, not performed the upgrade. To do that, open a terminal and run this:

sudo dnf system-upgrade reboot

That will reboot your computer into a special configuration designed for system upgrades, upgrade your system then reboot into it, and your computer won't be available for use until it finishes, so plan to do this at a time when you don't expect to need it. For future reference, you can generally skip one version in an upgrade, so that once you're sure your upgrade went OK, you can go directly to F 26 if you want. Good luck, and feel free to come back any time you need help.

edit flag offensive delete link more

Comments

If you notice, there is no message about running that command. That is because the preparation stage failed.

ssieb gravatar imagessieb ( 2017-12-18 14:49:53 -0600 )edit

You're right; I sit corrected.

sideburns gravatar imagesideburns ( 2017-12-18 16:05:12 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-12-18 04:06:43 -0600

Seen: 309 times

Last updated: Dec 18 '17