summaryrefslogtreecommitdiff
path: root/apt-pkg/prettyprinters.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-07-10 14:14:43 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-07-22 16:05:10 +0200
commit8b21456acba3cbbc28f35eba684d8f21b0c290b4 (patch)
tree2fc663409b3e17027e85ebdb475f0d6ae78968c5 /apt-pkg/prettyprinters.cc
parent84255101ee38693aea2fd456cf0da174434afa01 (diff)
report progress for triggered actions
APT doesn't know which packages will be triggered in the course of actions, so it can't plan to see them for progress beforehand, but if it sees that dpkg says that a package was triggered we can add additional states. This is pretty much magic – after all it sets back the progress – and there are cornercases in which this will result in incorrect totals (package in partial states may or may not loose trigger states), but the worst which can happen is that the progress is slightly incorrect and doesn't reach 100%, but so be it. Better than being stuck at 100% for a while as apt isn't realizing that a bunch of triggers still need to be processed.
Diffstat (limited to 'apt-pkg/prettyprinters.cc')
0 files changed, 0 insertions, 0 deletions