Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-05-2003, 04:50 PM   #1
Registered: May 2001
Location: Norton, KS
Distribution: Mandrake, Xandros, and Debian 3.0 (Woody) as a proxy
Posts: 103

Rep: Reputation: 15
Automatting RPM Updates

I'm not very good with scripting... What I'd like is an script (or 2 scripts) that I can added to cron.daily that updates RPMS from 2 directories

Directory 1 (for example /updates/non-critical)
Directory 2 (for exmaple /updates/critical)

The script will install (if any) rpms from directory 1 only if that program is already installed but an older version & save the output & errors to /var/log/update-rpms, if none do nothing.

The script will install (iif any) rpms from directrory 2 only if that program is already installed but an older version, then shedule an reboot & save the output & errors to /var/log/crit-update-rpms, if none do nothing.

Is this asking too much, asking for nothing but trouble, or does someone know of a program/script that does this, or an example script that with some tweaking would do it?

Old 02-05-2003, 08:54 PM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
a search in


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
Automatting Telnet or SSH Login prashant_1012 Programming 6 09-12-2005 02:26 PM
rpm updates 123racoons Mandriva 2 07-24-2004 07:26 PM
Manual RPM Updates BxBoy Red Hat 9 03-12-2004 10:33 PM
ReHat 7.3 RPM updates /etc/girl Linux - Software 1 11-23-2003 05:03 PM
Keeping rpm updates Proud Linux - Software 2 05-21-2003 03:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 PM.

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