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

Re: Dpkg fails to install certain packages



On Tue, 2 Feb 1999, Jason Gunthorpe wrote:

> 
> 
> On Tue, 2 Feb 1999, Ian Jackson wrote:
> 
> > Joey Hess writes ("Re: Dpkg fails to install certain packages"):
> > > I doubt this is a dpkg bug, it looks like the files you downloaded are
> > > corrupted, either on the mirror you got them from, or were corrupted during
> > > download.
> > 
> > No, this is the SIGPIPE set to SIG_IGN bug.  It is not a bug in dpkg.
> > How was dpkg invoked ?
> 
> Could we just patch dpkg to set SIGPIPE to what it expects when it starts
> up? For such an important tool it seems a bit silly to have this bug
> persist :<

I'd rather we didn't fix it in dpkg, personally.

I'd rather we fixed it at source.

As I said earlier, it doesn't seem to be a bug in Eterm - but maybe other
terminal emulators have a 'fix' which masks the bug which really exists,
as Ian suggests, in xdm or startx, or the Xserver itself.

I have 'fixed' it in Eterm here by compiling a new version of Eterm which
clears SIGPIPE when it spawns a child process.  This seems to be the Wrong
Way (tm), though...

If anyone here knows of a clever way to check signal disposition at every
stage of the boot process, I'd be grateful..

I'm going to write a quick hack to use sigaction to check the disposition
of SIGPIPE, and see if I can see when the problem comes in.

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@jellybean.co.uk         |  6 Evelyn Rd	       |
|  Jules aka     | jules@debian.org              |  Richmond, Surrey   |
|  Julian Bean   | jmlb2@hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/


Reply to: