Had this problem pop up -- I ran 'apt-get update; tasksel install lamp-server' 
so I know it wasn't a stale apt cache.
"aptitude failed (100)" is frustratingly opaque, I had no idea what avenue to 
follow.  I wish it reported WHICH aptitude command was used when the failure 
was thrown.

Following the hints in this bug report, I tried: 'dpkg ---configure -a' and got 
a more helpful error:
root@equius:/etc/cron.daily# dpkg --configure -a
Setting up apache2.2-common (2.2.14-5ubuntu8.4) ...
dpkg: unrecoverable fatal error, aborting:
 fork failed: Cannot allocate memory

That was weird -- I have 158MB free on this machine.  No swap -- it's a
Virtual Private Server.  I had to shut down the mysqld to free up enough
RAM for the configuration script to do it's work.  So weird that the
pre-inst.sh/post-inst.sh script would use more RAM than the daemon
itself when it's running.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/131134

Title:
  When attempting to install lamp-server, returns "aptitude failed
  (100)"

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

Reply via email to