On Mon, 2005-11-28 at 19:13 -0800, Kenneth Porter wrote: > I'm trying to get a working tomcat5 on my FC2 system. I found this posting > on the JPackage list on how to install JPackage packages on FC2: > > <https://www.zarb.org/pipermail/jpackage-discuss/2004-October/006052.html> > > Instead of putting the suggested exclusions in up2date, I figured yum had > per-repo exclusion, so I added them to the FC2 base repo descriptor file in > /etc/yum.repos.d. (I've been using yum-2.1 successfully, mainly for the > better metadata.) > > So I removed all the matching FC2 packages and then attempted "yum install > tomcat5". It looks to be attempting to install ant from the base repo, even > though there's one in JPackage and ant is in the base exclude list. What > could I be doing wrong? > > (Ultimately the install can't continue because it wants xerces-j to support > the ant from FC2 base, instead of xerces-j2 for the ant in JPackage.) > > When I ran into this I figured it was a bug in yum-2.1 so I updated to the > latest version in Rawhide. Same output. > > Here's my descriptor for base: > > [base] > name=Fedora Core $releasever - $basearch - Base > #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/ > baseurl=file:/opt/Fedora/FC$releasever/RPMS > #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever > enabled=1 > gpgcheck=1 > # exclude Java packages, we get those from JPackage > exclude=ant > exclude=ant-core > exclude=bcel > exclude=commons-* > exclude=jaf > exclude=jakarta-regexp > exclude=javamail > exclude=junit* > exclude=mod_jk* > exclude=mysql-jdbc > exclude=mx4j > exclude=servletapi > exclude=tomcat > exclude=xalan-j > exclude=xerces-j > you cannot list excludes like this. only one exclude entry - space or comma separated for the entries. if you _really_ want multiple lines then do: exclude=foo bar baz quux notice the space in front of them. that's what's causing the problem -sv