LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-24-2007, 12:22 PM   #1
Funkester
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Rep: Reputation: 0
Schedule Package Updates Fedora Core 6?


Hi,

Please can you tell me if it's possible to schedule the Package Updates tool in Fedora Core 6? I would like to set it up to automaticallly check for, download and install any updates it finds on a daily basis at 1AM.

Is this possible, if so please can someone explain how I should set this up?

Many thanks,

Greg.
 
Old 01-26-2007, 11:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,675
Blog Entries: 54

Rep: Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953
Doesn't Yum come with a cronjob just for that? If it does you better exclude packages you know you are going to have problems with (due to dependencies: if any) before you automate it.
 
Old 01-26-2007, 12:10 PM   #3
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Even if yum didn't provide any cron jobs, you can simply create one yourself: run
Code:
man crontab
find out the time format, i.e. how you specify the run time, then as root run
Code:
crontab -e
and fill in a command to run yum at the specified time with needed arguments.

However if I were you I didn't do it. It doesn't take you that much time to run it when you're at the machine, but if you run it at 1pm and something goes wrong (as it well can go), you're in trouble. Also as the administrator, no matter how "just my pc" it is, you shouldn't let anybody -- even a yourself-defined cronjob, or especially that -- install any software without reviewing it/them. It's just foolish, if you ask me the easiest thing to keep a working, fine-running system working well is to not install updates to it without making sure they work. You think it's silly, that you can just go ahead and install the updates since they are "tested", but if you spend some time looking around at how much trouble people get by updating software without checking what's going on, you'll notice it's wiser to not automate any updates. It's a security threat also, since if at 1am you do an update of software chich creates a big security hole, and at 2am somebody gets to know it and wants to wrech-havoc your machine, you wouldn't even have woke up before it's all gone. Sounds very unprobable, but is possible.

Maybe the most famous, especially among newbies, are situations where somebody "did an update, don't remember what was updated" and then your screen is just blank, OS won't boot, bootloader blinks only two letters and kernel panics. And why? Just because you didn't check out what was updated -- this way you don't even know where to start looking
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
First updates with Yum over 1GB Fedora Core 5 gimmee Fedora 3 08-13-2006 09:24 PM
fedora core 4 updates scripttron75 Fedora 4 11-14-2005 04:12 AM
Instructions: 2.6.x src. kernel build for Redhat Base. Package Updates from Fedora mchirico Red Hat 0 05-11-2004 08:19 PM
Fedora updates - package does not have a valid GPG nygiants#1 Linux - Security 6 04-28-2004 11:46 AM
Fedora Core 2 (1.91) Problems after updates rstr Fedora 3 04-13-2004 07:39 PM


All times are GMT -5. The time now is 07:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration