CentOS 5 x86_64 -- where is up2date?

Bill Campbell linux-sxs at celestial.com
Sat Sep 8 21:46:40 PDT 2007


On Sat, Sep 08, 2007, Collins Richey wrote:
>On 9/8/07, Bill Campbell <linux-sxs at celestial.com> wrote:
>> I'm trying to create an install server with all updates
>> installed, using a script that works on CentOS 4.5, but fails on
>> CentOS 5.0 as the /usr/bin/up2date program isn't available.
>>
>> ``yum search up2date'' returns references to up2date, but when I
>> run ``yum install up2date'' it doesn't find anything to update.
>>
>
>My belief is that up2date is gone. I don't have CentOS5 up at the
>moment, but at work our local repositories for RHEL5 use yum, whereas
>the earlier releases used up2date.
>
>Even if you do find a usable up2date, you'd better get cracking with
>converting your scripts to use yum, since that's the wave of the
>future.

That makes sense.

My script is based on one I found for merging updates with the
base distribution, and it used ``up2date --showall'', presumably
to get a list of the current versions of all packages.

Looking at the various options for ``yum list'' and trying them,
it doesn't appear that there's an easy option that gives the
Latest & Greatest version of all packages.  Parsing and comparing
the RPM version and release is not trivial as there's little
consistency in the way these are set, and they're often a
combination of alpha and numeric.

Bill
--
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Anyone who thinks Microsoft never does anything truly innovative isn't
paying attention to the part of the company that pushes the state of
its art: Microsoft's legal department. 
   --Ed Foster, InfoWorld Gripe Line columnist



More information about the Linux-users mailing list