yum tries to install the previous version of OOo

Paul Smith phhs80 at gmail.com
Sun Oct 23 23:41:00 UTC 2005


On 10/24/05, Steven P. Ulrick <lists at afolkey2.net> 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
> > #
>
> 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.

Thanks, Steven. It works perfectly!

Paul




More information about the fedora-list mailing list