I don't seem to get apt to work on a KVM in a Ubuntu 9.04 box. The virtual machine is an Ubuntu server.

Network does seem to work (I can ping and attempt ssh connections, for instance), but running apt-get update just gives "E: Method http has died unexpectedly!" when it tries to fetch http://security.ubuntu.com jaunty-security Release.gpg.

  • Much as I appreciate you dumping this at serverfault, you'd probably do well by sending it to the kvm-devel mailinglist and / or the kvm bugzilla as well. Sounds like a serious issue! – wzzrd Sep 30 '09 at 19:51

Your first step is to run:

# strace -efile,network -f apt-get update

And see what happens when it dies.

  • strace is not installed, how do I get it without apt-get in a terminal window? – Marko Poutiainen Aug 7 '09 at 13:03
  • go to packages.ubuntu.com, find the package, download it by hand and then run dpkg -i strace_1.2.3-4_amd64.deb – David Pashley Aug 7 '09 at 23:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.