[Centos] RHEL question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Steve,

'up2date' has a download only option (-d/--download); you could use that 
after some fashion (might take a little hacking) to routinely snag all 
upgrades post-ISO, and build your own apt repository. Take a look at 
repo-janitor (over on the FreshRPMS list), maybe it'll give you some ideas.

Start with something like:
   /usr/sbin/up2date --nox --showall > /tmp/allrpms.txt
   sed [magic sed switches to remove version] < /tmp/allrpms.txt > 
/tmp/all.txt
   for $line in /tmp/all.txt; do
     /usr/sbin/up2date --nox -d --tmpdir=/path/to/apt/repo --get $line
   done
   /commands/to/make/apt/repo

(complete psuedo code, not a bit of it tested :) )

-te

Steve Meyers wrote:
> I work for a small company, and we're running CentOS on our servers.  We 
> are looking to possibly move our most critical servers to RHEL.  We 
> currently use apt to deploy software upgrades to our servers.  I have a 
> question about RHEL subscriptions that they don't seem to be able to 
> answer for me.  If you have an RHEL subscription, do you have access to 
> manually download the RPMs?  We would prefer to deploy upgrades using 
> apt instead of up2date, for consistency, but we need to know whether we 
> can even do that on RHEL.
> 
> Thanks!
> 
> Steve Meyers
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxxx
> http://lists.caosity.org/mailman/listinfo/centos

-- 
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux