我在 Virtualbox 上安装了一个 Debian 映像,它使用默认的 NAT 访问互联网。在我升级到 12.10 之前它运行良好。升级后,DNS 查找不再有效。我仍然可以访问 IP 地址,但这不是一个好的解决方案。
我正在尝试运行 sudo apt-get update。我知道服务器已启动并且我的互联网正在运行。任何线索?
sudo apt-get update
Err http://ppa.launchpad.net oneiric InRelease
Err http://archive.canonical.com oneiric InRelease
Err http://ppa.launchpad.net oneiric Release.gpg
Unable to connect to localhost:8250:
Err http://archive.canonical.com oneiric Release.gpg
Unable to connect to localhost:8250:
Reading package lists... Done
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/InRelease
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/Release.gpg
Unable to connect to localhost:8250:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)