diff options
| author | picca <picca@web> | 2016-03-29 21:41:50 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2016-03-29 21:41:50 +0000 |
| commit | 8461cad491c085c9e6211574671e6621134ed53b (patch) | |
| tree | 86058e44845c83922e2f6b8e60d5bbf428a12510 /doc/forum/chroot_issue_when_upgrading | |
| parent | 0209ad7c7b2b8b5b08542fdeb4428294b65df13e (diff) | |
Added a comment
Diffstat (limited to 'doc/forum/chroot_issue_when_upgrading')
| -rw-r--r-- | doc/forum/chroot_issue_when_upgrading/comment_5_fe9deffb0cd356787fed33a373115f73._comment | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/forum/chroot_issue_when_upgrading/comment_5_fe9deffb0cd356787fed33a373115f73._comment b/doc/forum/chroot_issue_when_upgrading/comment_5_fe9deffb0cd356787fed33a373115f73._comment new file mode 100644 index 00000000..43f12d0f --- /dev/null +++ b/doc/forum/chroot_issue_when_upgrading/comment_5_fe9deffb0cd356787fed33a373115f73._comment @@ -0,0 +1,26 @@ +[[!comment format=mdwn + username="picca" + subject="comment 5" + date="2016-03-29T21:41:50Z" + content=""" +Here the c++ code of apt + + // See if we need to abort with a dirty journal + if (CheckUpdates() == true) + { + close(d->LockFD); + d->LockFD = -1; + const char *cmd; + if (getenv(\"SUDO_USER\") != NULL) + cmd = \"sudo dpkg --configure -a\"; + else + cmd = \"dpkg --configure -a\"; + // TRANSLATORS: the %s contains the recovery command, usually + // dpkg --configure -a + return _error->Error(_(\"dpkg was interrupted, you must manually \" + \"run '%s' to correct the problem. \"), cmd); + } + +so there is a dirty journal. (maybe due to a power off during the chroot update) + +"""]] |
