diff options
author | Guillem Jover <guillem@debian.org> | 2014-10-22 14:03:56 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-10-23 00:17:40 +0200 |
commit | e65a01f242a218828ec205467fb6203515fde48a (patch) | |
tree | 2eef90c124f1cd677f0a7dfe888b93d6793d91d1 | |
parent | ce27f5dc0c3dc6ed7656d09784ea461407765d7d (diff) | |
download | dpkg-e65a01f242a218828ec205467fb6203515fde48a.tar.gz |
dpkg: Add a debug line for each package processed in the queue
This gives a general overview of the current progress.
-rw-r--r-- | src/packages.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/packages.c b/src/packages.c index 29517c7ed..290565157 100644 --- a/src/packages.c +++ b/src/packages.c @@ -229,6 +229,9 @@ void process_queue(void) { } } + debug(dbg_general, "process queue pkg %s queue.len %d progress %d, try %d", + pkg_name(pkg, pnaw_always), queue.length, sincenothing, dependtry); + if (pkg->status > PKG_STAT_INSTALLED) internerr("package status (%d) > PKG_STAT_INSTALLED", pkg->status); |