Debian Bug report logs - #712511
lintian: Should check for references to update-notifier in postinst

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Julian Gilbey <[email protected]>

Date: Sun, 16 Jun 2013 15:42:02 UTC

Severity: wishlist

Tags: moreinfo

Found in versions lintian/2.5.13, lintian/2.5.19

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#712511; Package lintian. (Sun, 16 Jun 2013 15:42:06 GMT) (full text, mbox, link).


Acknowledgement sent to Julian Gilbey <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Lintian Maintainers <[email protected]>. (Sun, 16 Jun 2013 15:42:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Julian Gilbey <[email protected]>
To: Debian bug reports <[email protected]>
Subject: lintian: should check for references to update-notifier in postinst
Date: Sun, 16 Jun 2013 16:40:03 +0100
Package: lintian
Version: 2.5.13

I just noticed that packages such as dbus still have a reference to
update-notifier that warn that a reboot is required.  But sid no
longer has that functionality - update-notifier is just a transitional
package.  So maintainers should be warned if their postinst is still
assuming this to warn administrators that a reboot is required.

I have no idea what the sid equivalent is, though.

   Julian



Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#712511; Package lintian. (Sat, 28 Dec 2013 14:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to bastien ROUCARIES <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (Sat, 28 Dec 2013 14:39:06 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: bastien ROUCARIES <[email protected]>
To: [email protected], [email protected]
Subject: [lintian] Moreinfo about update-notifier in postinst
Date: Sat, 28 Dec 2013 15:33:26 +0000
Package: lintian
Version: 2.5.19
control: tags -1 + moreinfo
control: severity - 1 wishlist

Thanks for your report but I need more info:
- a tag description explaining the problem
- a replacement 

BTW I alway consider asking for reboot except for kernel upgrade as a bug. What do you think ?

Bastien



Added tag(s) moreinfo. Request was from bastien ROUCARIES <[email protected]> to [email protected]. (Sat, 28 Dec 2013 14:39:06 GMT) (full text, mbox, link).


Message sent on to Julian Gilbey <[email protected]>:
Bug#712511. (Sat, 28 Dec 2013 14:39:11 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian Lintian Maintainers <[email protected]>:
Bug#712511; Package lintian. (Sat, 28 Dec 2013 19:10:00 GMT) (full text, mbox, link).


Acknowledgement sent to Julian Gilbey <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>. (Sat, 28 Dec 2013 19:10:00 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Julian Gilbey <[email protected]>
To: bastien ROUCARIES <[email protected]>, [email protected]
Cc: [email protected]
Subject: Re: Bug#712511: [lintian] Moreinfo about update-notifier in postinst
Date: Sat, 28 Dec 2013 19:04:43 +0000
On Sat, Dec 28, 2013 at 03:33:26PM +0000, bastien ROUCARIES wrote:
> Package: lintian
> Version: 2.5.19
> control: tags -1 + moreinfo
> control: severity - 1 wishlist
> 
> Thanks for your report but I need more info:
> - a tag description explaining the problem
> - a replacement 
> 
> BTW I alway consider asking for reboot except for kernel upgrade as a bug. What do you think ?

Well, there are three related problems here, AFAICT.

(1) The update-notifier package is now entirely replaced by
    PackageKit, and the package is just a transitional package
    depending on gnome-packagekit
(2) The notify-reboot-required script, which will be removed before
    the jessie release (see the control file for
    update-notifier-common), writes messages into
    /var/run/reboot-required{,.pkgs}, and these files are not looked
    at by anything
(3) There is presently no replacement that I am aware of for anything
    other than GNOME (see bugs 710355 and 710565).

So I am unsure quite what to suggest.  A tag description could be
something like the following, triggered when
/usr/share/update-notifier/notify-reboot-required is detected in the
postinst (or maybe even just /usr/share/update-notifier).  Perhaps the
GNOME-PolicyKit team have suggestions?

Tag: postinst-calls-update-notifier
Severity: warning/error???
Certainty: Certain
Info: Your package (conditionally) calls update-notifier in its
 postinst, but the update-notifier package is no longer available in
 jessie.  Please remove the reference to it in your postinst.  At
 present, it is unclear what the correct replacement is....

   Julian



Information stored :
Bug#712511; Package lintian. (Sat, 28 Dec 2013 19:10:06 GMT) (full text, mbox, link).


Acknowledgement sent to Julian Gilbey <[email protected]>:
Extra info received and filed, but not forwarded. (Sat, 28 Dec 2013 19:10:06 GMT) (full text, mbox, link).


Severity set to 'wishlist' from 'normal' Request was from Raphael Geissert <[email protected]> to [email protected]. (Tue, 08 Aug 2017 15:36:10 GMT) (full text, mbox, link).


Changed Bug title to 'lintian: Should check for references to update-notifier in postinst' from 'lintian: should check for references to update-notifier in postinst'. Request was from Chris Lamb <[email protected]> to [email protected]. (Mon, 29 Jan 2018 13:48:08 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:49:24 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.