#include <apt-pkg/strutl.h>
#include <apt-pkg/configuration.h>
#include <apt-pkg/aptconfiguration.h>
+#include <apt-pkg/macros.h>
#include <apti18n.h>
#include <unistd.h>
#include <ctype.h>
-#include <system.h>
/*}}}*/
using std::string;
are a problem everytime we need to download/install something. */
bool pkgCache::VerIterator::Pseudo() const
{
- return (S->MultiArch == pkgCache::Version::All &&
- strcmp(Arch(true),"all") != 0);
+ if (S->MultiArch == pkgCache::Version::All &&
+ strcmp(Arch(true),"all") != 0)
+ {
+ GrpIterator const Grp = ParentPkg().Group();
+ return (Grp->LastPackage != Grp->FirstPackage);
+ }
+ return false;
}
/*}}}*/
// VerIterator::NewestFile - Return the newest file version relation /*{{{*/