Package: apticron
Version: 1.1.15
Severity: grave
Justification: renders package unusable


apticron correctly generates the list of packages to be upgraded, but
the changelog entries are missing in its mail message. Instead, the mail
ends with

-----snip-----snap----------snip-----snap----------snip-----snap-----

Package Details:

Usage: apt-listchanges [options] {--apt | filename.deb ...}

-----snip-----snap----------snip-----snap----------snip-----snap-----

Looking into this, I assume line 90

  if [ `ls ${PKGPATH}${PKG}_${VERFILE}_*.deb >& /dev/null` ] ; then

to be the source of the problem. I suppose the intention is to filter
out packages which couldn't be found in the local file system. But ls
returns 0 on success and values greater than 0 on error, so this
condition should perhaps rather be

  if [ ! `ls ${PKGPATH}${PKG}_${VERFILE}_*.deb >& /dev/null` ] ; then

which works on my system.

Regards,
  Michael

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.19-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages apticron depends on:
ii  apt-listchanges  2.59-0.2                Display change history from .deb a
ii  debconf [debconf 1.5.1                   Debian configuration management sy
ii  iproute          20051007-4              Professional tools to control the 
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent

apticron recommends no packages.


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

Reply via email to