diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-01-19 01:07:03 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-02-22 16:53:46 +0100 |
commit | e3f9554224c59e1201d00716ef7d7ec046f79f5d (patch) | |
tree | 24f437fac64f3f7a74b110731d9ab36953ec3ebf /apt-private/private-download.cc | |
parent | 1d017d04c5fdbf71a35e8f154f01bc94305ad798 (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.
(cherry picked from commit 22acd327ac39ffe3bb14b3e1f2d1f21761de13ca)
Diffstat (limited to 'apt-private/private-download.cc')
-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; |