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

2008-07-09 Thread Alan Baghumian
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Thanks for the report, if you agree, I'm changing the bug severity to 
minor. 

Alan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIdGQaseAo3XkuIc0RAsaTAJ48voi+Tw9R8cwYxNrFfhMZzwisVACfaaOu
/0RiFSi0C2FJcA/dzwuVpC0=
=KRQp
-END PGP SIGNATURE-




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-07-09 Thread Michael Rasmussen
Thanks for the report, if you agree, I'm changing the bug severity to 
minor. 
Strange, I wasn't notified by bug tracker about your reply!

If you wish to change severity I don't object, but to me personally it
still classifies as an important bug since the howto and man pages
instructs users to use this script if they want to be able to have the
full power of update-notifier.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael at rasmussen dot cc
http://keyserver.veridis.com:11371/pks/lookup?op=getsearch=0xD3C9A00E
mir at datanom dot net
http://keyserver.veridis.com:11371/pks/lookup?op=getsearch=0xE501F51C
mir at miras dot org
http://keyserver.veridis.com:11371/pks/lookup?op=getsearch=0xE3E80917
--
Don't stop with your first draft.
- The Elements of Programming Style (Kernighan  Plaugher)


signature.asc
Description: PGP signature


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

2008-07-08 Thread Michael Rasmussen
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-2Hardware Abstraction Layer
ii  libart-2.0-2 2.3.20-2Library of functions for 2D graphi
ii  libatk1.0-0  1.22.0-1The ATK accessibility toolkit
ii  libbonobo2-0 2.22.0-1Bonobo CORBA interfaces library
ii  libbonoboui2-0   2.22.0-1The Bonobo UI library
ii  libc62.7-12  GNU C Library: Shared libraries
ii  libcairo21.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-1GNOME 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-1The GLib library of C routines
ii  libgnome2-0  2.20.1.1-1  The GNOME 2 library - runtime file
ii  libgnomecanvas2-02.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-2Hardware 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  liborbit21:2.14.13-0.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-01.20.4-1Layout 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
--- /usr/share/doc/update-notifier/examples/update-notifier.cron.daily  
2008-06-29 00:40:05.0 +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 21 /dev/null; then
dbus-send --system / app.apt.dbus.updated boolean:true
#touch /var/lib/apt/lists/update-stamp