LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-07-2006, 03:40 PM   #1
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
FC5 Update Alerter


I'm running FC5 and I've generally always used RH variants of some sort and starting at a certain point they all had an up2date indicator on my task bar that told me it was time to update. In the past I've always seen the red exclamation point and dropped to a command line and ran my update command I made that would update the system.

Is there some sort of visual warning on fc5 that will tell you it is time to update? If there isn't then I'm probably going to create a cron job to update. Any suggestions would be appreciated.
 
Old 04-08-2006, 12:14 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Its one major ommision in FC5. The only way to stay up to date is to update regularly e.g. once a week or whichever suites you.
 
Old 04-08-2006, 12:42 PM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You can just add this cron entry:

Code:
0 12 * * * /usr/bin/yum check-update &>/dev/null ; if [ "$?" == "100" ] ; then CONS=`/bin/ls -l /dev/console | /usr/bin/awk '{print $3}'` ; (/bin/su - $CONS -c '/usr/bin/zenity --info --text="There are new updates available"' &>/dev/null &) ; fi

Once a day at noon (or whenever you set the cron job to run), it will check for new updates. If it finds any, you will get a pop-up message on your screen to let you know. To see the message, manually enter the command:

Code:
zenity --info --text="There are new updates available"
It's not exactly an icon, but it does the job. Personally, I just let my machines apply maintenance daily automatically.
 
Old 04-08-2006, 03:13 PM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
I just turn on and start the "yum" service so it automatically updates every night for me without my intervention; see http://fedora.redhat.com/docs/yum/sn...matic-updating
 
Old 04-10-2006, 08:42 AM   #5
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Original Poster
Rep: Reputation: 45
Thanks for the input! I think I'm going to turn on automatic updates but I'm going to use the zenity command to let me know it has happened. I just want to be aware of when something's happening.
 
  


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
How OFTEN and how MUCH to update FC5 Hitboxx Fedora 3 04-17-2006 09:33 PM
Boot failure after upgrading FC5 TR3 to FC5 Official Release fsb1284 Fedora 3 03-25-2006 09:12 AM
FC5-test3 --> FC5-release - Anyone tried it? GL1800 Fedora 5 03-22-2006 04:16 PM
FC5 development release and FC5 official release- where is the DVD iso? smiley_lauf Fedora 11 03-13-2006 01:38 PM
gaim mail alerter firestomper41 Mandriva 2 09-12-2004 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:11 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
Open Source Consulting | Domain Registration