summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-install.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index 4a68bb9d1..e7606a1d1 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -686,7 +686,7 @@ bool DoInstall(CommandLine &CmdL)
if(Type->CreateItem(List, *I, "", "", Options))
{
pkgSourceList *sources = Cache.GetSourceList();
- sources->Add(List[0]);
+ sources->AddMetaIndex(List[0]);
}
}
}