Manoj Srivastava wrote: > Have you ever considered dpkg --contents | awk '{print $3 "\t" $6}' > which takes but seconds and can be thus done on the fly? You can even > exlude all the conffiles with a suitable grep -v step.
Have you ever tried this on a large package? Like the 8 mb quake-lib package? % time dpkg --contents quake-lib_1.06-5_all.deb |wc -l 12.78user 1.40system 0:15.77elapsed 89%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (2524major+96minor)pagefaults 0swaps Dpkg has to seek through the entire .deb file for this command to work. Thus, it takes 15 seconds to process it (on my P-166). This is less than ideal when you have a lot of packages to process. -- see shy jo