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 18:11:44 +0100 |
commit | 3078fe5a1854498c6cf22a902fb95370bf85fc6c (patch) | |
tree | f2d92d732b0237920ec8fa8b5e7f71950b2ea7c4 /apt-private | |
parent | 0dde581905291223e3f3b67cc739bd4db1e2055f (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)
(cherry picked from commit e3f9554224c59e1201d00716ef7d7ec046f79f5d)
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 89d0a50c7..3bc846e41 100644 --- a/apt-private/private-download.cc +++ b/apt-private/private-download.cc @@ -361,7 +361,7 @@ bool DoAutoClean(CommandLine &) } CacheFile Cache; - if (Cache.Open() == false) + if (Cache.Open(false) == false) return false; LogCleaner Cleaner; |