]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.cc
* apt-pkg/packagemanager.cc:
[apt.git] / apt-pkg / deb / deblistparser.cc
index bdb50f6bff809ba9b7ebf22e8660dc243b244ae0..84e6c38c5440c90db4375da3e67ea740a7feb987 100644 (file)
@@ -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;