Here you are... :) I attached to process (apt-get dist-upgrade --fix-
missing) when apt asks me for confirmation (part 'Czy chcesz kontynuować
[T/n]? t' as above). Listing below. I previously downloaded other
packages so apt tries to download only the missing.

Process 10543 attached - interrupt to quit
read(0, "t\n", 1024)                    = 2
stat64("/usr/lib/apt/methods/http", {st_mode=S_IFREG|0755, st_size=49556, ...}) 
= 0
pipe([26, 27])                          = 0
pipe([28, 29])                          = 0
fcntl64(26, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(27, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(28, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(29, F_SETFD, FD_CLOEXEC)        = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7bfe928) = 10549
fcntl64(26, F_GETFL)                    = 0 (flags O_RDONLY)
fcntl64(26, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(29, F_GETFL)                    = 0x1 (flags O_WRONLY)
fcntl64(29, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
close(27)                               = 0
close(28)                               = 0
select(27, [26], NULL, NULL, NULL)      = 1 (in [26])
read(26, "100 Capabilities\nVersion: 1.2\nPi"..., 64000) = 64
gettimeofday({1173793001, 607158}, NULL) = 0
gettimeofday({1173793001, 607181}, NULL) = 0
select(30, [26], [29], NULL, {0, 500000}) = 1 (out [29], left {0, 500000})
write(29, "601 Configuration\nConfig-Item: A"..., 2356) = 2356
gettimeofday({1173793001, 607283}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, [WINCH], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\r\r0% [Pracuj\304\231]", 15) = 15
select(27, [26], [], NULL, {0, 500000}) = 1 (in [26], left {0, 500000})
read(26, "102 Status\nURI: http://pl.archiv";..., 64000) = 173
select(27, [26], [], NULL, {0, 500000}) = 1 (in [26], left {0, 500000})
read(26, "102 Status\nURI: http://pl.archiv";..., 64000) = 194
select(27, [26], [], NULL, {0, 500000}) = 1 (in [26], left {0, 492000})
read(26, "102 Status\nURI: http://pl.archiv";..., 64000) = 164
select(27, [26], [], NULL, {0, 492000}) = 1 (in [26], left {0, 444000})
read(26, "400 URI Failure\nURI: http://pl.a";..., 64000) = 183
write(1, "\r             \rB\305\202\304\205d http://pl.";..., 106) = 106
write(1, "  404 Not Found\n", 16)       = 16
gettimeofday({1173793001, 668143}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, [WINCH], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\r0% [Pracuj\304\231]", 14)   = 14
select(27, [26], [], NULL, {0, 500000}) = 1 (in [26], left {0, 500000})
read(26, "102 Status\nURI: http://pl.archiv";..., 64000) = 150
select(27, [26], [], NULL, {0, 500000}) = 1 (in [26], left {0, 500000})
read(26, "400 URI Failure\nURI: http://pl.a";..., 64000) = 169
write(1, "\r             \rB\305\202\304\205d http://pl.";..., 92) = 92
write(1, "  404 Not Found\n", 16)       = 16
gettimeofday({1173793001, 668635}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, [WINCH], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\r0% [Pracuj\304\231]", 14)   = 14
gettimeofday({1173793001, 668756}, NULL) = 0
write(1, "\r             \r", 15)       = 15
close(26)                               = 0
close(29)                               = 0
kill(10549, SIGINT)                     = 0
waitpid(10549, [{WIFEXITED(s) && WEXITSTATUS(s) == 100}], 0) = 10549
--- SIGCHLD (Child exited) @ 0 (0) ---
write(2, "Nie uda\305\202o si\304\231 pobra\304\207 http://p";..., 151) = 151
write(2, "Nie uda\305\202o si\304\231 pobra\304\207 http://p";..., 137) = 137
brk(0x81b4000)                          = 0x81b4000
brk(0x81ae000)                          = 0x81ae000

As you can see process is still waiting, strace is still attached. I can
close apt with Ctrl-c (don't need to use kill), the strace will detach:

--- SIGINT (Interrupt) @ 0 (0) ---
Process 10543 detached

-- 
Feisty Update manager...
https://launchpad.net/bugs/84232

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to