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

Re: What do to about Bug#38822: cmucl: Causes assert failure in dpkg



Peter Van Eynde wrote:
> Hi people,
> 
> I'm a little confused about what I should do about bug #38822...
> CMUCL is now split in a safe and a small image. An extract from the
> control file:
> 
> Package: cmucl
> Architecture: i386
> Depends: ${shlibs:Depends}, lisp-core
> Provides: lisp-compiler
> 
> Package: cmucl-safe
> Architecture: i386
> Depends: cmucl
> Provides: lisp-core
> Conflicts: cmucl (<= 2.4.9)
> 
> Package: cmucl-small
> Architecture: i386
> Depends: cmucl
> Provides: lisp-core

Hmm.  This is at heart a bug in dpkg, so it's about finding a workaround.
One such workaround might be to follow the packaging manual's advice
when depending on virtual packages:

Package: cmucl
Architecture: i386
Depends: ${shlibs:Depends}, cmucl-safe | lisp-core
Provides: lisp-compiler

By mentioning cmucl-safe first, you give dselect a hint about which
option to present first to the user.  And it may give dpkg a way out
of its problem, though I have not tried this.

Richard Braakman


Reply to: