Package: apticron
Version: 1.1.23
Followup-For: Bug #497175

The fix in 1.1.23 does not prevent a mail to be send every night when
/var/lib/aptitude/pkgstates does not exist.

A possible fix would be to move the error redirection from

APTITUDE_HOLDS=`grep "^State: 2" -B 2 /var/lib/aptitude/pkgstates |grep
"^Package: .*$" |cut -d" " -f 2` 2>/dev/null

to

APTITUDE_HOLDS=`grep "^State: 2" -B 2 /var/lib/aptitude/pkgstates
2>/dev/null |grep "^Package: .*$" |cut -d" " -f 2`

Regards
Thorsten


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

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages apticron depends on:
ii  apt                0.7.14+b1             Advanced front-end for dpkg
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  debconf [debconf-2 1.5.22                Debian configuration management sy
ii  mailx              1:20071201-3          Transitional package for mailx ren
ii  ucf                3.0010                Update Configuration File: preserv

Versions of packages apticron recommends:
ii  apt-listchanges               2.82       package change history notificatio
ii  iproute                       20080725-2 networking and traffic control too

apticron suggests no packages.

-- debconf information excluded



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

Reply via email to