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

Bug#664211: add check for wrong dependency on debconf



Joey Hess <joeyh@debian.org> writes:

> cdebconf has gotten to be a quite usable replacement for debconf.
> However, in trying to remove debconf from my system, I found there
> were several packages with wrong dependencies, like this:

> Depends: debconf (>= 0.5) | debconf-2.0, debconf

> That never makes sense, so I think lintian should detect it.

Yes... in fact, it would be good to diagnose the more general problem,
where one dependency fully satisfies another dependency.  I think we
already have infrastructure to do that but only apply it across different
dependency types (checking whether Recommends is already satisfied by
Depends, for example).

But, on this topic, when I looked at removing debconf from my system, the
thing that seemed to be missing was debconf-set-selections.  Does cdebconf
provide that utility in some way that I'm not noticing?

(I'm dubious that any package in Debian has any business using
debconf-set-selections directly, but we have some internal packages at
Stanford that use it to mess with the defaults of other packages.)

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: