소스 검색

dpkg: Add a debug line for each package processed in the queue

This gives a general overview of the current progress.
Guillem Jover 12 년 전
부모
커밋
e65a01f242
1개의 변경된 파일과 3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/packages.c

+ 3 - 0
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);