Public bug reported:

Binary package hint: apt

apt-get appears to wedge, clocking 100% cpu, when upgrading with --fix-
missing. I've verified that this only happens with --fix-missing, and
even happens when there are no other packages to upgrade (ie. when fix-
missing wouldn't actually do anything).

Here's the output of apt-get upgrade --fix-missing as I run it under
strace:

# strace -o /tmp/wedged-apt-get apt-get upgrade -u --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  postfix python python-minimal
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1088kB/1136kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Err http://mirror.internode.on.net feisty/main postfix 2.3.7-1
  404 Not Found
Failed to fetch 
http://mirror.internode.on.net/pub/ubuntu/ubuntu/pool/main/p/postfix/postfix_2.3.7-1_i386.deb
  404 Not Found

Here's a tail of the strace output, once apt is wedged:

$ tail -f /tmp/wedged-apt-get
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\r0% [Working]", 13)          = 13
gettimeofday({1171162124, 240144}, NULL) = 0
write(1, "\r            \r", 14)        = 14
close(19)                               = 0
close(22)                               = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
kill(7720, SIGINT)                      = 0
waitpid(7720, [{WIFEXITED(s) && WEXITSTATUS(s) == 100}], 0) = 7720
write(2, "Failed to fetch http://mirror.in";..., 125) = 125

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Wedged at 100% cpu with --fix-missing
https://launchpad.net/bugs/84476

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to