From: Zac Medico Date: Fri, 28 Dec 2007 18:14:00 +0000 (-0000) Subject: Just ignore it when the global counter file does not match X-Git-Tag: v2.1.4~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d58e1ff47c64727eff71fe055cdd161d9f882f5;p=portage.git Just ignore it when the global counter file does not match the highest installed COUNTER since it's normal for them to differ in some cases. For example, the global counter file will contain a higher value if the user merges a package and then immediately unmerges it (unmerge does not update the global counter file, but merge does). (trunk r9078) svn path=/main/branches/2.1.2/; revision=9079 --- diff --git a/pym/portage.py b/pym/portage.py index a6a0aee42..e63ec480e 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6553,11 +6553,6 @@ class vardbapi(dbapi): writemsg("!!! Initializing COUNTER to " + \ "value of %d\n" % counter, noiselevel=-1) - if counter != real_counter: - changed = True - writemsg("!!! Initializing COUNTER to " + \ - "value of %d\n" % real_counter, noiselevel=-1) - # Never trust the counter file, since having a # corrupt value that is too low there can trigger # incorrect AUTOCLEAN behavior due to newly installed