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

Re: dkms needs a pre-depends entry (Policy 3.5)

On 2010-07-17, Ben Hutchings <ben@decadent.org.uk> wrote:
> The postinst for nvidia-kernel-dkms invokes dkms, which invokes
> lsb_release.  lsb_release hasn't been configured at this point so its
> module has not been installed for the default Python version.  But I
> agree that there is no need for Pre-Depends.

Quoting `/usr/share/doc/python-support/README.gz':
| What this means is, if you need a namespace package or depend on a 
| package that needs it, *and* that you need to use it during the 
| postinst phase (e.g. for a daemon), you will have to add the following 
| command in the postinst before starting your daemon:
|         update-python-modules -p

Kind regards,
Philipp Kern

Reply to: