Re: Yum update wants to overwrite newer app package

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



On Tue, Dec 11, 2007 at 02:13:10PM -0800, MHR enlightened us:
> > --- MHR <mhullrich@xxxxxxxxx> wrote:
> > > Now that I have upgraded to 5.1, yum wants to update
> > > my OOo from 2.3 BACK to 2.0.
> > >
> > > Is it possible to get yum to recognize that 2.3 is newer than 2.0, or
> should
> > > I just exclude OOo from the updates?
> > >
> > I'm thinking its operator error. :-D
> 
> Well, let's assume that you are right (and remember how one spells assume)
> and see:
> 
> # rpm -qa | grep -i openoffice
> openoffice.org-core03u-2.3.0-9221
> openoffice.org-core07-2.3.0-9221
> openoffice.org-onlineupdate-2.3.0-9221
> openoffice.org-writer-2.3.0-9221
> openoffice.org-core04-2.3.0-9221
> openoffice.org-core10-2.3.0-9221
> openoffice.org-mandriva-menus-2.3-9215
> openoffice.org-draw-2.3.0-9221
> openoffice.org-core03-2.3.0-9221
> openoffice.org-core09-2.3.0-9221
> openoffice.org-suse-menus-2.3-9215
> openoffice.org-headless-2.3.0-9221
> openoffice.org-pyuno-2.3.0-9221
> openoffice.org-core05u-2.3.0-9221
> openoffice.org-redhat-menus-2.3-9215
> openoffice.org-core-2.0.4-5.4.24
> openoffice.org-calc-2.3.0-9221
> openoffice.org-graphicfilter-2.3.0-9221
> openoffice.org-core04u-2.3.0-9221
> openoffice.org-freedesktop-menus-2.3-9215
> openoffice.org-gnome-integration-2.3.0-9221
> openoffice.org-math-2.3.0-9221
> openoffice.org-core01-2.3.0-9221
> openoffice.org-core06-2.3.0-9221
> openoffice.org-emailmerge-2.3.0-9221
> openoffice.org-core05-2.3.0-9221
> openoffice.org-impress-2.3.0-9221
> openoffice.org-core08-2.3.0-9221
> openoffice.org-kde-integration-2.3.0-9221
> openoffice.org-base-2.3.0-9221
> openoffice.org-core02-2.3.0-9221
> openoffice.org-xsltfilter-2.3.0-9221
> 
> # yum update
> Loading "installonlyn" plugin
> Setting up Update Process
> Setting up repositories
> kbs-CentOS-Extras         100% |=========================|  951 B    00:00
> 
> base                      100% |=========================| 1.1 kB    00:00
> 
> updates                   100% |=========================|  951 B    00:00
> 
> http://wuarchive.wustl.edu/pub/linux/distributions/centos/5.1/addons/x86_64/repodata/repomd.xml:
> [Errno 14] HTTP Error 500: Internal Server Error
> Trying other mirror.
> addons                    100% |=========================|  951 B    00:00
> 
> extras                    100% |=========================| 1.1 kB    00:00
> 
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package openoffice.org-calc.x86_64 1:2.0.4-5.4.24 set to be updated
> ---> Package openoffice.org-emailmerge.x86_64 1:2.0.4-5.4.24 set to be
> updated
> ---> Package openoffice.org-base.x86_64 1:2.0.4-5.4.24 set to be updated
> ---> Package openoffice.org-graphicfilter.x86_64 1:2.0.4-5.4.24 set to be
> updated
> ---> Package openoffice.org-math.x86_64 1:2.0.4-5.4.24 set to be updated
> ---> Package openoffice.org-xsltfilter.x86_64 1:2.0.4-5.4.24 set to be
> updated
> ---> Package openoffice.org-impress.x86_64 1:2.0.4-5.4.24 set to be updated
> ---> Package openoffice.org-draw.x86_64 1:2.0.4-5.4.24 set to be updated
> ---> Package openoffice.org-pyuno.x86_64 1:2.0.4-5.4.24 set to be updated
> ---> Package openoffice.org-writer.x86_64 1:2.0.4-5.4.24 set to be updated
> --> Running transaction check
> 
> Dependencies Resolved
> 
> =============================================================================
> Package                 Arch       Version          Repository        Size
> =============================================================================
> Updating:
> openoffice.org-base     x86_64     1:2.0.4-5.4.24   base              865 k
> openoffice.org-calc     x86_64     1:2.0.4-5.4.24   base              8.1 M
> openoffice.org-draw     x86_64     1:2.0.4-5.4.24   base              1.1 M
> openoffice.org-emailmerge  x86_64     1:2.0.4-5.4.24   base               63
> k
> openoffice.org-graphicfilter  x86_64     1:2.0.4-5.4.24   base
>  209 k
> openoffice.org-impress  x86_64     1:2.0.4-5.4.24   base              1.6 M
> openoffice.org-math     x86_64     1:2.0.4-5.4.24   base              1.4 M
> openoffice.org-pyuno    x86_64     1:2.0.4-5.4.24   base              190 k
> openoffice.org-writer   x86_64     1:2.0.4-5.4.24   base              3.1 M
> openoffice.org-xsltfilter  x86_64     1:2.0.4-5.4.24   base               97
> k
> 
> Transaction Summary
> =============================================================================
> Install      0 Package(s)
> Update      10 Package(s)
> Remove       0 Package(s)
> 
> Total download size: 17 M
> Is this ok [y/N]:
> 
> Please note: the version number listed in the rpm -qa is 2.3.0, but the
> version number listed in the yum
> update confirmation is 2.0.4.
> 
> I haven't even touched my yum repos.d directories since I added rpmforge
> back in April.
> 
> So, if this is operator error, please enlighten me as to where so I can
> operate better.
> 
> If by some staggering coincidence it is not operator error, please refrain
> from making that instant assumption henceforth, mai oui?  Merci beaucoup.
> 
> mhr

rpm -qa --queryformat "%{epoch}:%{name}-%{release}-%{version}.%{arch}" openoffice*

I bet they have an epoch of 0, but the 2.0.4 packages have an epoch of 1,
which means they are newer, even though the version number is smaller.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux