I'm now using the command
sudo apt-get install nfs-kernel-server to make my Ubuntu 12.04.2 LTS server support NFS. But it reports this error:
Need to get 559 kB of archives. After this operation, 1980 kB of additional disk space will be used. Do you want to continue [Y/n]? Y Err http://cn.archive.ubuntu.com/ubuntu/ precise/main libcap2 amd64 1:2.22-1ubuntu3 Temporary failure resolving 'cn.archive.ubuntu.com'
I tried to
ping cn.archive.ubuntu.com, this address cannot be accessed. But I don't think this is the reason, because on my other good Ubuntu machine, I was able to use the command
sudo apt-get install smbfs, and it worked. The
ping cn.archive.ubuntu.com command also did not work from this machine.
Can anyone tell me why this is not working and how to fix this issue?