On Wed, 2 Mar 2011, Keith Lofstrom wrote:

> I run a Redhat clone (Scientific Linux 5).  It uses "yum" for 
> updates.  I know how to exclude packages from update, but how do I 
> exclude single files?
>
> In this case, /etc/X11/xorg.conf .  I am using the fglrx driver, 
> which although closed source (sigh) is about 20x faster (glxgears) 
> than the open source r500 driver for ATI graphics chips. The update 
> package for x11 wants to update xorg.conf for me, and force me to 
> use r500, bless its pointy little head.

If you download the package in question directly and do the update 
with rpm instead of yum, then you can tell rpm to skip some or all of 
the scriptlets launched by the package, e.g.,

   rpm -U --nopre xorg-x11-server-Xorg

(or whatever the package is named in SL 6).

You can examine all the scriptlets in a binary rpm using "-q 
--scripts"; the rpm man page details the funkiness.

I don't think that yum has that level of subtlety, however, so if 
you're committed to it, then you'll have to find a more manual 
workaround.

-- 
Paul Heinlein <> [email protected] <> http://www.madboa.com/
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to