summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/deblistparser.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2012-03-05 14:57:11 +0100
committerJulian Andres Klode <jak@debian.org>2012-03-05 14:57:11 +0100
commit945099df10a67c3c7f52fcfef165a2782e51809e (patch)
tree3bc1dc06b8841b312e011be2d4d8b20364fcb961 /apt-pkg/deb/deblistparser.cc
parentbce778a312f88011a891e079b0a0f6d58f663479 (diff)
* apt-pkg/deb/deblistparser.cc:
- Set the Essential flag on APT instead of only Important
Diffstat (limited to 'apt-pkg/deb/deblistparser.cc')
-rw-r--r--apt-pkg/deb/deblistparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index bdb50f6bf..84e6c38c5 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -249,7 +249,7 @@ bool debListParser::UsePackage(pkgCache::PkgIterator &Pkg,
return false;
if (strcmp(Pkg.Name(),"apt") == 0)
- Pkg->Flags |= pkgCache::Flag::Important;
+ Pkg->Flags |= pkgCache::Flag::Essential | pkgCache::Flag::Important;
if (ParseStatus(Pkg,Ver) == false)
return false;