summaryrefslogtreecommitdiff
path: root/src/solution_screen.cc
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2005-11-10 18:19:00 +0000
committerDaniel Burrows <dburrows@debian.org>2005-11-10 18:19:00 +0000
commit56d41d809a30e82607396891a0074cc893f1e1f6 (patch)
treeef89bcd9788d8ca8289ff6777798258353b86c45 /src/solution_screen.cc
parent9942c5e4f0a88c5d7722edaa6449c907520556c5 (diff)
downloadaptitude-56d41d809a30e82607396891a0074cc893f1e1f6.tar.gz
[aptitude @ Just to be safe, clear the active dep information when update() is called while the package cache is invalid.]
Diffstat (limited to 'src/solution_screen.cc')
-rw-r--r--src/solution_screen.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/solution_screen.cc b/src/solution_screen.cc
index 0490352c..82580c5b 100644
--- a/src/solution_screen.cc
+++ b/src/solution_screen.cc
@@ -463,6 +463,7 @@ public:
if(!apt_cache_file)
{
set_static_root(transcode(_("The package cache is not available.")));
+ set_active_dep(aptitude_resolver_dep());
return;
}