diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-08-04 21:37:41 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-08-04 21:37:41 +0200 |
commit | 727d8712bc8d681ac95e0d8c61d3d0b46d11494c (patch) | |
tree | 80d302107af0baa7bc60a82f675a052f0894841d /cmdline/apt-get.cc | |
parent | 9bcfc8184cdae76cef68494ffe0c1a876dcb7175 (diff) |
improve the check for purely virtuals as provided packages aren't
purely virtual and shouldn't error out cause of that
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r-- | cmdline/apt-get.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index b433a7915..b14206f92 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -3004,7 +3004,7 @@ bool DoBuildDep(CommandLine &CmdL) else Pkg = Cache->FindPkg(D->Package); - if (Pkg.end() == true || Pkg->VersionList == 0) + if (Pkg.end() == true || (Pkg->VersionList == 0 && Pkg->ProvidesList == 0)) { if (_config->FindB("Debug::BuildDeps",false) == true) cout << " (not found)" << (*D).Package << endl; |