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

Re: Running dpkg -r foo from a postinst script?



Ola Lundqvist wrote:
> I have a simple question. Is it possible to run dpkg -r foo
> from within a postinst-script when using dselect or apt?

Yes.

> What is the result?

dpkg: Status database locked, aborting

Or something to that effect. Dpkg is not re-entrant when doing anything
that can modify the system.

-- 
see shy jo



Reply to: