Bug#574057: update-notifier: Available updates not shown because apt-check fails

Dominique Brazziel dbrazziel at snet.net
Tue Mar 16 00:42:25 UTC 2010


Package: update-notifier
Version: 0.70.7.debian-7
Severity: important

    Maybe because of the new python-apt API, update-notifier no
longer notifies of available updates.  The failure point seems to
be in function 'update_check' of update-notifier.c, which calls 
python script '/usr/lib/update-notifier/apt-check', which either
silently fails or is not reading the package cache correctly.
If I manually run apt-check, many deprecation warnings:

/usr/lib/update-notifier/apt-check:99: DeprecationWarning: Attribute 'FileList' of the 'apt_pkg.Version' object is deprecated, use 'file_list' instead.
  for (file, index) in ver.FileList:
  /usr/lib/update-notifier/apt-check:100: DeprecationWarning: Attribute 'Archive' of the 'apt_pkg.PackageFile' object is deprecated, use 'archive' instead.
    if (file.Archive.endswith("-security") and
    25;0
 
-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages update-notifier depends on:
ii  dbus-x11                 1.2.20-2        simple interprocess messaging syst
ii  gksu                     2.0.2-2+b1      graphical frontend to su
ii  hal                      0.5.14-2        Hardware Abstraction Layer
ii  libart-2.0-2             2.3.20-2        Library of functions for 2D graphi
ii  libatk1.0-0              1.28.0-1        The ATK accessibility toolkit
ii  libbonobo2-0             2.24.2-1        Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.24.2-1        The Bonobo UI library
ii  libc6                    2.10.2-6        Embedded GNU C Library: Shared lib
ii  libcairo2                1.8.10-2        The Cairo 2D vector graphics libra
ii  libdbus-1-3              1.2.20-2        simple interprocess messaging syst
ii  libdbus-glib-1-2         0.84-1          simple interprocess messaging syst
ii  libfontconfig1           2.8.0-2         generic font configuration library
ii  libfreetype6             2.3.11-1        FreeType 2 font engine, shared lib
ii  libgconf2-4              2.28.0-1        GNOME configuration database syste
ii  libglade2-0              1:2.6.4-1       library to load .glade files at ru
ii  libglib2.0-0             2.22.4-1        The GLib library of C routines
ii  libgnome2-0              2.28.0-1        The GNOME library - runtime files
ii  libgnomecanvas2-0        2.26.0-1        A powerful object-oriented display
ii  libgnomeui-0             2.24.2-1        The GNOME libraries (User Interfac
ii  libgnomevfs2-0           1:2.24.2-2      GNOME Virtual File System (runtime
ii  libgtk2.0-0              2.18.6-1        The GTK+ graphical user interface 
ii  libhal1                  0.5.14-2        Hardware Abstraction Layer - share
ii  libice6                  2:1.0.6-1       X11 Inter-Client Exchange library
ii  libnotify1 [libnotify1-g 0.4.5-1         sends desktop notifications to a n
ii  liborbit2                1:2.14.17-2     libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.26.2-1        Layout and rendering of internatio
ii  libpopt0                 1.15-1          lib for parsing cmdline parameters
ii  libsm6                   2:1.1.1-1       X11 Session Management library
ii  libx11-6                 2:1.3.3-1       X11 client-side library
ii  libxau6                  1:1.0.5-1       X11 authorisation library
ii  libxml2                  2.7.6.dfsg-2+b1 GNOME XML library
ii  notification-daemon      0.4.0-2         a daemon that displays passive pop
ii  python                   2.5.4-9         An interactive high-level object-o
ii  python-apt               0.7.93.3        Python interface to libapt-pkg
ii  update-manager-gnome     0.200.0-1       GNOME application that manages sof
ii  update-notifier-common   0.70.7.debian-7 Files shared between update-notifi

update-notifier recommends no packages.

update-notifier suggests no packages.

-- no debconf information





More information about the pkg-gnome-maintainers mailing list