Dummies Guide for up2date -> yum?

Sandor W. Sklar ssklar at stanford.edu
Fri Oct 5 17:15:57 UTC 2007


thanks for the info .. that was what I was looking for.

	-s-

On Oct 5, 2007, at 9:20 AM, Chris St. Pierre wrote:

> On Thu, 4 Oct 2007, Sandor W. Sklar wrote:
>
>> Can anyone point me to an "idiot's guide" for going from up2date  
>> to yum?
>
> Other folks have pointed you to the general (mostly excellent)
> documentation, but you asked for specifics, so...
>
>> up2date --dry-run foobar
>
> I don't believe yum has an equivalent behavior to this.  I think the
> closest would be 'yum deplist foobar'
>
>> up2date -u
>
> yum -y --exclude='kernel*' update
>
> Yum doesn't exclude the kernel and modules from updates like up2date.
> If you really want this behavior, you can run the command above.  You
> could also try adding:
>
> exclude=kernel*
>
> to the "[main]" section in your /etc/yum/pluginconf.d/rhnplugin.conf
> file; I'm not sure if that would work or not, but I'd guess it would.
>
>> up2date -uf
>
> yum -y update
>
> Much easier when you don't want to exclude anything. :)
>
> Good luck!
>
> Chris St. Pierre
> Unix Systems Administrator
> Nebraska Wesleyan University
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
Sandor W. Sklar, Unix Systems Administrator
Stanford University Libraries & Academic Information Resources (SULAIR)
<http://library.stanford.edu>






More information about the redhat-list mailing list