When the old package’s prerm fails, dpkg goes back and runs the new package’s prerm instead, to allow us to escape exactly that kind of chicken-and-egg problem. We could, for example, have the new prerm create the cgroup-lite.service → /dev/null symlink if it isn’t already there.
When the old package’s prerm fails, dpkg goes back and runs the new package’s prerm instead, to allow us to escape exactly that kind of chicken-and-egg problem. We could, for example, have the new prerm create the cgroup-lite.service → /dev/null symlink if it isn’t already there.