Bug#527087: syntax error in APT configuration snippet

Stefano Zacchiroli zack at debian.org
Tue May 5 15:26:09 UTC 2009


Package: update-notifier-common
Version: 0.70.7.debian-5
Severity: normal
File: /etc/apt/apt.conf.d/15update-stamp

In spite of APT not complaining, the syntax used in the APT
configuration snippet shipped by update-notifier-common appears to be
wrong:

  APT::Update::Post-Invoke-Success:: {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};

In particular, I can't find any explication of why the trailing "::"
should be allowed in apt.conf(5). Neither any other conf snippet I
have, nor the full list of APT conf keys seems to hint that that
syntax is allowed.

Can you please drop the trailing "::"?

Many thanks in advance,
Cheers.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages update-notifier-common depends on:
ii  gconf2                        2.26.0-1   GNOME configuration database syste
ii  python                        2.5.4-2    An interactive high-level object-o

update-notifier-common recommends no packages.

update-notifier-common suggests no packages.

-- no debconf information





More information about the pkg-gnome-maintainers mailing list