I have to admit, I really really hate apt-listchanges. If I'm going to do a huge dist-upgrade, I want to just leave the computer there for a few hours. The asker of this serverfault question had a similar goal in mind, bu after implementing all of the suggestions in that post, I was still hit by apt-listchanges.
Why is it so difficult to achieve non-interactivity with apt, an otherwise excellent program, given that the Unix philosophy aspires to it?
I am hoping the changes I made to /etc/apt/listchanges.conf will help, but I want suggestions as to how to reliably do upgrades without any interaction whatsoever.
[apt]
frontend=none
email_address=root
confirm=0
save_seen=/var/lib/apt/listchanges.db
which=news
This is the command I used was
DEBIAN_FRONTEND=noninteractive \
apt-get \
-o Dpkg::Options::="--force-confnew" \
--force-yes \
-fuy \
dist-upgrade
I also added the following lines to /etc/dpkg/dpkg.cfg
force-confold
force-confdef
apt-listchanges, why do you install it? – Gilles Sep 12 '12 at 23:28apt-get purge apt-listchangeshelping you ? – warl0ck Sep 12 '12 at 23:55