diff options
author | Michael Vogt <egon@debian-devbox> | 2011-08-15 09:23:39 +0200 |
---|---|---|
committer | Michael Vogt <egon@debian-devbox> | 2011-08-15 09:23:39 +0200 |
commit | a288748e481c707127b416439407eb613cd12a8a (patch) | |
tree | 99f948214a2eca57f47a20249c3069ceb92f8954 | |
parent | ea50fdfe2fc21757412baf448b2d41b3ce34b626 (diff) | |
parent | 629b60f6feea2d2d356645aa2615b212481bd3d8 (diff) |
merged fixes from lp:~mvo/apt/mvo
-rw-r--r-- | apt-pkg/acquire-item.cc | 1 | ||||
-rw-r--r-- | apt-pkg/pkgcachegen.cc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index 2a514b088..566f51606 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -1397,6 +1397,7 @@ void pkgAcqMetaIndex::QueueIndexes(bool verify) /*{{{*/ { std::cerr << "Queueing: " << (*Target)->URI << std::endl; std::cerr << "Expected Hash: " << ExpectedIndexHash.toStr() << std::endl; + std::cerr << "For: " << Record->MetaKeyFilename << std::endl; } if (ExpectedIndexHash.empty() == true && (*Target)->IsOptional() == false) { diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index 8a7c1e979..dc5a830bd 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/apt-pkg/pkgcachegen.cc @@ -935,7 +935,7 @@ static bool CheckValidity(const string &CacheFile, return false; } - if (List.GetLastModifiedTime() < GetModificationTime(CacheFile)) + if (List.GetLastModifiedTime() > GetModificationTime(CacheFile)) { if (Debug == true) std::clog << "sources.list is newer than the cache" << std::endl; |