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

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



>>>>> "Ola" == Ola Lundqvist <opal@debian.org> writes:
    Ola> Hi I have a simple question. Is it possible to run dpkg -r
    Ola> foo from within a postinst-script when using dselect or apt?

No.  Dpkg will complain about the existance of a lock file.  The lock files exists to avoid corruption the dpkg files (available etc) by ensuring only one dpkg/select/apt-get process is active at any time

-- 
Stephen

"Farcical aquatic ceremonies are no basis for a system of government!"



Reply to: