On Mon, Oct 01, 2001 at 06:29:25PM -0600, Jason Gunthorpe wrote:
> 
> APT does not run dpkg in this case automatically because that command can
> cause an unexpected change in the users system, like configuring packages.
> If dpkg had some other command that only cleaned up after it crashed then
> APT could call that.

And dpkg doesn't automatically cleanup after itself for pretty much the
same reason.

I think "apt-get -f" should force doing "dpkg --configure -a", or apt
should have some command line option to do this. Dpkg is a low level
tool, it's ok to have to manually do things with it. Unlike apt, which
is highlevel and tries to do much of the thinking for the user.

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


Reply via email to