Index: cmdline/apt-get.cc
===================================================================
--- cmdline/apt-get.cc (revision 316)
+++ cmdline/apt-get.cc (revision 317)
@@ -2643,7 +2643,9 @@
bool DoBuildDep(CommandLine &CmdL)
{
CacheFile Cache;
- if (Cache.Open(true) == false)
+ // CNC:2004-04-06
+ if (Cache.OpenForInstall() == false ||
+ Cache.CheckDeps() == false)
return false;
if (CmdL.FileSize() <= 1)