summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-pkg/acquire-item.cc2
-rw-r--r--apt-pkg/depcache.cc2
-rw-r--r--debian/changelog13
3 files changed, 14 insertions, 3 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 1d651ba69..7b120d3ce 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -1504,7 +1504,7 @@ void pkgAcqMetaIndex::Failed(string Message,pkgAcquire::MethodConfig *Cnf)
/* Always move the meta index, even if gpgv failed. This ensures
* that PackageFile objects are correctly filled in */
- {
+ if (FileExists(DestFile)) {
string FinalFile = _config->FindDir("Dir::State::lists");
FinalFile += URItoFileName(RealURI);
/* InRelease files become Release files, otherwise
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index dc4a65bc1..474313a0d 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -70,7 +70,7 @@ void pkgDepCache::ActionGroup::release()
cache.MarkAndSweep();
}
- released = false;
+ released = true;
}
}
diff --git a/debian/changelog b/debian/changelog
index 9eae2d94e..762688386 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,8 @@
-apt (0.8.14.1) unstable; urgency=low
+apt (0.8.14.2) UNRELEASED; urgency=low
+
+ [ Julian Andres Klode ]
+ * apt-pkg/depcache.cc:
+ - Really release action groups only once (Closes: #622744)
[ David Kalnischkies ]
* fix a bunch of cppcheck warnings/errors based on a patch by
@@ -22,6 +26,13 @@ apt (0.8.14.1) unstable; urgency=low
-- David Kalnischkies <kalnischkies@gmail.com> Tue, 19 Apr 2011 20:57:52 +0200
+apt (0.8.14.1) unstable; urgency=low
+
+ * apt-pkg/acquire-item.cc:
+ - Only try to rename existing Release files (Closes: #622912)
+
+ -- Julian Andres Klode <jak@debian.org> Sat, 16 Apr 2011 14:36:10 +0200
+
apt (0.8.14) unstable; urgency=low
[ Julian Andres Klode ]