Re: yum tries to install the previous version of OOo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux