X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/74a05226eff7041cd8f2380fe599862d350a1ac3..8953292ef197b80c16d08b31830945fb7ac9ff8d:/apt-pkg/packagemanager.cc diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index 05615db79..b0dd43629 100644 --- a/apt-pkg/packagemanager.cc +++ b/apt-pkg/packagemanager.cc @@ -593,7 +593,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall() Pkg.State() == pkgCache::PkgIterator::NeedsNothing && (Cache[Pkg].iFlags & pkgDepCache::ReInstall) != pkgDepCache::ReInstall) { - _error->Error("Internal Error, trying to manipulate a kept package"); + _error->Error("Internal Error, trying to manipulate a kept package (%s)",Pkg.Name()); return Failed; } @@ -636,6 +636,6 @@ pkgPackageManager::OrderResult pkgPackageManager::DoInstall(int statusFd) if(DoInstallPreFork() == Failed) return Failed; - return DoInstallPostFork(); + return DoInstallPostFork(statusFd); } /*}}}*/