ansible/ansible — pull request #4978 by geerds (2013-11-20 19:41:25+00:00)
Title: Make apt module work with "apt-listchanges" and "apt-listbugs" installed

The problem basically looks like this:
```
failed: [foobar.local] => (item=virtualenvwrapper) => {"failed": true, "item": "virtualenvwrapper"}
msg: 'apt-get install 'virtualenvwrapper' ' failed: E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (10)
E: Failure running script /usr/sbin/apt-listbugs apt
```

This is because a bug for the new *virtualenvwrapper* version has been reported on the debian BTS (I'm running debian sid). A other case could be that the new package has exciting news in the **NEWS** file and *apt-listchanges* tries to show you these news. I think we should explicitly disable the *apt-listchanges* and *apt-listbugs* hooks through the corresponding environment variables.