出现问题:
vboxuser@Ubuntu:~/Desktop$ sudo visudo
[sudo] password for vboxuser:
vboxuser is not in the sudoers file. This incident will be reported.
执行语句(可直接复制,password处输入自己设置的密码):
su root
apt-get install sudo -y
su root
adduser vboxuser sudo
chmod 0440 /etc/sudoers
exit
#重启
reboot
sudo su
#可正常运行
sudo apt-get update