Bug#489954: update-notifier: cron script does not use a correct test

Michael Rasmussen mir at datanom.net
Tue Jul 8 22:22:58 UTC 2008


Package: update-notifier
Version: 0.70.7.debian-1
Severity: important
Tags: patch

the provided cron script in examples is testing against an executable
not found in any Debian package. The executable tested for is 
/usr/bin/upgrade-notifier.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-6-core2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages update-notifier depends on:
ii  dbus [dbus-1-utils]      1.2.1-2         simple interprocess messaging syst
ii  gksu                     2.0.0-5         graphical frontend to su
ii  hal                      0.5.11-2        Hardware Abstraction Layer
ii  libart-2.0-2             2.3.20-2        Library of functions for 2D graphi
ii  libatk1.0-0              1.22.0-1        The ATK accessibility toolkit
ii  libbonobo2-0             2.22.0-1        Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.22.0-1        The Bonobo UI library
ii  libc6                    2.7-12          GNU C Library: Shared libraries
ii  libcairo2                1.6.4-6         The Cairo 2D vector graphics libra
ii  libdbus-1-3              1.2.1-2         simple interprocess messaging syst
ii  libdbus-glib-1-2         0.76-1          simple interprocess messaging syst
ii  libgconf2-4              2.22.0-1        GNOME configuration database syste
ii  libglade2-0              1:2.6.2-1       library to load .glade files at ru
ii  libglib2.0-0             2.16.4-1        The GLib library of C routines
ii  libgnome2-0              2.20.1.1-1      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.20.1.1-1      A powerful object-oriented display
ii  libgnomeui-0             2.20.1.1-1      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           1:2.22.0-4      GNOME Virtual File System (runtime
ii  libgtk2.0-0              2.12.10-2       The GTK+ graphical user interface 
ii  libhal1                  0.5.11-2        Hardware Abstraction Layer - share
ii  libice6                  2:1.0.4-1       X11 Inter-Client Exchange library
ii  libnotify1 [libnotify1-g 0.4.4-3         sends desktop notifications to a n
ii  liborbit2                1:2.14.13-0.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.20.4-1        Layout and rendering of internatio
ii  libpopt0                 1.14-4          lib for parsing cmdline parameters
ii  libsm6                   2:1.0.3-2       X11 Session Management library
ii  libx11-6                 2:1.1.4-2       X11 client-side library
ii  libxml2                  2.6.32.dfsg-2   GNOME XML library
ii  notification-daemon      0.3.7-1+b1      a daemon that displays passive pop
ii  python                   2.5.2-1         An interactive high-level object-o
ii  python-apt               0.7.6           Python interface to libapt-pkg
ii  update-manager           0.68.debian-5   GNOME application that manages sof
ii  update-notifier-common   0.70.7.debian-1 Files shared between update-notifi

update-notifier recommends no packages.

-- debconf-show failed
-------------- next part --------------
--- /usr/share/doc/update-notifier/examples/update-notifier.cron.daily	2008-06-29 00:40:05.000000000 +0200
+++ /etc/cron.daily/update-notitier	2008-07-09 00:09:44.259174032 +0200
@@ -4,7 +4,7 @@
 
 set -e
 
-if [ -x /usr/bin/upgrade-notifier ]; then
+if [ -x /usr/bin/update-notifier ]; then
     if /usr/bin/apt-get update 2>&1 >/dev/null; then
 	dbus-send --system / app.apt.dbus.updated boolean:true
 	#touch /var/lib/apt/lists/update-stamp


More information about the pkg-gnome-maintainers mailing list