Skip to content

v0.9.3

Choose a tag to compare

@flipbit03 flipbit03 released this 24 Oct 16:50
ec352f0

Upgrading from 0.9.2

  • No protocol change. Upgrade the CLI and bump the dependencies to 0.9.3 together, as usual.
  • One new refusal: an apt step that would install, upgrade or remove a held package it names (apt-mark hold) now fails, under --check too, naming apt-mark unhold <pkg>. apt-get already refused these in the real run; the failure now comes in check, before the dry run says would change.

Fixes

  • apt::Absent no longer refuses a package that is already gone. dpkg keeps a not-installed record for any package another installed package names (Depends, Breaks, ...), so a playbook that purged such a package failed its next run with package ... is in dpkg state 'unknown ok not-installed'; fix it by hand (dpkg --configure -a). It now reports the package in not_present and the step is ok, with or without .purge(true). (#157, #158)
  • A held package that is installed is ok for apt::Present, and for apt::Latest when it is at its candidate, instead of apt-get install running and reporting changed on every run.
  • The apt ops now read a package's state from dpkg's state word, so a package selected for removal (deinstall ok installed) still counts as installed. Real half-states (half-configured, unpacked, a reinstreq flag, ...) are still refused by apt::Absent.

What's Changed

  • apt: read dpkg's state word, and refuse to change a held package (#157) by @flipbit03 in #158

Full Changelog: v0.9.2...v0.9.3