On Tue, Jan 29, 2002 at 04:52:51PM -0500, Jeff Bearer wrote:
> Ed, can you send me the script?

#!/bin/sh

EXCL=/var/tmp/exclude-list
CONF=/etc/sysconfig/rhn/up2date

# Fixed list of packages to exclude from up2date
LIST="kernel*;"

[ -f $EXCL ] && rm -f $EXCL

echo -n "pkgSkipList=$LIST" > $EXCL

# Build a list of Ximian packages to exclude as well
rpm -qa | grep -- -ximian | sed -e 's/-[0-9].*//' | while read pkg
do
   echo -n "$pkg;" >> $EXCL
done
echo "" >> $EXCL

mv -f $CONF $CONF.old
grep -v "^pkgSkipList=" $CONF.old > $CONF
chmod 600 $CONF
cat $EXCL >> $CONF
rm -f $EXCL


> On Tue, 2002-01-29 at 15:56, Ed Wilts wrote:
> > On Tue, Jan 29, 2002 at 07:16:26PM +0000, Rodolfo J. Paiz wrote:

[snip]

> > > 3. Will Ximian Red Carpet play nice with RPM?
> > 
> > Red Carpet is RPM based.  What gets annoying is up2date - RC and up2date piss
> > each other off and want to stomp all over each other.  I've got a script that
> > finds all Ximian packages on your system and then updates your RHN config to
> > exclude those packages from being updated.  It means you get a big exclude
> > list but it does allow you to cleanly pick up those Red Hat released security
> > updates on a timely basis.  Holler if you want the script.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to