当前位置: 技术问答>linux和unix
ubuntu下安装nfs-kernel-server报文件找不到
来源: 互联网 发布时间:2017-05-19
本文导语: 用ubuntu做嵌入式开发,需要安装nfs,用网上提供的方法,在终端中输入sudo apt-get install nfs-kernel-server后,显示如下信息: sudo apt-get install nfs-kernel-server 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 ...
用ubuntu做嵌入式开发,需要安装nfs,用网上提供的方法,在终端中输入sudo apt-get install nfs-kernel-server后,显示如下信息:
应该是有些文件找不到,在ubuntu软件中心中换了好多源服务器,大部分连nfs-kernel-server都找不到,请教这是怎么回事?怎么解决?网上好像没有人遇到这样的问题,对linux实在不熟,不知道如何下手。
sudo apt-get install nfs-kernel-server
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会安装下列额外的软件包:
libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common portmap
下列【新】软件包将被安装:
libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common nfs-kernel-server portmap
共升级了 0 个软件包,新安装了 6 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
需要下载 490kB 的软件包。
解压缩后会消耗掉 1,528kB 的额外空间。
您希望继续执行吗?[Y/n]y
【警告】:下列的软件包不能通过验证!
libgssglue1 libnfsidmap2 librpcsecgss3 portmap nfs-common nfs-kernel-server
不经验证就安装这些软件包么?[y/N] y
错误 http://ubuntu.cn99.com karmic/main libgssglue1 0.1-3
404 Not Found
错误 http://ubuntu.cn99.com karmic/main libnfsidmap2 0.21-2
404 Not Found
错误 http://ubuntu.cn99.com karmic/main librpcsecgss3 0.18-1
404 Not Found
错误 http://ubuntu.cn99.com karmic/main portmap 6.0-10ubuntu2
404 Not Found
错误 http://ubuntu.cn99.com karmic/main nfs-common 1:1.2.0-2ubuntu8
404 Not Found
错误 http://ubuntu.cn99.com karmic/main nfs-kernel-server 1:1.2.0-2ubuntu8
404 Not Found
无法下载 http://ubuntu.cn99.com/ubuntu/pool/main/libg/libgssglue/libgssglue1_0.1-3_i386.deb 404 Not Found
无法下载 http://ubuntu.cn99.com/ubuntu/pool/main/libn/libnfsidmap/libnfsidmap2_0.21-2_i386.deb 404 Not Found
无法下载 http://ubuntu.cn99.com/ubuntu/pool/main/libr/librpcsecgss/librpcsecgss3_0.18-1_i386.deb 404 Not Found
无法下载 http://ubuntu.cn99.com/ubuntu/pool/main/p/portmap/portmap_6.0-10ubuntu2_i386.deb 404 Not Found
无法下载 http://ubuntu.cn99.com/ubuntu/pool/main/n/nfs-utils/nfs-common_1.2.0-2ubuntu8_i386.deb 404 Not Found
无法下载 http://ubuntu.cn99.com/ubuntu/pool/main/n/nfs-utils/nfs-kernel-server_1.2.0-2ubuntu8_i386.deb 404 Not Found
E: 有几个软件包无法下载,您可以运行 apt-get update 或者加上 --fix-missing 的选项再试试?
应该是有些文件找不到,在ubuntu软件中心中换了好多源服务器,大部分连nfs-kernel-server都找不到,请教这是怎么回事?怎么解决?网上好像没有人遇到这样的问题,对linux实在不熟,不知道如何下手。
|
可以试试163、sohu的源。
我的163源:
deb http://mirrors.163.com/ubuntu/ precise main restricted
deb-src http://mirrors.163.com/ubuntu/ precise main restricted
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb http://mirrors.163.com/ubuntu/ precise universe
deb-src http://mirrors.163.com/ubuntu/ precise universe
deb http://mirrors.163.com/ubuntu/ precise-updates universe
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe
deb http://mirrors.163.com/ubuntu/ precise multiverse
deb-src http://mirrors.163.com/ubuntu/ precise multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted
deb http://mirrors.163.com/ubuntu/ precise-security universe
deb-src http://mirrors.163.com/ubuntu/ precise-security universe
deb http://mirrors.163.com/ubuntu/ precise-security multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security multiverse
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
我的163源:
deb http://mirrors.163.com/ubuntu/ precise main restricted
deb-src http://mirrors.163.com/ubuntu/ precise main restricted
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb http://mirrors.163.com/ubuntu/ precise universe
deb-src http://mirrors.163.com/ubuntu/ precise universe
deb http://mirrors.163.com/ubuntu/ precise-updates universe
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe
deb http://mirrors.163.com/ubuntu/ precise multiverse
deb-src http://mirrors.163.com/ubuntu/ precise multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted
deb http://mirrors.163.com/ubuntu/ precise-security universe
deb-src http://mirrors.163.com/ubuntu/ precise-security universe
deb http://mirrors.163.com/ubuntu/ precise-security multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security multiverse
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
|
apt的源有问题,可以根据你的ubuntu版本,到网上找一个可以用的源,然后apt-get update一下,就可以用了。
|
用mirrors.sohu.com吧,我好几个版本的ubuntu都选的这个,比较稳定,速度也很快