Here are the details it gave me as causing the problem:
W:Failed to fetch http:// dowload.virtualbox.org/virtualbox/debian/dists/maverick/Release.gpg Something wicked happened resolving 'dowload.virtualbox.org:http' (-5 - No address associated with hostname)
, W:Failed to fetch http:// dowload.virtualbox.org/virtualbox/debian/dists/maverick/contrib/source/Sources Something wicked happened resolving 'dowload.virtualbox.org:http' (-5 - No address associated with hostname)
, W:Failed to fetch http://dowload.virtualbox.org/virtualbox/debian/dists/maverick/contrib/binary-i386/Packages Something wicked happened resolving 'dowload.virtualbox.org:http' (-5 - No address associated with hostname)
, W:Failed to fetch http:// dowload.virtualbox.org/virtualbox/debian/dists/maverick/contrib/i18n/Translation-en Something wicked happened resolving 'dowload.virtualbox.org:http' (-5 - No address associated with hostname)
, W:Failed to fetch http:// ppa.launchpad.net/elegant-gnome/ppa/ubuntu/dists/natty/main/source/Sources 404 Not Found
, W:Failed to fetch http:// ppa.launchpad.net/elegant-gnome/ppa/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http:// ppa.launchpad.net/team-xbmc/ppa/ubuntu/dists/natty/main/source/Sources 404 Not Found
, W:Failed to fetch http: //ppa.launchpad.net/team-xbmc/ppa/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.