> Hi, > > I'll need more details to solve this problem. > > Can you try running some debug commands, for ex strace (strace -p <pid > of process>) to see where the installation hangs ? > Also, since it is a chroot, please ensure that /proc and /dev are > mounted.
/proc and /dev are mounted. As a side note, I can install a full suite of desktop software in the chroot as well (xorg + kde), but ocsinventory-agent is the only package having an issue. strace in the chroot results in the following (let me know if I cut out too much): # strace apt-get install ocsinventory-agent ### a lot of output while it sets up deps ### write(1, "Setting up po-debconf (1.0.12) ."..., 36Setting up po-debconf (1.0.12) ... ) = 36 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [15], left {0, 0}) read(15, "status: po-debconf: unpacked\n", 1024) = 29 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [15], left {0, 0}) read(15, "status: po-debconf: half-configu"..., 1024) = 36 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [15], left {0, 0}) read(15, "status: po-debconf: installed\n", 1024) = 30 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [17], left {0, 0}) read(17, "Setting up ocsinventory-agent (1"..., 1024) = 47 write(1, "Setting up ocsinventory-agent (1"..., 47Setting up ocsinventory-agent (1:0.0.8-1) ... ) = 47 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [15], left {0, 0}) read(15, "status: ocsinventory-agent: unpa"..., 1024) = 37 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [15], left {0, 0}) read(15, "status: ocsinventory-agent: unpa"..., 1024) = 37 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [15], left {0, 0}) read(15, "status: ocsinventory-agent: unpa"..., 1024) = 37 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [15], left {0, 0}) read(15, "status: ocsinventory-agent: unpa"..., 1024) = 37 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [15], left {0, 0}) read(15, "status: ocsinventory-agent: half"..., 1024) = 44 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 0 (Timeout) waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 0 (Timeout) waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 0 (Timeout) waitpid(807, 0xffb2c0fc, WNOHANG) = 0 ### this is repeated until I ctrl-C ### waitpid(807, 0xffb2c0fc, WNOHANG) = 0 read(17, "Errors were encountered while pr"..., 1024) = 64 write(1, "Errors were encountered while pr"..., 64Errors were encountered while processing: ocsinventory-agent ) = 64 waitpid(807, 0xffb2c0fc, WNOHANG) = 0 pselect6(18, [0 15 17], NULL, NULL, {1, 0}, {0xffb2bec8, 8}) = 1 (in [17], left {0, 0}) --- SIGCHLD (Child exited) @ 0 (0) --- read(17, 0xffb2386c, 1024) = -1 EIO (Input/output error) nanosleep({0, 500000000}, NULL) = 0 waitpid(807, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], WNOHANG) = 807 close(15) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {SIG_IGN}, 8) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 -opost -isig -icanon -echo ...}) = 0 ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 close(17) = 0 time(NULL) = 1204497828 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0 write(4, "..\r\nSetting up libxml2 (2.6.31.d"..., 1211) = 1211 close(4) = 0 munmap(0xf7147000, 4096) = 0 brk(0x814e000) = 0x814e000 close(14) = 0 close(13) = 0 close(12) = 0 close(11) = 0 close(10) = 0 close(9) = 0 close(8) = 0 close(7) = 0 close(6) = 0 close(5) = 0 munmap(0xf716d000, 839680) = 0 munmap(0xf7149000, 147456) = 0 munmap(0xf723a000, 360448) = 0 munmap(0xf7292000, 9993141) = 0 write(2, "E: ", 3E: ) = 3 write(2, "Sub-process /usr/bin/dpkg return"..., 52Sub-process /usr/bin/dpkg returned an error code (1)) = 52 write(2, "\n", 1 ) = 1 close(3) = 0 exit_group(100) = ? Process 510 detached -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]