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

Re: Bug#24717: apt dies early if one postinst/preinst dies



On 17 Jul 1998, Mark Eichin wrote:

> Package: apt
> Version: 0.1.1
> 
> I have a bunch of packages that upgrade previously downloaded... but
> in the setup phase, it does some work, gets to xbase, fails the
> preinst (because I *am* running X and don't intend to log out any time
> this week, but the xbase upgrade can wait...)  and then gets started
> on some other package -- and *then* fails with an "E: Sub-process
> returned an error code"...  It really should keep going on things that
> do work, and report that one later, like dpkg would if it had a batch
> of upgrades (like dftp gives it.)

There is some other bug about this to... The whole problem centers around
not being able to get accurate failure information out of dpkg. I have no
idea what the exact state of all the packages, especially if they have
failing post-insts. So as bad as this seems there is not really anything
that can be done without support from dpkg.

The best thing for you to have done is to have held the X packages before
installing. I don't recall if X puts this in the preinst or the postinst
so you might still be able to hold it and be OK.

Personally, x should NOT fail like this, I think it's a major abuse of the
packaging system :>

Jason
 


--  
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: