[Bug 1088023] Re: aptitude does not run in background
Edward Donovan
launchpad at numble.net
Sat Dec 8 23:30:50 UTC 2012
Hi -
The title says aptitude, but the example is apt-get. Since they're
different programs. I guess I'll change the title to apt-get, for
clarity.
** Summary changed:
- aptitude does not run in background
+ apt-get does not run in background
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1088023
Title:
apt-get does not run in background
Status in “apt” package in Ubuntu:
New
Bug description:
On Ubuntu 12.04.1, with apt-0.8.16~exp12ubuntu10.6
When I run a script that does
...
sudo apt-get -y install cmake
in the background, apt-get hangs. ps -augx | grep apt shows
root 20603 0.9 0.4 38000 29044 pts/1 T 10:14 0:01 apt-
get -y install cmake
Attaching with gdb and doing 'bt' says:
#0 0xb775b1b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0xb74473c3 in __read_nocancel () at ../sysdeps/unix/syscall-template.S:82
#2 0xb76ef403 in pkgDPkgPM::DoStdin(int) ()
from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#3 0xb76f809e in pkgDPkgPM::Go(int) ()
from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#4 0xb767e94a in pkgPackageManager::DoInstallPostFork(int) ()
from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
#5 0xb767e9b0 in pkgPackageManager::DoInstall(int) ()
from /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12
Googling for DoStdin found that this has an upstream bug report
already:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555632
Workaround is to redirect stdin.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1088023/+subscriptions
More information about the foundations-bugs
mailing list