Re: rpm 4.2

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Joshua Bahnsen <[email protected]> writes:

> 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:

 The problem here is kind of hard to solve atm. Basically as
"update-minimal" is running, it doesn't know that xulrunner is
required (because it's not currently installed). So it does nothing
with it (just being in the advisory doesn't mean it needs to be
installed).
 Then after when we get to the time we solve deps. for firefox, it
sees it needs xulrunner >= <blah> ... so it installs the latest one >=
<blah> (and it doesn't have anything to tell it otherwise).

 Now given that xulrunner wasn't installed before it's debatable if
installing xulrunner-2 instead of xulrunner-8 is "better" or "more
minimal". Realistically this is unlikely to be fixed, due to the
amount of work required.

 The fact firefox doesn't run afterwards is a packaging bug, and
getting that fixed is likely to make update-minimal do what you want
anyway.

-- 
James Antill -- [email protected]
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.