This problem is usually the data source (http://us.archive.ubuntu.com/or http://cn.archive.ubuntu.com/) is wrong , my approach is:
Modify the /etc/apt/sources.list(the file must be modified under root privileges)
Execute the following command:
vim /etc/apt/sources.list
After opening, enter the following command:
:%s/us.archive/cn.archive/g (The command is a string substitution, us.archive replace Cn.archive "
then enter
: Wq Save, exit
Then, mount the shared file
Files such as linux-headers may need to be installed first:
The command is as follows:
#安装linux-headers:
sudo apt-get install linux-headers-$ (uname-r)
Install build-essential (Build Environment Suite: g++,dpkg-dev,libc6-dev,make)
sudo apt-get install build-essential
Finally, mount the shared file:
sudo mount-t vboxsf share/mnt
OK, finished!
VBox Installation enhancements failed with cn.archive.ubuntu.com issues