From a546101c245d4096961e0917c9aa9ab937b6e0ae Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 8 Feb 2006 10:19:02 +0000 Subject: * fix regression about not working --print-uris in "install" --- cmdline/apt-get.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cmdline/apt-get.cc') diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index abeb57c6f..837094ee0 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1411,15 +1411,6 @@ bool DoUpgrade(CommandLine &CmdL) /* Install named packages */ bool DoInstall(CommandLine &CmdL) { - // Lock the list directory - FileFd Lock; - if (_config->FindB("Debug::NoLocking",false) == false) - { - Lock.Fd(GetLock(_config->FindDir("Dir::State::Lists") + "lock")); - if (_error->PendingError() == true) - return _error->Error(_("Unable to lock the list directory")); - } - CacheFile Cache; if (Cache.OpenForInstall() == false || Cache.CheckDeps(CmdL.FileSize() != 1) == false) -- cgit v1.2.3