diff options
Diffstat (limited to 'apt-private/private-install.cc')
-rw-r--r-- | apt-private/private-install.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index e1beb21c6..041acce0e 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -346,7 +346,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask, bool Safety) } auto const progress = APT::Progress::PackageManagerProgressFactory(); - _system->UnLock(); + _system->UnLockInner(); pkgPackageManager::OrderResult const Res = PM->DoInstall(progress); delete progress; @@ -355,7 +355,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask, bool Safety) if (Res == pkgPackageManager::Completed) break; - _system->Lock(); + _system->LockInner(); // Reload the fetcher object and loop again for media swapping Fetcher.Shutdown(); |