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