Ask Your Question

Scheduling updates dnf

asked 2018-11-09 03:54:31 -0600

Phoenix_masshhad gravatar image

updated 2018-11-09 03:56:26 -0600

Hi I'm trying to schedule a update to execute a hours special. Can anyone tell me?

edit retag flag offensive close merge delete



@Phoenix_masshhad , I think you're asking for this AutoUpdates, and automatic

hhlp gravatar imagehhlp ( 2018-11-09 04:09:29 -0600 )edit

Take a look at the yum-cron packages: dnf search yum-cron

lkiesow gravatar imagelkiesow ( 2018-11-10 16:40:49 -0600 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-11-12 12:44:45 -0600

mattdm gravatar image

The tool you're looking for is called DNF Automatic. There's a good blog post on it here: Automatic package updates with dnf. In short:

sudo dnf install dnf-automatic
sudo systemctl enable dnf-automatic-install.timer
edit flag offensive delete link more

answered 2018-11-12 07:40:09 -0600

Phoenix_masshhad gravatar image

updated 2018-11-12 11:10:17 -0600

hi I used this packages


And thank you very much for @lkiesow for help

edit flag offensive delete link more



@Phoenix_masshhad as a comment of this if you look the instalation process you can apreciate that you're installing YUM too this packages was discontinued a years ago an replacement of it is DNF.

hhlp gravatar imagehhlp ( 2018-11-12 07:50:51 -0600 )edit

@hhlp I know

But the package did not find similar

Phoenix_masshhad gravatar imagePhoenix_masshhad ( 2018-11-12 11:12:10 -0600 )edit

You could simply have a bash script that executes ‘sudo dnf -y update’ and then use a cron job to schedule the execution of the job. That way you use dnf and you respect settings in dnf.conf

florian gravatar imageflorian ( 2018-11-12 11:32:36 -0600 )edit

Question Tools

1 follower


Asked: 2018-11-09 03:54:31 -0600

Seen: 165 times

Last updated: Nov 12 '18