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

[joy@cibalia.gkvk.hr: Re: Bug#66788: acknowledged by developer (mutt: mutt depends on doc-base)]

OK.  Currently most developper who use install-docs in their postinst script
applies a command or -x test to determine whether it's available rather than
having an explicit dependency on doc-base.

Unfortunately, this isn't enough since install-docs has its own dependencies
which may not be satisfied even though install-docs itself exists.  Bug
report #66788 is such an example where install-docs in mutt's postinst
failed becaused perl5 wasn't configured yet.

There are three obvious solutions:

1. Replace the existence test with a dependency in every package.
2. Make doc-base essential.
3. Rewrite doc-base so that it no longer has any non-essential dependencies.

So fellow developers, please express your opinions so that we can have this
one nailed for woody.
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--- Begin Message ---
On Tue, Jul 11, 2000 at 09:20:10AM +1000, Herbert Xu wrote:
> reopen 66788
> quit
> >  >... but the package shouldn't have Depends: doc-base, just this:
> >  >
> >  >if command -v install-docs >/dev/null 2>&1; then
> >  >  install-docs -i /usr/share/doc-base/mutt
> >  >fi
> > It does. I'll close the bug.
> But it doesn't work properly.  The problem I had was because doc-base
> depended on perl5 which weren't installed yet.  So even though install-docs
> existed it did not work.

This is surely not a problem with mutt package per se:

[joy@pork:/var/lib/dpkg/info]% grep 'command -v install-docs' *.p* | wc -l

Any one of these may have broken. I suggest you raise this question on
-devel mailing list.

Digital Electronic Being Intended for Assassination and Nullification

--- End Message ---

Reply to: