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

Bug#89830: Details

On Fri, Mar 16, 2001 at 05:47:59PM -0700, Jason Gunthorpe wrote:
> On Fri, 16 Mar 2001, Matt Zimmerman wrote:
> > successful return code, apt is aborting the upgrade.  As the bug title
> > suggests, I think this may be due to problems writing on the pipeline in
> > SendV2Pkgs, or something along those lines.
> You are required to accept all data in the pipe, if you exit without doing
> so APT will assume it was a premature failure.

In that case, debconf is also doing the wrong thing with its || true.  That
means that both programs will need either a wrapper script, or some ugly magic
like "apt-listchanges --apt || (test $? -ne 10 && cat)" and "dpkg-preconfigure
--apt || cat".  Since all of the programs using this interface so far should be
ignored if they fail, perhaps that should be the default behavior?

 - mdz

Reply to: