出差期间,服务器的ubuntu系统被更新了,结果单板挂载不上,服务器和单板能相互ping通。
查了下nfs服务不见了,所以打算重新装下。
#apt-get install nfs-kernel-server
然后报错了(E: Unable to correct problems, you have held broken packages.),apt-get了半天没搞好,百度了一把,找到了一条救命的命令!
#aptitude install nfs-kernel-server
能解决包损坏的问题,并能将有依赖的包都装好。
另附mount命令(linux不需要busybox):
- busybox ifconfig eth0 down
- busybox ifconfig eth0 hw ether 4A:21:38:10:9E:96
- busybox ifconfig eth0 10.191.137.209 netmask 255.255.254.0
- busybox route add default gw 10.191.136.1
- busybox ifconfig eth0 up
- busybox mount -o nolock,rsize=1024,wsize=1024,timeo=15 10.191.105.128:/home/androidL /mnt
其他就不废话多说了,看看别人的文档吧:
E: Unable to correct problems, you have held broken packages.
http://blog.youkuaiyun.com/npjocj/article/details/18985267
ubuntu12.04的NFS配置
http://www.cnblogs.com/king-77024128/articles/2666230.html
Ubuntu(Debian)的aptitude与apt-get的区别和联系
http://www.cnblogs.com/yuxc/archive/2012/08/02/2620003.html
本文介绍了解决Ubuntu系统中NFS服务缺失及安装过程中遇到的包损坏问题的方法,并提供了一个具体的mount命令实例。
3834

被折叠的 条评论
为什么被折叠?



