From: [EMAIL PROTECTED] on behalf of John Thomas 
>Anyone have a script to check a repo for updates and list the new files?

yum check-update

If you don't have the repo configured in yum, you can write a repo config, put 
it in /etc/yum.repos.d, and set enabled to 0.  Then use --enablerepo on it, and 
it will list the updates that you need (not all available updates, though).

If you need something that lists all new updates, whether you need them or not, 
you have more work to do.  But the python code of yum would be a good place to 
start.
--
Lamar Owen
Chief Information Officer
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC  28772
828-862-5554
www.pari.edu

_______________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to