Repository navigation
v0.9.3
Upgrading from 0.9.2
- No protocol change. Upgrade the CLI and bump the dependencies to
0.9.3together, 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--checktoo, namingapt-mark unhold <pkg>. apt-get already refused these in the real run; the failure now comes incheck, before the dry run sayswould change.
Fixes
apt::Absentno longer refuses a package that is already gone. dpkg keeps anot-installedrecord for any package another installed package names (Depends,Breaks, ...), so a playbook that purged such a package failed its next run withpackage ... is in dpkg state 'unknown ok not-installed'; fix it by hand (dpkg --configure -a). It now reports the package innot_presentand the step isok, with or without.purge(true). (#157, #158)- A held package that is installed is
okforapt::Present, and forapt::Latestwhen it is at its candidate, instead ofapt-get installrunning and reportingchangedon 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, areinstreqflag, ...) are still refused byapt::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