[Bug 1260297] Re: status_update not sent any more, causes eternal hang on conffile prompts
Martin Pitt
martin.pitt at ubuntu.com
Thu Dec 12 12:09:55 UTC 2013
I believe aptdaemon/progress.py _on_status_update() is responsible for
intercepting conffile prompts. However, this does not get called *at
all* any more, I checked this by adding a raise RuntimeError('caught!')
at the top, and also some log.warning() (which never appears). So it
seems recent apt breaks the status-fd handling?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/1260297
Title:
status_update not sent any more, causes eternal hang on conffile
prompts
Status in “aptdaemon” package in Ubuntu:
Triaged
Status in “aptdaemon” source package in Trusty:
Triaged
Bug description:
On November 23, aptdaemon started to fail its tests [1]. In
particular, it now eternally hangs in the conffile tests, which is
reproducible locally perfectly well (on current trusty):
$ PYTHONPATH=. python3 tests/test_configfileprompt.py ConfigFilePromptTestCase.test_keep
[...]
13:04:03 AptDaemon.Trans [DEBUG]: Emitting PropertyChanged: StatusDetails, silly-config wird konfiguriert
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: Setting up silly-config (0.1-0) ...
13:04:03 AptDaemon.Worker.Terminal [DEBUG]:
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: Configuration file `/etc/silly-packages.cfg' (actually `/tmp/tmp8q_w7btmp/etc/silly-packages.cfg')
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: ==> File on system created by you or by a script.
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: ==> File also in package provided by package maintainer.
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: What would you like to do about it ? Your options are:
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: Y or I : install the package maintainer's version
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: N or O : keep your currently-installed version
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: D : show the differences between the versions
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: Z : start a shell to examine the situation
13:04:03 AptDaemon.Worker.Terminal [DEBUG]: The default action is to keep your current version.
After that it hangs eternally, you need to run "killall dpkg" to
finish this.
This coincides with the large apt update from 0.9.9.1~ubuntu5 to
0.9.13~exp1ubuntu1 [2]; dpkg or aptdaemon itself haven't been uploaded
in a while, so I'm fairly certain that either this is a regression in
apt, or some deliberate new behaviour for which aptdaemon needs to be
updated.
I already ensured that the fix for bug 1254696 (Apt::Keep-Fds) does
not help, and apparently aptdaemon does not even use that.
[1] https://jenkins.qa.ubuntu.com/job/trusty-adt-aptdaemon/?
[2] https://launchpad.net/ubuntu/+source/apt/0.9.13~exp1ubuntu1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1260297/+subscriptions
More information about the foundations-bugs
mailing list