Comment 6 for bug 135262

Revision history for this message
Daevid Vincent (dae51d) wrote :

i did an upgrade from 8.04 to 8.10 and this isn't working either.

if i run it manualy : /etc/cron.daily/apt it just sits there...

root@daevid:/var/lib/apt/periodic# /usr/lib/update-notifier/apt-check
Reading package lists... Done
Building dependency tree
Reading state information... Done
0;0

root@daevid:/etc/cron.daily# strace ./apt
execve("./apt", ["./apt"], [/* 17 vars */]) = 0
brk(0) = 0x8a89000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f63000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=64977, ...}) = 0
mmap2(NULL, 64977, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f53000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340g\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1425800, ...}) = 0
mmap2(NULL, 1431152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7df5000
mmap2(0xb7f4d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x158) = 0xb7f4d000
mmap2(0xb7f50000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f50000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7df4000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7df48c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7f4d000, 8192, PROT_READ) = 0
mprotect(0x805d000, 4096, PROT_READ) = 0
mprotect(0xb7f80000, 4096, PROT_READ) = 0
munmap(0xb7f53000, 64977) = 0
getpid() = 16492
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid32() = 0
brk(0) = 0x8a89000
brk(0x8aaa000) = 0x8aaa000
getppid() = 16491
stat64("/etc/cron.daily", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("./apt", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x8056740, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
read(10, "#!/bin/sh\n#\n\n#set -e\n#\n# This fi"..., 8192) = 7680
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
stat64("/usr/local/sbin/which", 0xbf97efa8) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/which", 0xbf97efa8) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/which", 0xbf97efa8) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/which", {st_mode=S_IFREG|0755, st_size=946, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16493
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16493
--- SIGCHLD (Child exited) @ 0 (0) ---
dup2(11, 1) = 1
close(11) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16494
close(4) = 0
read(3, "UpdateInterval=\'1\'\nDownloadUpgra"..., 128) = 51
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16494
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16495
close(4) = 0
read(3, "AutocleanInterval=\'0\'\n", 128) = 22
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16495
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16496
close(4) = 0
read(3, "", 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16496
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(1, F_DUPFD, 10) = 11
close(1) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 1) = 1
close(3) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16497
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16497
--- SIGCHLD (Child exited) @ 0 (0) ---
dup2(11, 1) = 1
close(11) = 0
stat64("/usr/local/sbin/on_ac_power", 0xbf97efa8) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/on_ac_power", 0xbf97efa8) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/on_ac_power", 0xbf97efa8) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/on_ac_power", {st_mode=S_IFREG|0755, st_size=1697, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16498
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 255}], 0, NULL) = 16498
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fcntl64(2, F_DUPFD, 10) = 11
close(2) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
dup2(3, 2) = 2
close(3) = 0
stat64("/usr/local/sbin/apt-get", 0xbf97efa8) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/apt-get", 0xbf97efa8) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/apt-get", 0xbf97efa8) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/apt-get", {st_mode=S_IFREG|0755, st_size=112812, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16500
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16500
--- SIGCHLD (Child exited) @ 0 (0) ---
dup2(11, 2) = 2
close(11) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16501
close(4) = 0
read(3, "", 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16501
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16502
close(4) = 0
read(3, "11255\n", 128) = 6
read(3, "", 128) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16502
stat64("/usr/local/sbin/sleep", 0xbf97ee48) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/sleep", 0xbf97ee48) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/sleep", 0xbf97ee48) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/sleep", 0xbf97ee48) = -1 ENOENT (No such file or directory)
stat64("/sbin/sleep", 0xbf97ee48) = -1 ENOENT (No such file or directory)
stat64("/bin/sleep", {st_mode=S_IFREG|0755, st_size=26060, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df4908) = 16506
wait4(-1,

and it just sits there forever... :-\