Re: rpm 4.2

Joshua Bahnsen <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
I would agree the fault lies entirely on Red Hat if it weren't for this
snippet from updateinfo.xml

  <update from="[email protected]" status="final" type="security"
version="6">
    <id>RHSA-2009:0256-06</id>
    <title>RHSA-2009:0256</title>
    <issued date="2009-02-04 00:00:00" />
    <updated date="2009-02-04 00:00:00" />
........
        <package channel="rhel-i386-server-5" name="xulrunner"
version="1.9.0.6" release="1.el5" epoch="0" arch="i386">
          <filename>xulrunner-1.9.0.6-1.el5.i386.rpm</filename>
          <sum type="md5">c869dbbf27a945f181ebe0a8607f4bb3</sum>
        </package>
        <package channel="rhel-i386-server-5" name="firefox" version="3.0.6"
release="1.el5" epoch="0" arch="i386">
          <filename>firefox-3.0.6-1.el5.i386.rpm</filename>
          <sum type="md5">88290d56c1fa0185c6375058da16acdb</sum>
        </package>
.........


Using update-minimal installs firefox-3.0.6-1.el5.i386.rpm, why does it not
install xulrunner-1.9.0.6-1.el5.i386.rpm as well? It is provided by the
advisory. If I install firefox 3.0.1 I am able to use `yum update-minimal
--advisory=RHSA-2009:0256-06` and it installs the proper versions of both
Firefox and xulrunner:

 Package                    Arch
Version                          Repository                           Size
=============================================================================================================================
Updating:
 firefox                    i386
3.0.6-1.el5                      rhel-i386-server-5                   12 M
 nss                        i386
3.12.2.0-4.el5                   rhel-i386-server-5                  1.1 M
 nss-tools                  i386
3.12.2.0-4.el5                   rhel-i386-server-5                  1.2 M
 xulrunner                  i386
1.9.0.6-1.el5                    rhel-i386-server-5                  9.9 M

So obviously yum does know about the version of xulrunner it needs, it just
disregards it when it is installing and not upgrading.

On Fri, Mar 20, 2009 at 1:07 PM, Seth Vidal <[email protected]>wrote:

>
>
> On Fri, 20 Mar 2009, Joshua Bahnsen wrote:
>
>  rpm -Va --nofiles --nomd5
>> /var/tmp/rpm-tmp.13224: line 851: IntegrateWithGNOME: command not found
>>
>> I think I understand the heart of the issue though.
>>
>> Here is the requirements section from Firefox 3.0.6:
>>
>> <rpm:entry name="xulrunner" flags="GE" epoch="0" ver="1.9.0.6" rel="1"/>
>>
>> Because it is GE and not EQ yum determines the requirement and says, I can
>> provide xulrunner 1.9.0.7 because it is the
>> latest and it meets the requirement of >= 1.9.0.6. Although it should
>> probably be an EQ because the Firefox 3.0.6 with
>> xulrunner 1.9.0.7 does not work, this appears to fall on Red Hat. However,
>> I do think update-minimal should realize that
>> the advisory I'm trying to install looks for a specific version of
>> xulrunner (1.9.0.6 in this case) and check to see if
>> that version meets the requirement (which it does) and to see if that
>> package is available in the repository (which it
>> is) and install that version, not the latest.
>>
>
>
> And if the requirements said EQ then it would have done that - but the
> assumption yum (and others) use is that newer is better, provided all the
> deps are met.
>
> Please report the requirement problem  as a bug to rhel.
>
>
> -sv
>
> _______________________________________________
> Yum mailing list
> [email protected]
> http://lists.baseurl.org/mailman/listinfo/yum
>

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.