diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-01-19 01:07:03 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2017-01-19 01:07:03 +0100 |
commit | 22acd327ac39ffe3bb14b3e1f2d1f21761de13ca (patch) | |
tree | b5b087fc239d5b882433afb3feb8edba3c3dc7bd /apt-private | |
parent | 33f982b90a4f77be18cb82daf8c79e9c5513761c (diff) |
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.
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/private-download.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-download.cc b/apt-private/private-download.cc index d0cbbcf50..ee477f4cb 100644 --- a/apt-private/private-download.cc +++ b/apt-private/private-download.cc @@ -367,7 +367,7 @@ bool DoAutoClean(CommandLine &) } CacheFile Cache; - if (Cache.Open() == false) + if (Cache.Open(false) == false) return false; LogCleaner Cleaner; |