severity 624757 wishlist tag 624757 wontfix thanks On Sun, May 01, 2011 at 11:21:56AM +0000, Debian bug at v.nix.is wrote: > Package: apt-listchanges > Version: 2.85.7 > Severity: important > > 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.
apt-listchanges never claimed to send mails only when the upgrade worked, so it can't be important, merely a wishlist item. Sadly it's not doable because apt doesn't have a fine grained way to tell us what was upgraded and what wasn't. Plus once we've showed you (as in sent a mail) about upgrades, it's not shown anymore afterwards, so you definitely want a mail even if the upgrade failed. Your wishlist item is just not doable sorry. PS: I think that apticron does what you want, and in a very different fashion than apt-listchanges. -- ·O· Pierre Habouzit ··O madco...@debian.org OOO http://www.madism.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org