]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.cc
Reinstall command
[apt.git] / apt-pkg / pkgcache.cc
index 4ff5a27ea10d792a46f7e0c4557ecadbdcbe425a..2a10928aa2d9fbe5321c50edc1306a2ee75a90b1 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: pkgcache.cc,v 1.25 1999/05/23 22:55:54 jgg Exp $
+// $Id: pkgcache.cc,v 1.29 1999/10/02 03:11:50 jgg Exp $
 /* ######################################################################
    
    Package Cache - Accessor code for the cache
@@ -44,7 +44,7 @@ pkgCache::Header::Header()
    /* Whenever the structures change the major version should be bumped,
       whenever the generator changes the minor version should be bumped. */
    MajorVersion = 3;
-   MinorVersion = 1;
+   MinorVersion = 4;
    Dirty = true;
    
    HeaderSz = sizeof(pkgCache::Header);
@@ -250,8 +250,7 @@ pkgCache::PkgIterator::OkState pkgCache::PkgIterator::State() const
        Pkg->CurrentState == pkgCache::State::HalfConfigured)
       return NeedsConfigure;
    
-   if (Pkg->CurrentState == pkgCache::State::UnInstalled ||
-       Pkg->CurrentState == pkgCache::State::HalfInstalled ||
+   if (Pkg->CurrentState == pkgCache::State::HalfInstalled ||
        Pkg->InstState != pkgCache::State::Ok)
       return NeedsUnpack;