[Piuparts-devel] [PATCH] ignore /var/lib/apt/lists/.*

Andreas Beckmann debian at abeckmann.de
Sat Nov 5 23:14:22 UTC 2011


The state of /var/lib/apt/lists/.* depends on how often
  apt-get update
is being run, because it first downloads full packages files and only diffs
afterwards.
Also custom scripts that run apt-get update have an influence there.
Alternate solution would be to run apt-get update again before collecting state info.

Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

---
 piuparts.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/piuparts.py b/piuparts.py
index a731af2..881927b 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -253,6 +253,7 @@ class Settings:
             "/usr/lib/python2\../site-packages/debconf.py[co]",
             "/var/backups/.*",
             "/var/cache/man/(/.*)?",
+            "/var/lib/apt/lists/.*",
             "/var/lib/cvs(/.*)?",
             "/var/lib/dpkg/alternatives",
             "/var/lib/dpkg/triggers/.*",
-- 
tg: (04db231..) t/feat/ignore-apt-lists (depends on: develop)



More information about the Piuparts-devel mailing list