Ask Your Question
0

Fedora 27 dnf check-update shows no updates available yet getting message from gnome software manager that important OS updates area available

asked 2018-01-09 23:20:46 -0600

billwilliams gravatar image

Hi,

The gnome software manager GUI shows I have 1 important OS Update available and I can see there are many packages listed. However, dnf check-update as root shows everything is up to date.

Why is this happening?

And why does gnome software manager prompt me to reboot and install updates whereas when I use dnf to update/upgrade even to a new kernel I was not prompted to reboot?

Thanks,

Bill

edit retag flag offensive close merge delete

Comments

I did dnf refresh and dnf check-update found nothing. however dnf clean all followed by dnf check-update did find what was listed in gnome software manager and i did a dnf update and installed all the new packages. Do I have to reboot? I was not prompted to.

billwilliams gravatar imagebillwilliams ( 2018-01-09 23:26:49 -0600 )edit

Hi, this seems a duplicate of https://ask.fedoraproject.org/en/ques...

As for reboot or not. dnf and PackageKit (Gnome Software) take different approaches. You can have dnf tell you if any process requires restart after update. Just install dnf-plugin-tracer. (or dnf needs-restarting). Looks like this after dnf update

You should restart:
  * These applications manually:
      tracker-extract
florian gravatar imageflorian ( 2018-01-09 23:41:46 -0600 )edit

@florian thanks, that is the same question but it doesn't look like it was answered. Or maybe it was, and I don't understand the answer.

The problem stated is PackageKit says there are updates and dnf says there are not.

Without understanding anything here, I would guess If PackageKit is disabled then that just means now you have no way of knowing any updates are available. Or does disabling PackageKit make dnf work correctly and find the updates after all?

This is very confusing. Thank you, Bill

billwilliams gravatar imagebillwilliams ( 2018-01-10 00:49:42 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-10 14:13:33 -0600

ssieb gravatar image

dnf and PackageKit (which Gnome Software uses) unfortunately use different caches, so depending on when the updates are released, one will see them before the other depending on cache expiry times. I don't know what dnf refresh is supposed to do, that command is not even listed in the man page. What you should use is dnf --refresh check-update.

Gnome Software insists on offline updates to avoid strange issues that can confuse new users. dnf expects that you know what you are doing and understand the risks. If you disable PackageKit, you will not get notifications about updates and will have to run dnf yourself occasionally to check for updates.

edit flag offensive delete link more

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: 2018-01-09 23:20:46 -0600

Seen: 1,375 times

Last updated: Jan 10