diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-05 14:26:00 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-05 14:26:00 +0200 |
commit | cd34cff9ba86412cde34ec94f28b21d4e15b1447 (patch) | |
tree | 8c5f3ba98ccbc0eee76a31f24200aeae83b8b4d8 | |
parent | 875f43482460b980f7951b7796caf541e21a648e (diff) |
releasing version 0.8.3ubuntu7
-rw-r--r-- | apt-pkg/depcache.cc | 4 | ||||
-rw-r--r-- | debian/changelog | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index ff9233ef2..d3e45f76b 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1192,9 +1192,13 @@ bool pkgDepCache::IsDeleteOk(PkgIterator const &Pkg,bool rPurge, std::clog << OutputInDepth(Depth) << "Hold prevents MarkDelete of " << Pkg << " FU=" << FromUser << std::endl; return false; } + // if the removal is not explictely requested by the user, protect + // explicit new-install package from accidental removal by the + // problemresolver else if (FromUser == false && Pkg->CurrentVer == 0) { StateCache &P = PkgState[Pkg->ID]; + // Status == 2 means this applies for new installs only if (P.InstallVer != 0 && P.Status == 2 && (P.Flags & Flag::Auto) != Flag::Auto) { if (DebugMarker == true) diff --git a/debian/changelog b/debian/changelog index 8a1f09481..8b737cc5c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -apt (0.8.3ubuntu7) UNRELEASED; urgency=low +apt (0.8.3ubuntu7) maverick; urgency=low [ David Kalnischkies ] * apt-pkg/depcache.cc: @@ -7,7 +7,7 @@ apt (0.8.3ubuntu7) UNRELEASED; urgency=low Test case: debootstrap, install exim4, run "apt-get install postfix" This will result in exim4-heavy instead of postfix - -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 04 Oct 2010 11:57:18 +0200 + -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 05 Oct 2010 14:13:38 +0200 apt (0.8.3ubuntu6) maverick; urgency=low |