How does rpm command compare 2 rpm files' version?



If 2 rpms have the following information:

a.rpm (old one)
Package name: ABC
Version: 1.00.pre1

a.rpm (new one)
Package name ABC
Version: 1.00.beta1

If I have installed the new one, and want to use rpm command to upgrade
it with the old one, what is the result? rpm lets me know that I cannot
upgrade or upgrade successfully?

.



Relevant Pages

  • Re: sharing printer with samba in FC4 (update)
    ... Right now now I am trying to install the new rpm ... package with upgrade version but it doesn't like. ... my rpm query only shows the samba packages. ...
    (Fedora)
  • Re: yum upgrade FC5->FC6 issues
    ... FC6 using yum upgrade and and having some minor issues. ... rpm -ivh http://rpm.livna.org/livna-release-6.rpm ... Error: Missing Dependency: libsepol - 1.12.27-1 is needed by package libsepol-devel ...
    (Fedora)
  • Re: [opensuse] Zypper Dup Failed : unpacking of archive failed: cpio: Bad magic
    ... I tried to upgrade my openSUSE 10.3 into 11.0 factory but it seems to ... In order to install this package, you must agree to terms of the above ... removed yast ... zypper in rpm before the zypper dup. ...
    (SuSE)
  • Re: How to upgrade perl standard module?
    ... > What is the correct way to upgrade the module? ... > what about rpm dependecies, when there will be perl rpm package ... I tend to look at package managers as an all-or-nothing affair - either I let ... I'd leave the SuSE-managed copy of Perl strictly alone - there might be ...
    (comp.lang.perl.modules)
  • Re: Removing duplicate apps after FC6 upgrade from FC5
    ... rpmbuild & rpm are the Swiss Army knives of software ... fault of the people who created the rpm package, ... few Linux users bother reporting install and upgrade problems. ...
    (Fedora)