Ask Your Question
0

How to upgrade to Fedora 24 using gnome-software gui

asked 2016-07-29 08:32:14 -0500

basic6 gravatar image

updated 2016-08-25 10:36:01 -0500

The official way to upgrade Fedora is using the dnf system-upgrade plugin, on the command line.

Now, there seems to be a new way of upgrading to the latest Fedora release, using the graphical software tool called "gnome-software". According to an article in the Fedora magazine, it should be possible to upgrade a Fedora 23 system to Fedora 24 using this tool.

This program does show this message "Fedora 24 ready to be installed" and after clicking "Download", the "Install" button is visible. However, after clicking on "Install" and entering the password, nothing happens.

How can this be debugged? How do you find out what went wrong?


The following line is printed when the "Install" button is clicked - if gnome-software is run in a terminal:

(gnome-software:20737): Gs-WARNING **: Calling org.gnome.SessionManager.Reboot failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

Clarification: The main question is "how to find out what went wrong", i.e., "get the error message" because clicking on "Install" did absolutely nothing.

Now, after running a regular system update (dnf update) and trying it again, the program has shown an error message - for the first time ever - rather than simply doing nothing, leaving the user in the dark. In this case, it couldn't "download" a file from file:///var/cache/PackageKit/24/metadata. Maybe the error handling has been improved in the meantime.

edit retag flag offensive close merge delete

4 Answers

Sort by » oldest newest most voted
0

answered 2016-08-30 04:14:04 -0500

basic6 gravatar image

updated 2016-08-30 04:19:38 -0500

Turns out it wasn't a third-party repo but KDE, or rather gnome-software itself which is unable to initiate the upgrade process in a KDE session. Log into a Gnome fork like Cinnamon and it works. That it doesn't show an error message is a bug that will hopefully be fixed soon.

edit flag offensive delete link more
2

answered 2016-08-25 12:23:58 -0500

davidva gravatar image

As complement to above answer you can see the repositories enabled with the next step...

dnf repolist enabled | tee $HOME/repo_list_enabled-log

I recommend you delete the "spot copr", because the packages now is officially provide by Fedora...

How to enable/disable repositories?

Also remove chrome "dnf -y remove chrome"

Also remove chromium "dnf -y remove chromium"

Why? some times this packages requires old libraries, the best choice is install after upgrade.

edit flag offensive delete link more
2

answered 2016-08-23 11:51:16 -0500

florian gravatar image

Disable all 3rd party repos, reboot, and try again.

edit flag offensive delete link more

Comments

But I have to add a general advice here. Stay away from Gnome Software (and PackageKit-based package managers) if you plan to use dnf. They don't get along well with each other. IMHO, there is no better way to upgrade than using dnf.

florian gravatar imageflorian ( 2016-08-25 09:41:02 -0500 )edit

@florian: Thanks for your answer, I will try the upgrade without 3rd party repos again. You should add additional information to your answer rather than commenting on it. Also, I'd still be interested in knowing if there's a way to get the error (message) that occurred in gnome-software when clicking "Install".

basic6 gravatar imagebasic6 ( 2016-08-25 10:17:46 -0500 )edit

You can do the following get a verbose log of what gnome software is doing

gnome-software --verbose | tee $HOME/gnome_software-log
florian gravatar imageflorian ( 2016-08-25 10:51:34 -0500 )edit

dnf update does not refresh metadata of Gnome Software. Gnome Software uses Packagkit as backend - that's why I recommend not using it. If you still want to refresh metadata of Gnome Software run pkcon refresh force in a terminal.

florian gravatar imageflorian ( 2016-08-25 10:53:00 -0500 )edit

If you want to refresh when doing an upgrade you you use the --refresh flag: dnf upgrade --refresh

dokterw gravatar imagedokterw ( 2016-08-28 14:19:44 -0500 )edit
1

answered 2016-07-29 10:28:55 -0500

aeperezt gravatar image

The article say:

The Software app will notify you there’s a new upgrade available of Fedora. The Updates tab in the app provides you with the option to download and install that version. You can keep working while you download the content, and then install when ready.

If you click on Download first it will take a while to download Fedora 24 then the install button will install it. If nothing happens is probably that the download is not completed. If the install button is enabled while download is not completed it is probable a bug.

I have not test this procedure my self, but used the dnf system-upgrade, I know download will take some time and after that it will reboot the system to install, graphical procedure must be the same.

edit flag offensive delete link more

Comments

This is not an answer to the question. I already said that I click on the "Download" button, wait for the download to finish, then click on the "Install" button and enter the password.

basic6 gravatar imagebasic6 ( 2016-07-29 10:52:07 -0500 )edit

Do you other repos beside Fedora?

aeperezt gravatar imageaeperezt ( 2016-07-29 11:01:28 -0500 )edit

This particular system uses the RPM Fusion repository, the Spot repository (Chromium) and Google (Chrome).

basic6 gravatar imagebasic6 ( 2016-08-01 06:21:19 -0500 )edit

Some times do to external repositories, there are conflicts on Fedora Upgrade as you are running it on GUI it is possible that it is not showing on it and that is why it is giving you issues, only solution I can think of is to try it on the terminal to see if you get errors and solve them. unless you disable the external repositories.

aeperezt gravatar imageaeperezt ( 2016-08-01 09:46:34 -0500 )edit

As florian says, disable 3rd party repos, that's what I had to do.

dokterw gravatar imagedokterw ( 2016-08-23 13:57:52 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-07-29 08:32:14 -0500

Seen: 943 times

Last updated: Aug 30 '16