/etc/cron.daily/apt hangs

Daevid Vincent daevid at daevid.com
Mon Feb 23 19:43:02 UTC 2009


If I try to run /etc/cron.daily/apt, it just hangs.

This is a fresh 8.04 server install upgraded to 8.10 (I had to do it
that way because the 8.10 CDs wouldn't install for some reason!?)

I've googled around and seen this issue listed, but no solution that
works for me so far. Anyone have ideas?

root at daevid:/etc/cron.daily# strace ./apt
execve("./apt", ["./apt"], [/* 17 vars */]) = 0
brk(0)                                  = 0x9dd3000
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) = 0xb7f92000
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=66482, ...}) = 0
mmap2(NULL, 66482, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f81000
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) = 0xb7e23000
mmap2(0xb7f7b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x158) = 0xb7f7b000
mmap2(0xb7f7e000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0xb7f7e000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e22000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e228c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7f7b000, 8192, PROT_READ)   = 0
mprotect(0x805d000, 4096, PROT_READ)    = 0
mprotect(0xb7faf000, 4096, PROT_READ)   = 0
munmap(0xb7f81000, 66482)               = 0
getpid()                                = 16068
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid32()                             = 0
brk(0)                                  = 0x9dd3000
brk(0x9df4000)                          = 0x9df4000
getppid()                               = 16067
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#FIXME:\n#[dv] added"..., 8192) = 7794
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", 0xbfeae4e8) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/bin/which", 0xbfeae4e8) = -1 ENOENT (No such file or
directory)
stat64("/usr/sbin/which", 0xbfeae4e8)   = -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=0xb7e22908) = 16069
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16069
--- 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=0xb7e22908) = 16070
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) = 16070
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0xb7e22908) = 16071
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) = 16071
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0xb7e22908) = 16072
close(4)                                = 0
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16072
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=0xb7e22908) = 16073
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16073
--- SIGCHLD (Child exited) @ 0 (0) ---
dup2(11, 1)                             = 1
close(11)                               = 0
stat64("/usr/local/sbin/on_ac_power", 0xbfeae4e8) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/bin/on_ac_power", 0xbfeae4e8) = -1 ENOENT (No such
file or directory)
stat64("/usr/sbin/on_ac_power", 0xbfeae4e8) = -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=0xb7e22908) = 16074
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 255}], 0, NULL) = 16074
--- 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", 0xbfeae4e8) = -1 ENOENT (No such file
or directory)
stat64("/usr/local/bin/apt-get", 0xbfeae4e8) = -1 ENOENT (No such file
or directory)
stat64("/usr/sbin/apt-get", 0xbfeae4e8) = -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=0xb7e22908) = 16076
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16076
--- 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=0xb7e22908) = 16077
close(4)                                = 0
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16077
pipe([3, 4])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0xb7e22908) = 16078
close(4)                                = 0
read(3, "28880\n", 128)                 = 6
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16078
stat64("/usr/local/sbin/sleep", 0xbfeae388) = -1 ENOENT (No such file or
directory)
stat64("/usr/local/bin/sleep", 0xbfeae388) = -1 ENOENT (No such file or
directory)
stat64("/usr/sbin/sleep", 0xbfeae388)   = -1 ENOENT (No such file or
directory)
stat64("/usr/bin/sleep", 0xbfeae388)    = -1 ENOENT (No such file or
directory)
stat64("/sbin/sleep", 0xbfeae388)       = -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=0xb7e22908) = 16082
wait4(-1, 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090223/d295673b/attachment.html>


More information about the ubuntu-users mailing list