Browse Source

don't lock dpkg in 'apt-get clean'

We get the archives/lock for clean – that is enough to ensure that other
apt instances aren't interfering (or are being interfered with). We
don't need to block actions involving dpkg.
tags/debian/1.4_rc1
David Kalnischkies 4 years ago
parent
commit
22acd327ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apt-private/private-download.cc

+ 1
- 1
apt-private/private-download.cc View File

@@ -367,7 +367,7 @@ bool DoAutoClean(CommandLine &)
}

CacheFile Cache;
if (Cache.Open() == false)
if (Cache.Open(false) == false)
return false;

LogCleaner Cleaner;


Loading…
Cancel
Save