Re: new packages uploaded ...
Hello,
First of all, i hope you had a very nice christmas, ...
On Sat, Dec 22, 2001 at 12:03:02PM +0100, Ralf Treinen wrote:
> On Sat, Dec 22, 2001 at 09:59:32AM +0100, Sven wrote:
> > The idea was to keep all the ocaml stuff in one package only. Easier for
> > people downloading single packages.
>
> Well, if you use dselect or apt-get then you get the ocaml-base package
> automatically when ocaml depends on it.
Well, but if you are offline, and use ftp to copy the stuff on a floppy or
something like this, it's not as easy ...
That said, i suppose you could use the remote apt-get trick, and this is not a
good argument.
> > > OK, strangeness is not argument :-) The first reason is that it bloats
> > > unnecessarily the ocaml package (the contents of the ocaml-base package
> > > is repeated in the ocaml package). I consider this a bug. The second
> > > reason is that every package which just needs the ocaml runtime system
> > > will have to depend on "ocaml-base | ocaml". I'm not sure that all
> > > the front ends will take the right decision and install only ocaml-base
> > > in this case instead of ocaml. BTW, the "Provides" mechanism of ocaml
> > > does not solve the problem since it does not work with versions. I tried
> >
> > Well, but this may be a bug in the dpkg/apt handling of dependencies, or maybe
> > not ?
>
> I don't know whether there is a policy about how installation agents
> should behave in case of alternatives. In our case we want ocaml-base to
> be the default.
>
> > > to build a bibtex2html package with "Depends: ocaml-base (>= 3.04-2)"
> > > (since 3.04-1 does not have the necessary libraries). It refuses to
> > > install if ocaml 3.04-2 is installed, that is if package A provides
> > > package B then this seems not to imply that package A (version n)
> > > provides package B (version n).
> >
> > Yes this is a real pain.
> >
> > I asked on debian-mentors, but got no response so far.
>
> I think it is a principal problem. You might have several packages which
> provide another package. Say A provides C, and B provides C. A is of
> version n, and B is of version m. In this situation, what should the
> semantics of "depends:C (>= k)" be? Provides do not go well with
> versions.
Mmm, maybe i should add the version to the provide line ?
Will try it out, ...
> > > This should be changed. I can try to do the change and send you a patch.
> >
> > If you have time and want to do it, please do.
>
> Patch is attached. Note the use of ${Source-Version} in debian/control
> to prevent that ocaml and ocaml-base of diferent versions are installed.
Mmm, a nice christmas gift for me to try out, thanks ralf :))))
Friendly,
Sven Luther
Reply to: