我无法在虚拟盒中更新和安装任何东西。它显示错误
Err:1 https://download.sublimetext.com apt/stable/ InRelease
Could not resolve host: download.sublimetext.com
Err:2 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Err:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Err:4 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Temporary failure resolving 'ppa.launchpad.net'
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu/dists/xenial/InRelease Temporary failure resolving 'ppa.launchpad.net'
W: Failed to fetch https://download.sublimetext.com/apt/stable/InRelease Could not resolve host: download.sublimetext.com
W: Failed to fetch
http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/xenial/InRelease Temporary failure resolving 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
按照以下步骤更新您的 VirtualBox;
- 为您的操作系统下载最新的 VirtualBox 安装程序。
- 运行安装程序并选择已安装 VirtualBox 实例的路径。
- 选择适当的选项。
- 运行更新的 VirtualBox。