[CentOS] how to exclude a pkg in yum .conf

Johnny Hughes

mailing-lists at hughesjr.com
Wed Jan 31 04:39:24 UTC 2007


On Wed, 2007-01-31 at 09:43 +0530, Indunil Jayasooriya wrote:
> Hi all, 
> 
> I want to know how to exclude a pkg in yum .conf. 
> below is my yum.conf .
> 
> I have excluded asterisk-sounds.  but I does not work. 
> 
> Why , Can you rectify me?
> 
> 
> 
> [dries]
> name=Extra Fedora rpms dries - $releasever - $basearch 
> baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/dries/RPMS
> --exclude=[asterisk-sounds]
> dries.repo (END)


exclude=asterisk-sounds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070130/c3432642/attachment-0001.sig>


More information about the CentOS mailing list