[Rule-list] rpm_analyzer and multi-provided resources
Michael Van Donselaar
mvand at neb.rr.com
Wed Aug 7 15:30:56 EEST 2002
On Wed, 7 Aug 2002 09:52:08 +0200, "Marco Fioretti"
<m.fioretti at inwind.it> wrote:
>> On Tue, Aug 06, 2002 at 08:15:44PM -0500, Michael Van Donselaar wrote:
>> > rpm_analyzer works great, with one caveat. Since glibc-devel and
>> > glibc-debug say that they provide many of the same resources as glibc,
>> > glibc-devel gets required by just about everything. Likewaise
>> > kernel-bigmem and kernel-smp get required as well.
>>
>> You're going to have the same problem with sendmail and postfix in
>> 7.3, since they both provide "smtpdaemon".
>>
>> Ed
>
>Ed, Michael
>
>first of all, thanks a lot for the feedback!
>
>I had noticed the same problem the day before yesterday. I am still
>trying to find a way to overcome it, and any patch/trick/suggestion is
>very welcome!
>
>One important note however. Michael wrote:
>
>>I hand edited the cds file to show that glibc-devel only provides
>>gibc-devel and similar changes for the other kernels.
>
>This is an effective and fast way to check that there are no other
>problems, but I would like to go one step further. Eventually, the
>analyzer should (working on the original data):
>
>1) tell when a capability is not really required
I have no idea how you would do this.
>2) choose the smallest alternative, i.e. if two packages both provide
> smtpdaemon, list only the one which requires the greatest number of
> packages NOT YET COUNTED IN.
That sounds better than my first idea of including the smallest package.
I thought about it some more and came up with this idea: when analyzing
the databases, note which resources are provided by multiple rpms. The
user can edit _this_ file to prefer different packages on a per run
basis.
Then I can run once with postfix providing smtdaemon and once with
sendmail providing it.
>Any suggestion about this?
BTW, I found it useful to tweak the code to step thru @ARGV for multiple
packages, and to treat arguments starting with @ as a file containing a
list of rpms
>
> TIA,
>
> Marco FiorettiÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿѺW?®ÞrÑÎ0CÀOá¶Úÿÿü0Ãúîïé®Þrßè®ëºW¿Fé^ëÞfz{R×ÿÛiÿÿìjö§?¨ÿ{ÿ¢¸?¦º#yËlþ»¥{ônïåËÿ¨¥ýúÞzÊ·«{÷ìú+m§ÿÿ¨¥ýúÞzÊ·«{÷ìú+ùYùb²Ø§~?ëºWÿ+-
_______________________________________________
Rule Project HOME PAGE: http://www.rule-project.org/rule/
Original Rule Development Site http://savannah.gnu.org/projects/rule/Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here