Ask Your Question
3

How to Stop Fedora 24 Gnome Software Auto Updating?

asked 2016-08-23 04:42:47 -0600

David-LDA gravatar image

I would like to use only DNF for updates, but Gnome Software just told me I have updates, so I assume it is doing this automatically. How can I turn this off?

I found some old posts on the topic, but they are so old I am worried they are out of date... things change fast around here!

edit retag flag offensive close merge delete

Comments

I think the Gnome-Software-Center periodically does a dnf check-update and tells you if there are updated packages in your enabled repositories. But it definetely doesn't do a dnf update without your permission.

jake gravatar imagejake ( 2016-08-23 08:55:22 -0600 )edit
1

@jake Gnome Software uses PackageKit as its backend, not dnf. So it runs a pkcon refresh or pkcon refresh force to update its package metadata. If you click on Update in Gnome Software, it runs something like pkcon update...

florian gravatar imageflorian ( 2016-08-23 10:42:06 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2016-08-23 09:05:14 -0600

jake gravatar image

updated 2016-08-23 09:07:03 -0600

According to this askubuntu post you could try disabling gnome-software's automatic downloading of updates:

gsettings set org.gnome.software download-updates false

The description of that key reads:

If enabled, GNOME Software automatically downloads updates in the background and prompts the user to install them when ready.

edit flag offensive delete link more
0

answered 2016-08-23 10:32:19 -0600

florian gravatar image

updated 2018-07-03 00:14:28 -0600

My advice, if you want to disable Gnome Software, is to disable PackageKit, the service that fires Gnome Software. Simply mask the service:

systemctl mask packagekit.service

You can control PackageKit, the backend that Gnome Software uses, with the pkcon command (man pkcon) - if you do so, don't mask the service first.

If you want to know about stopping/disabling/masking a service unit, check out this article on Fedora Magazine - it explains it well.

edit flag offensive delete link more

Comments

1

I think the whole situation is bad for users, it's confusing. DNF and Gnome Software need to be linked somehow, or the software center be disabled easily.

David-LDA gravatar imageDavid-LDA ( 2016-09-02 06:26:26 -0600 )edit
1

I agree, it's confusing for new Fedora users. There will be a solution some time soon, maybe F26?

florian gravatar imageflorian ( 2016-09-04 09:28:48 -0600 )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-08-23 04:42:47 -0600

Seen: 5,818 times

Last updated: Jul 03 '18