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.mdwn | |
| parent | 9bbc292b3f903a1476e3524bb9198e58ce300401 (diff) | |
| parent | 822694e790102efa2a5bb4a0c3d62c6fce1d4e87 (diff) | |
Merge remote-tracking branch 'remotes/misandrist/FreeBSD' into wip
Diffstat (limited to 'doc/forum/chroot_issue_when_upgrading.mdwn')
| -rw-r--r-- | doc/forum/chroot_issue_when_upgrading.mdwn | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/forum/chroot_issue_when_upgrading.mdwn b/doc/forum/chroot_issue_when_upgrading.mdwn new file mode 100644 index 00000000..9d65eed4 --- /dev/null +++ b/doc/forum/chroot_issue_when_upgrading.mdwn @@ -0,0 +1,42 @@ +Hello, + +It seems that my unstable chroot is broken. +When I do an upgrade, I get this error message + + + E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. + /srv/chroot/unstable-i386-sbuild has Operating System (Debian Unstable) "i386" ... ok + /srv/chroot/unstable-i386-sbuild noop property ... ok + /srv/chroot/unstable-i386-sbuild apt installed apt-transport-https ... ok + /srv/chroot/unstable-i386-sbuild standard sources.list ... ok + Hit:1 http://ftp2.fr.debian.org/debian unstable InRelease + Hit:2 http://mirrors.kernel.org/debian unstable InRelease + /srv/chroot/unstable-i386-sbuild apt update ... failed + /srv/chroot/unstable-i386-sbuild apt cache cleaned ... ok + mordor chroot /srv/chroot/unstable-i386-sbuild provisioned ... failed + +the properties are here + sbuild :: System -> Proxy -> RevertableProperty HasInfo + sbuild system proxy = Sbuild.schroot schrootname chroot + where + chroot = Chroot.debootstrapped Debootstrap.BuilddD chrootdir + & os system + & case proxy of + (Just p) -> "/etc/apt/apt.conf.d/01proxy" `File.hasContent` ["Acquire::http::Proxy \"" ++ p ++ "\";"] + Nothing -> doNothing + & Apt.installed ["apt-transport-https"] + & Apt.stdSourcesList + & Apt.update `onChange` Apt.upgrade + & Apt.cacheCleaned + schrootname = Sbuild.schrootname system + chrootdir = "/srv/chroot" </> schrootname + +so the update failed and the solution seems to be + + dpkg --configure -a + +Is it possible to deal with this problem in the update property in order to make it transparent for the users. + +Cheers + +Frederic |
