Accepted apt 0.7.2ubuntu1 (source)
Matt Zimmerman
mdz at ubuntu.com
Mon Jul 2 09:26:42 BST 2007
On Mon, Jul 02, 2007 at 12:17:16AM +0200, Michael Bienia wrote:
> On 2007-07-01 20:46:25 +0100, Matt Zimmerman wrote:
> > On Sun, Jul 01, 2007 at 08:05:43PM +0200, Reinhard Tartler wrote:
> > > I got notified that the maintainer script failed with exitcode 1. In
> > > this particular case, the maintainer script wasn't too helpful with
> > > giving a lot of diagnostics (you need to set a special environment
> > > variable to enable debugging there), but the crash has been
> > > reported. The crash file from /var/crash/exim4-config.0.crash has the
> > > following contents:
> > >
> > > root at faui44a:/var/crash# more exim4-config.0.crash
> > > ProblemType: Package
> > > Architecture: i386
> > > Date: Thu Jun 28 10:44:06 2007
> > > Package: exim4-config 4.67-3
> > > SourcePackage: exim4
> > > ErrorMessage:
> > > Unterprozess post-installation script gab den Fehlerwert 1 zurück
> >
> > Hmm, this probably shouldn't be localized in the bug report, as it will make
> > it more difficult to match duplicates.
>
> Is it safe to do dupe checking only on the exit code from the postinst?
> Different errors may make the postinst exit with exit code 1 and should
> end in different bug reports.
That's a separate issue, though yes, that is something of a concern. We
really need the output in order to do this properly.
However, I believe the current dupe checking still relies on the user to
confirm the duplicate, so at least there is room for correction, and in any
case, we want the English error message so that triagers and developers can
easily interpret it.
--
- mdz
More information about the ubuntu-devel
mailing list