[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: yum tries to install the previous version of OOo
From:       "Steven P. Ulrick" <lists () afolkey2 ! net>
Date:       2005-10-23 23:33:10
Message-ID: 20051023183310.26e2b241 () afolkey2 ! net
[Download RAW message or body]

On Mon, 24 Oct 2005 00:24:02 +0100
Paul Smith <phhs80@gmail.com> wrote:

> On 10/24/05, Patrick Boutilier <boutilpj@ednet.ns.ca> wrote:
> > > I have just updated OpenOffice with the official version 2.0 rpms.
> > > Subsequently, when I run the command "yum update", it tries to
> > > install the version 1.9.125. How can I avoid that behavior of yum?
> >
> > Add openoffice* to your exclude in /etc/yum.conf
> 
> Thanks, Patrick, but I do not find any "exclude" in /etc/yum.conf:
> 
> # more /etc/yum.conf
> [main]
> cachedir=/var/cache/yum
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=redhat-release
> tolerant=1
> exactarch=1
> retries=20
> obsoletes=1
> gpgcheck=1
> 
> # PUT YOUR REPOS HERE OR IN separate files named file.repo
> # in /etc/yum.repos.d
> #
> 
> Paul
> 

Hello, Paul
You can just add it yourself.  Somewhere in the [main] section put the
following line:
exclude=openoffice*

For example, your [main] section will now look like this:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
exclude=openoffice*

instead of what you pasted in your last email.  This should do what you
want.

Steven P. Ulrick

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic