- do not run "dpkg --configure pkg" if pkg is in trigger-awaited
state (LP: #322955)
- do not unlink files in partial/ (thanks to robbiew)
if (Pkg->CurrentState == pkgCache::State::UnPacked ||
Pkg->CurrentState == pkgCache::State::HalfConfigured ||
if (Pkg->CurrentState == pkgCache::State::UnPacked ||
Pkg->CurrentState == pkgCache::State::HalfConfigured ||
- Pkg->CurrentState == pkgCache::State::TriggersPending ||
- Pkg->CurrentState == pkgCache::State::TriggersAwaited)
+ //we don't need to care for triggers awaiting packages
+ //dpkg will deal with them automatically when the
+ //trigger pending action is run (those packages are usually
+ //in half-configured or triggers-pending state)
+ //Pkg->CurrentState == pkgCache::State::TriggersAwaited
+ Pkg->CurrentState == pkgCache::State::TriggersPending)
return NeedsConfigure;
if (Pkg->CurrentState == pkgCache::State::HalfInstalled ||
return NeedsConfigure;
if (Pkg->CurrentState == pkgCache::State::HalfInstalled ||
* cmdline/apt-get.cc:
- default to "false" for the "APT::Get::Build-Dep-Automatic"
option (follow debian here)
* cmdline/apt-get.cc:
- default to "false" for the "APT::Get::Build-Dep-Automatic"
option (follow debian here)
+ * apt-pkg/pkgcache.cc:
+ - do not run "dpkg --configure pkg" if pkg is in trigger-awaited
+ state (LP: #322955)
* methods/https.cc:
- add Acquire::https::AllowRedirect support
* methods/https.cc:
- add Acquire::https::AllowRedirect support
+ - do not unlink files in partial/ (thanks to robbiew)
[ Dereck Wonnacott ]
* Clarify the --help for 'purge' (LP: #243948)
[ Dereck Wonnacott ]
* Clarify the --help for 'purge' (LP: #243948)
// cleanup
if(success != 0)
{
// cleanup
if(success != 0)
{
- unlink(File->Name().c_str());
_error->Error("%s", curl_errorstr);
Fail();
return true;
_error->Error("%s", curl_errorstr);
Fail();
return true;