From d432565f6619ccac8cee073fbc6c58f9e2a5e27c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 29 Feb 2016 18:04:03 -0400 Subject: comment --- ...ment_1_291a24a225148978dc6a5b447742fc81._comment.swp | Bin 0 -> 4096 bytes .../comment_1_291a24a225148978dc6a5b447742fc81._comment | 7 +++++++ .../comment_2_eea48d51f241651935f695ea1dc7dd87._comment | 16 ++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 doc/forum/chroot_issue_when_upgrading/.comment_1_291a24a225148978dc6a5b447742fc81._comment.swp create mode 100644 doc/forum/chroot_issue_when_upgrading/comment_1_291a24a225148978dc6a5b447742fc81._comment create mode 100644 doc/forum/chroot_issue_when_upgrading/comment_2_eea48d51f241651935f695ea1dc7dd87._comment (limited to 'doc/forum/chroot_issue_when_upgrading') diff --git a/doc/forum/chroot_issue_when_upgrading/.comment_1_291a24a225148978dc6a5b447742fc81._comment.swp b/doc/forum/chroot_issue_when_upgrading/.comment_1_291a24a225148978dc6a5b447742fc81._comment.swp new file mode 100644 index 00000000..e0855782 Binary files /dev/null and b/doc/forum/chroot_issue_when_upgrading/.comment_1_291a24a225148978dc6a5b447742fc81._comment.swp differ diff --git a/doc/forum/chroot_issue_when_upgrading/comment_1_291a24a225148978dc6a5b447742fc81._comment b/doc/forum/chroot_issue_when_upgrading/comment_1_291a24a225148978dc6a5b447742fc81._comment new file mode 100644 index 00000000..e9c3f7e8 --- /dev/null +++ b/doc/forum/chroot_issue_when_upgrading/comment_1_291a24a225148978dc6a5b447742fc81._comment @@ -0,0 +1,7 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-02-29T21:43:24Z" + content=""" + +"""]] 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. +"""]] -- cgit v1.2.3