yum tries to install the previous version of OOo

akonstam at trinity.edu akonstam at trinity.edu
Mon Oct 24 13:18:33 UTC 2005


On Sun, Oct 23, 2005 at 06:33:10PM -0500, Steven P. Ulrick wrote:
> 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.
> 
Or more simply run : yum --exclude="openoffice*" update
-- 

=======================================================================
General notions are generally wrong.
		-- Lady M.W. Montagu
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484




More information about the fedora-list mailing list