So, I did upgrade to Fedora 20 via the fedup tool. It turns out that this upgrade path has a bug that removes the old update software and misses to install the new tool, called gnome-software (see bug report #1039097).

Next thing I installed gnome-software package manually with $ sudo yum install gnome-software.

Now I see a „Software“ application in the gnome application overview in the gnome-shell. But the gnome-software app shows no updates :-(

It turns out that gnome-software only shows completely downloaded and resolved packages.

So somebody needs to do this. I’m not sure which part of the system is responsible for checking for upates and download and resolve those, maybe PackageKit (PackageKit-0.8.16-1.fc20.x86_64.rpm).

PackageKit installs a systemd service called packagekit.service. But this service is up and running, but still no updates are shown in the gnome-software:

$ systemctl status packagekit.service<br /> packagekit.service - PackageKit Daemon<br /> Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static)<br /> Active: active (running) since Sa 2014-02-08 11:38:21 CET; 18min ago<br /> Main PID: 4934 (packagekitd)<br /> CGroup: /system.slice/packagekit.service

It also turn out that PackageKit provides a nice command line utility called <a href="https://gitorious.org/packagekit/packagekit/source/760d3f79e81482c68d02309de3de50fdc61f56e8:client/pkcon.xml">pkcon</a> which offers the functionality offered in the GUI:

  • $ pkcon refresh force – Refresh metadata
  • $ pkcon update – Download and installs all available packages, that have updates

Above two commands did the trick for me, but gnome-software still shows no updates :-(

You may want also to try out the pkmon tool, which is an interactive monitor of all dbus things going on for PackageKit.

I guess something that check for updates in an regular interval isn’t running or something like this.

There also seems other options in gnome to install updates:

  • Settings -> Details -> Install Updates
  • $ gpk-prefs -> Check now

Sadly both above options just seems to start „gpk-update-viewer“, so when the package „gnome-packagekit-updater“ is not installed, both buttons do nothing…

Other relevant resources:

When you run gnome-software on the commandline, there is also an verbose flag:

``So, I did upgrade to Fedora 20 via the fedup tool. It turns out that this upgrade path has a bug that removes the old update software and misses to install the new tool, called gnome-software (see bug report #1039097).

Next thing I installed gnome-software package manually with $ sudo yum install gnome-software.

Now I see a „Software“ application in the gnome application overview in the gnome-shell. But the gnome-software app shows no updates :-(

It turns out that gnome-software only shows completely downloaded and resolved packages.

So somebody needs to do this. I’m not sure which part of the system is responsible for checking for upates and download and resolve those, maybe PackageKit (PackageKit-0.8.16-1.fc20.x86_64.rpm).

PackageKit installs a systemd service called packagekit.service. But this service is up and running, but still no updates are shown in the gnome-software:

$ systemctl status packagekit.service<br /> packagekit.service - PackageKit Daemon<br /> Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static)<br /> Active: active (running) since Sa 2014-02-08 11:38:21 CET; 18min ago<br /> Main PID: 4934 (packagekitd)<br /> CGroup: /system.slice/packagekit.service

It also turn out that PackageKit provides a nice command line utility called <a href="https://gitorious.org/packagekit/packagekit/source/760d3f79e81482c68d02309de3de50fdc61f56e8:client/pkcon.xml">pkcon</a> which offers the functionality offered in the GUI:

  • $ pkcon refresh force – Refresh metadata
  • $ pkcon update – Download and installs all available packages, that have updates

Above two commands did the trick for me, but gnome-software still shows no updates :-(

You may want also to try out the pkmon tool, which is an interactive monitor of all dbus things going on for PackageKit.

I guess something that check for updates in an regular interval isn’t running or something like this.

There also seems other options in gnome to install updates:

  • Settings -> Details -> Install Updates
  • $ gpk-prefs -> Check now

Sadly both above options just seems to start „gpk-update-viewer“, so when the package „gnome-packagekit-updater“ is not installed, both buttons do nothing…

Other relevant resources:

When you run gnome-software on the commandline, there is also an verbose flag:

``

Above message ("failed to get updates: no results to show") is created here:

$ grep -Rn "failed to get updates" *<br /> <a href="https://git.gnome.org/browse/gnome-software/tree/src/gs-shell-updates.c#n334">src/gs-shell-updates.c:334</a>: g_warning ("failed to get updates: %s", error->message);<br /> <a href="https://git.gnome.org/browse/gnome-software/tree/src/gs-update-monitor.c#n300">src/gs-update-monitor.c:300</a>: g_warning ("failed to get updates: %s", error->message);<br /> <a href="https://git.gnome.org/browse/gnome-software/tree/src/gs-update-monitor.c#n308">src/gs-update-monitor.c:308</a>: g_warning ("failed to get updates: %s, %s",

More packages of interest. These packages are gnome software that interact with PackageKit:

  • gnome-packagekit.x86_64 : Session applications to manage packages
  • gnome-packagekit-installer.x86_64 : PackageKit package installer
  • gnome-packagekit-updater.x86_64 : PackageKit package updater

gnome-packagekit brings among others these tools:

  • gpk-log
  • gpk-prefs

in gpk-prefs there seems to be an option, in what interval for updates is checked, the defaults seems to be daily.

gnome-packagekit-updater (is the depreacted program, gnome-software should replace this one) brings among others these tools:

  • gpk-update-viewer

[UPDATE]

This commit disabled PackageKit updates in gnome-software, so gnome-software will only show „prepared“ offline updates.

For offline system updates in gnome see these links:

And according to Richard Hughes’s blog post gnome-settings-daemon is responsible for download and preparing the offline updates. So the question is what is hindering gnome-settings-daemon to do so on my system!?

DConf settings of the updates plugin in the gnome-settings-daemon:

$ dconf read /org/gnome/settings-daemon/plugins/updates/last-updates-notification

You may want to install dconf-editor

Start gnome-settings-daemon in debug mode:

$ /usr/libexec/gnome-settings-daemon -r --debug

The default value is to check every 24 hours in gnome-settings-daemon:

Bildschirmfoto von »2014-02-08 15:36:21«

Changing this value to something less, let the update-plugin in gnome-settings-daemon trigger/start the packagekit.service which in turn downloads the relevant packages.

```So, I did upgrade to Fedora 20 via the fedup tool. It turns out that this upgrade path has a bug that removes the old update software and misses to install the new tool, called gnome-software (see bug report #1039097).

Next thing I installed gnome-software package manually with $ sudo yum install gnome-software.

Now I see a „Software“ application in the gnome application overview in the gnome-shell. But the gnome-software app shows no updates :-(

It turns out that gnome-software only shows completely downloaded and resolved packages.

So somebody needs to do this. I’m not sure which part of the system is responsible for checking for upates and download and resolve those, maybe PackageKit (PackageKit-0.8.16-1.fc20.x86_64.rpm).

PackageKit installs a systemd service called packagekit.service. But this service is up and running, but still no updates are shown in the gnome-software:

$ systemctl status packagekit.service<br /> packagekit.service - PackageKit Daemon<br /> Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static)<br /> Active: active (running) since Sa 2014-02-08 11:38:21 CET; 18min ago<br /> Main PID: 4934 (packagekitd)<br /> CGroup: /system.slice/packagekit.service

It also turn out that PackageKit provides a nice command line utility called <a href="https://gitorious.org/packagekit/packagekit/source/760d3f79e81482c68d02309de3de50fdc61f56e8:client/pkcon.xml">pkcon</a> which offers the functionality offered in the GUI:

  • $ pkcon refresh force – Refresh metadata
  • $ pkcon update – Download and installs all available packages, that have updates

Above two commands did the trick for me, but gnome-software still shows no updates :-(

You may want also to try out the pkmon tool, which is an interactive monitor of all dbus things going on for PackageKit.

I guess something that check for updates in an regular interval isn’t running or something like this.

There also seems other options in gnome to install updates:

  • Settings -> Details -> Install Updates
  • $ gpk-prefs -> Check now

Sadly both above options just seems to start „gpk-update-viewer“, so when the package „gnome-packagekit-updater“ is not installed, both buttons do nothing…

Other relevant resources:

When you run gnome-software on the commandline, there is also an verbose flag:

``So, I did upgrade to Fedora 20 via the fedup tool. It turns out that this upgrade path has a bug that removes the old update software and misses to install the new tool, called gnome-software (see bug report #1039097).

Next thing I installed gnome-software package manually with $ sudo yum install gnome-software.

Now I see a „Software“ application in the gnome application overview in the gnome-shell. But the gnome-software app shows no updates :-(

It turns out that gnome-software only shows completely downloaded and resolved packages.

So somebody needs to do this. I’m not sure which part of the system is responsible for checking for upates and download and resolve those, maybe PackageKit (PackageKit-0.8.16-1.fc20.x86_64.rpm).

PackageKit installs a systemd service called packagekit.service. But this service is up and running, but still no updates are shown in the gnome-software:

$ systemctl status packagekit.service<br /> packagekit.service - PackageKit Daemon<br /> Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static)<br /> Active: active (running) since Sa 2014-02-08 11:38:21 CET; 18min ago<br /> Main PID: 4934 (packagekitd)<br /> CGroup: /system.slice/packagekit.service

It also turn out that PackageKit provides a nice command line utility called <a href="https://gitorious.org/packagekit/packagekit/source/760d3f79e81482c68d02309de3de50fdc61f56e8:client/pkcon.xml">pkcon</a> which offers the functionality offered in the GUI:

  • $ pkcon refresh force – Refresh metadata
  • $ pkcon update – Download and installs all available packages, that have updates

Above two commands did the trick for me, but gnome-software still shows no updates :-(

You may want also to try out the pkmon tool, which is an interactive monitor of all dbus things going on for PackageKit.

I guess something that check for updates in an regular interval isn’t running or something like this.

There also seems other options in gnome to install updates:

  • Settings -> Details -> Install Updates
  • $ gpk-prefs -> Check now

Sadly both above options just seems to start „gpk-update-viewer“, so when the package „gnome-packagekit-updater“ is not installed, both buttons do nothing…

Other relevant resources:

When you run gnome-software on the commandline, there is also an verbose flag:

``

Above message ("failed to get updates: no results to show") is created here:

$ grep -Rn "failed to get updates" *<br /> <a href="https://git.gnome.org/browse/gnome-software/tree/src/gs-shell-updates.c#n334">src/gs-shell-updates.c:334</a>: g_warning ("failed to get updates: %s", error->message);<br /> <a href="https://git.gnome.org/browse/gnome-software/tree/src/gs-update-monitor.c#n300">src/gs-update-monitor.c:300</a>: g_warning ("failed to get updates: %s", error->message);<br /> <a href="https://git.gnome.org/browse/gnome-software/tree/src/gs-update-monitor.c#n308">src/gs-update-monitor.c:308</a>: g_warning ("failed to get updates: %s, %s",

More packages of interest. These packages are gnome software that interact with PackageKit:

  • gnome-packagekit.x86_64 : Session applications to manage packages
  • gnome-packagekit-installer.x86_64 : PackageKit package installer
  • gnome-packagekit-updater.x86_64 : PackageKit package updater

gnome-packagekit brings among others these tools:

  • gpk-log
  • gpk-prefs

in gpk-prefs there seems to be an option, in what interval for updates is checked, the defaults seems to be daily.

gnome-packagekit-updater (is the depreacted program, gnome-software should replace this one) brings among others these tools:

  • gpk-update-viewer

[UPDATE]

This commit disabled PackageKit updates in gnome-software, so gnome-software will only show „prepared“ offline updates.

For offline system updates in gnome see these links:

And according to Richard Hughes’s blog post gnome-settings-daemon is responsible for download and preparing the offline updates. So the question is what is hindering gnome-settings-daemon to do so on my system!?

DConf settings of the updates plugin in the gnome-settings-daemon:

$ dconf read /org/gnome/settings-daemon/plugins/updates/last-updates-notification

You may want to install dconf-editor

Start gnome-settings-daemon in debug mode:

$ /usr/libexec/gnome-settings-daemon -r --debug

The default value is to check every 24 hours in gnome-settings-daemon:

Bildschirmfoto von »2014-02-08 15:36:21«

Changing this value to something less, let the update-plugin in gnome-settings-daemon trigger/start the packagekit.service which in turn downloads the relevant packages.

```

When we now restart the gnome-software program (is this restart necessary? I think the list is not regenerated dynamically by gnome-software?!) you’ll see the prepared packages for offline uprade:

Bildschirmfoto von »2014-02-08 15:40:27«

This is basically the same as calling:

$ pkcon offline-get-prepared<br /> Prepared updates:<br /> java-1.7.0-openjdk-devel-1:1.7.0.60-2.4.5.1.fc20.x86_64<br /> java-1.7.0-openjdk-1:1.7.0.60-2.4.5.1.fc20.x86_64<br /> libyaml-0.1.4-6.fc20.x86_64<br /> java-1.7.0-openjdk-headless-1:1.7.0.60-2.4.5.1.fc20.x86_64<br /> mock-1.1.36-1.fc20.noarch<br /> java-1.7.0-openjdk-src-1:1.7.0.60-2.4.5.1.fc20.x86_64<br /> java-1.7.0-openjdk-javadoc-1:1.7.0.60-2.4.5.1.fc20.noarch<br /> libnl3-3.2.24-1.fc20.x86_64<br /> java-1.7.0-openjdk-accessibility-1:1.7.0.60-2.4.5.1.fc20.x86_64

And when I understand this correctly the update plugin in gnome-setting-daemon just issues a „get-updates“ command to PackageKit.

So when updates are available $ pkcon update -d should download and prepare all packages available for update. After this command executes successfully, you should see them in gnome-software, so you don’t have to wait for the daily gnome-setting-manager check cycle, to get the latest packages…

[UPDATE2]

It turns out that running $ pkcon update -d is only enough to show the new updates in the gnome-software application (the file /var/lib/PackageKit/prepared-update exists). The gnome-shell will also present an option to „Install updates and restart“. But this option is only shown when the symlink from /system-update to /var/cache exists. This symlink is created by running $ pkcon offline-trigger.

Sadly this still show no „Restart and install updates“ in the gnome-shell, as only the „shutdownDialogContent“ is shown (from the EndSessionDialog object) …

To start the „restartDialogContent“ you can trigger via a message to dbus:

dbus-send --print-reply --dest="org.gnome.Shell" /org/gnome/SessionManager/EndSessionDialog org.gnome.SessionManager.EndSessionDialog.Open uint32:2 uint32:0

See this blog post for more details.

The Gnome team is aware of this, see bug #722898