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

dependencies and cascade



Hello,

While exploring (juste a little) dependencies of ocaml and related
stuff...

[3.04 ;-)]
apt-cache show ocaml | grep Depends
libc6 (>= 2.2.4-4), libncurses5-dev, ocaml-base (= 3.04-12)

apt-cache show ocaml-base | grep Depends
Depends: libc6 (>= 2.2.4-4), libncurses5 (>= 5.2.20020112a-1), tcl8.3
(>= 8.3.0), tk8.3 (>= 8.3.0), xlibs (>> 4.1.0)

apt-cache show tk8.3 | grep Depends
libc6 (>= 2.1.2), tcl8.3 (>= 8.3.0), xlib6g (>= 3.3.6-4)

[and it works perfectly, AFAIK ;-)]

My question is : is there any way to avoid duplicating dependencies
already stated by packages already installed.

e.g in the example above, few dependencies are already stated (and
fullfilled) by tk8.3 (which is a dependence for ocaml-base), thus
dependencies overs libc6/xlibs/... are "over-stated".

I know that this is probably not a trivial question, but I think that
it is not forbidden to perform post-processing on the control file
while building the package, isn'it ?

Is it possible ?
(i.e removing the dependencies which are already stated in the set of
installed (and required) packages e.g. ocaml-base depends "only" on : 
libncurses5 (>= 5.2.20020112a-1), tcl8.3 (>= 8.3.0), tk8.3 (>= 8.3.0)

Cheers
-- 
mailto:georges.mariano@inrets.fr     tel: (33) 03 20 43 84 06   
INRETS, 20 rue Élisée Reclus         fax: (33) 03 20 43 83 59   
BP 317 -- 59666 Villeneuve d'Ascq       
http://www3.inrets.fr/estas/mariano



Reply to: