try to dpkg --purge ruby1.8, apt-get clean, and re-install it, maybe. "Exec format error" looks like a corrupted file or something badly wrong on your system.
-- package libruby1.8 1.8.7.249-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 https://bugs.launchpad.net/bugs/588259 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs