I have a cronjob that runs "aptitude clean" daily, I left the
interactive apt-listchanges dialog open during the run of this
cronjob, this is what happened:
Get:236 http://ftp.de.debian.org/debian/ testing/main lm-sensors amd64 1:3.3.0-1 [124 kB]
Get:237 http://ftp.de.debian.org/debian/ testing/main pdns-server amd64 2.9.22-9 [839 kB]
Get:238 http://ftp.de.debian.org/debian/ testing/main postfix amd64 2.8.2-1+b1 [1,510 kB]
Get:239 http://ftp.de.debian.org/debian/ testing/main rtorrent amd64 0.8.7-6+b1 [562 kB]
Fetched 270 MB in 1min 8s (3,934 kB/s)
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n] Y
apt-listchanges: Mailing apt-listchanges: apt-listchanges: changelogs for w
apt-listchanges: Mailing apt-listchanges: apt-listchanges: news for w
E: Could not open file /var/cache/apt/archives/gcj-4.4-jdk_4.4.6-2_amd64.deb - open (2: No such file or directory)
E: Unable to determine the file size - fstat (9: Bad file descriptor)
E: Read error - read (9: Bad file descriptor)
E: Prior errors apply to /var/cache/apt/archives/gcj-4.4-jdk_4.4.6-2_amd64.deb
E: Could not open file /var/cache/apt/archives/libgcj10-dev_4.4.6-2_amd64.deb - open (2: No such file or directory)
E: Unable to determine the file size - fstat (9: Bad file descriptor)
E: Read error - read (9: Bad file descriptor)
[.. dpkg continues to completely fail and not install packages ..]
So apt-listchanges sent out an E-Mail about the upgrade *before* it
was successful, meaning that the things it said had been upgraded
actually weren't.
Please only send an E-Mail after a successful upgrade.