diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-03-07 16:36:36 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-03-07 16:36:36 -0400 |
| commit | 16a95afa2fe22a4df9c371489c4ee7ffdef8e07b (patch) | |
| tree | 6e0869e78aba03be2591569369e1e099bb86568e /doc/forum/chroot_issue_when_upgrading | |
| parent | 9bbc292b3f903a1476e3524bb9198e58ce300401 (diff) | |
| parent | 822694e790102efa2a5bb4a0c3d62c6fce1d4e87 (diff) | |
Merge remote-tracking branch 'remotes/misandrist/FreeBSD' into wip
Diffstat (limited to 'doc/forum/chroot_issue_when_upgrading')
| -rw-r--r-- | doc/forum/chroot_issue_when_upgrading/comment_2_eea48d51f241651935f695ea1dc7dd87._comment | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/forum/chroot_issue_when_upgrading/comment_2_eea48d51f241651935f695ea1dc7dd87._comment b/doc/forum/chroot_issue_when_upgrading/comment_2_eea48d51f241651935f695ea1dc7dd87._comment new file mode 100644 index 00000000..654ea40c --- /dev/null +++ b/doc/forum/chroot_issue_when_upgrading/comment_2_eea48d51f241651935f695ea1dc7dd87._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2016-02-29T21:44:19Z" + content=""" +There are several ways this could happen, along the lines of a power +failure or ctrl-c at the wrong time. A failing postinst may also cause +apt to leave other packages un-configured, although `dpkg configure -a` +probably won't recover from that case. + +I think it makes sense for Apt.upgrade to run `dpkg --configure -a` +in case the last upgrade got into this state. I don't think it makes sense +for Apt.install to do that (too much overhead to do it every time, +and I don't think that unconfigured packages normally prevent installing +of an unrelated package anyway). I've made a change along these lines. +"""]] |
