LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-05-2003, 04:50 PM   #1
gboutwel
Member
 
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?

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

Rep: Reputation: 49
a search in www.google.com/linux:

http://www.linuxlinks.com/Software/U...ts/index.shtml
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:35 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