Re: rpm 4.2

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

 



Joshua Bahnsen <archrival@xxxxxxxxx> writes:

> I would agree the fault lies entirely on Red Hat if it weren't for this
> snippet from updateinfo.xml
>
>   <update from="security@xxxxxxxxxx" 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 -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux