Re: Bug#33829: dpkg: if there is no utmp/wtmp entry for the shell, dpkg can't install a package
On Thu, 25 Feb 1999, Jules Bean wrote:
> > > > gzip: stdout: Broken pipe
> > > > dpkg-deb: subprocess gzip -dc returned error exit status 1
> > > > dpkg: error processing libtool_1.2d-1.deb (--unpack):
> > > > subprocess dpkg-deb --fsys-tarfile returned error exit status 2
> > > > Errors were encountered while processing:
> > > > libtool_1.2d-1.deb
> > > > E: Sub-process returned an error code
> > >
> > > Red herring.
> > >
> > > This looks to me like the SIGPIPE bug.
> >
> > So much for the theory that APT setting SIGPIPE to SIGDFL before invoking
> > dpkg fixes this problem <bother>
>
> Jason,
>
> I see nothing in the original bug report to suggest he was using apt.
The final line in the sample dpkg output is 'E: Sub-process returned an
error code' which is only printed by apt-get
> Unless I badly misunderstand signals, your work-around in apt should
> certainly solve the problem.
I thought so as well.. (Actually I do it because I do need SIGPIPE set to
SIGIGN for the download methods, not to patch dpkg :> )
Jason
Reply to: