yum tries to install the previous version of OOo

Steven P. Ulrick lists at afolkey2.net
Sun Oct 23 23:33:10 UTC 2005


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

> On 10/24/05, Patrick Boutilier <boutilpj at 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




More information about the fedora-list mailing list