Package: dpkg
Version: 1.17.9
Severity: normal
Dear Maintainer,
each time an alternative is removed, I get an email from cron next day because
the "dpkg" job in cron.daily produces output.
For example, I just got an email after updating mime-support yesterday
(which removed the "view" alternative):
/etc/cron.daily/dpkg:
tar: alternatives/view: Warning: Cannot stat: No such file or directory
The problem is the call to
tar -df ${dbalt}.tar.0 --warning=none -C $dbdir $dbalt
in the cronjob: tar complains if the file it compares to does not exist, and
it does so on stderr (hence the "> /dev/null" after this command does not help).
I verified this by manually running this command with the alternatives.1.tar
file,
and indeed I get the output I got via email.
Kind regards
Ralf
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.15.0-rc5 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dpkg depends on:
ii libbz2-1.0 1.0.6-5
ii libc6 2.18-5
ii liblzma5 5.1.1alpha+20120614-2
ii libselinux1 2.2.2-2
ii tar 1.27.1-2
ii zlib1g 1:1.2.8.dfsg-1
dpkg recommends no packages.
Versions of packages dpkg suggests:
ii apt 1.0.3
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]