野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 8445|回复: 7

无法使用MP1开发板上的NFS

[复制链接]
发表于 2021-12-5 18:42:13 | 显示全部楼层 |阅读模式
开发板已经接上网络,可以ping通百度。
  1. debian@lubancat123:~$<font color="Red"> ping www.baidu.com</font>
  2. PING www.a.shifen.com (220.181.38.150) 56(84) bytes of data.
  3. 64 bytes from 220.181.38.150 (220.181.38.150): icmp_seq=1 ttl=52 time=28.2 ms
  4. 64 bytes from 220.181.38.150 (220.181.38.150): icmp_seq=2 ttl=52 time=56.6 ms
  5. 64 bytes from 220.181.38.150 (220.181.38.150): icmp_seq=3 ttl=52 time=54.7 ms
  6. 64 bytes from 220.181.38.150 (220.181.38.150): icmp_seq=4 ttl=52 time=52.8 ms
  7. ^C
  8. --- www.a.shifen.com ping statistics ---
  9. 4 packets transmitted, 4 received, 0% packet loss, time 8ms
  10. rtt min/avg/max/mdev = 28.154/48.090/56.648/11.589 ms
  11. debian@lubancat123:~$
复制代码



但安装NFS始终无法成功。
照着别人的解决办法,先sudo apt update再sudo apt upgrade后提示如下。
  1. debian@lubancat123:~$<font color="Red"> sudo apt update</font>
  2. Get:1 https://cloud.embedfire.com/mirrors/ebf-debian buster InRelease [5490 B]
  3. Get:2 https://cloud.embedfire.com/mirrors/ebf-debian carp-stm32-mp157 InRelease [5415 B]
  4. Err:1 https://cloud.embedfire.com/mirrors/ebf-debian buster InRelease
  5.   The following signatures were invalid: EXPKEYSIG 8C02E9210430241B laoyening <1337849843@qq.com>
  6. Err:2 https://cloud.embedfire.com/mirrors/ebf-debian carp-stm32-mp157 InRelease
  7.   The following signatures were invalid: EXPKEYSIG 8C02E9210430241B laoyening <1337849843@qq.com>
  8. Get:3 http://deb.debian.org/debian buster InRelease [122 kB]
  9. Get:4 http://deb.debian.org/debian buster/contrib armhf Packages [40.1 kB]
  10. Get:5 http://deb.debian.org/debian buster/non-free armhf Packages [62.1 kB]
  11. Get:6 http://deb.debian.org/debian buster/main armhf Packages [7698 kB]
  12. Ign:6 http://deb.debian.org/debian buster/main armhf Packages
  13. Get:6 http://deb.debian.org/debian buster/main armhf Packages [10.5 MB]
  14. Ign:6 http://deb.debian.org/debian buster/main armhf Packages
  15. Ign:6 http://deb.debian.org/debian buster/main armhf Packages
  16. Err:6 http://deb.debian.org/debian buster/main armhf Packages
  17.   Write error - write (28: No space left on device)
  18. Reading package lists... Done
  19. W: GPG error: https://cloud.embedfire.com/mirrors/ebf-debian buster InRelease: The following signatures were invalid: EXPKEYSIG 8C02E9210430241B laoyening <1337849843@qq.com>
  20. E: The repository 'https://cloud.embedfire.com/mirrors/ebf-debian buster InRelease' is not signed.
  21. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  22. N: See apt-secure(8) manpage for repository creation and user configuration details.
  23. W: GPG error: https://cloud.embedfire.com/mirrors/ebf-debian carp-stm32-mp157 InRelease: The following signatures were invalid: EXPKEYSIG 8C02E9210430241B laoyening <1337849843@qq.com>
  24. E: The repository 'https://cloud.embedfire.com/mirrors/ebf-debian carp-stm32-mp157 InRelease' is not signed.
  25. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  26. N: See apt-secure(8) manpage for repository creation and user configuration details.
  27. debian@lubancat123:~$ sudo apt upgrade
复制代码

  1. debian@lubancat123:~$<font color="Red"> sudo apt upgrade</font>
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. Calculating upgrade... Done
  6. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  7. debian@lubancat123:~$ sudo apt install nfs-common
复制代码


再进行nfs-common的安装始终失败,更无法使用showmount命令了。
  1. debian@lubancat123:~$ <font color="Red">sudo apt install nfs-common</font>
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. Package nfs-common is not available, but is referred to by another package.
  6. This may mean that the package is missing, has been obsoleted, or
  7. is only available from another source

  8. E: Package 'nfs-common' has no installation candidate
  9. debian@lubancat123:~$ <font color="Red">showmount -e</font>
  10. -bash: showmount: command not found
  11. debian@lubancat123:~$
复制代码


请教一下,这个问题该怎么解决呢???


野火论坛202112051837037671..png
野火论坛202112051837372813..png
野火论坛202112051837157171..png
野火论坛202112051838253675..png
回复

使用道具 举报

发表于 2021-12-6 08:50:03 | 显示全部楼层
df -h  命令截图
回复 支持 反对

使用道具 举报

发表于 2021-12-24 23:33:05 | 显示全部楼层
我也遇到了一模一样的问题,updata结果都是一样的
回复 支持 反对

使用道具 举报

发表于 2021-12-31 21:21:45 | 显示全部楼层
发现很多人都遇到了这个问题,野火的资料里面也没有提醒,论坛里的人乱支招。

先用SD卡刷Debian镜像系统才有apt等命令。
野火论坛202112312119314884..png
回复 支持 反对

使用道具 举报

发表于 2022-4-1 18:11:06 | 显示全部楼层
我也是这个问题
回复 支持 反对

使用道具 举报

发表于 2022-4-1 18:12:51 | 显示全部楼层
有解决办法吗
回复 支持 反对

使用道具 举报

发表于 2022-4-1 21:15:03 | 显示全部楼层
搞了两天了,现在是开发板能ping通主机能ping通百度不能ping通虚拟机,Ubuntu能ping通百度不能ping通开发板和主机,开发板与主机没有网线连接,搜了好多方法都是得网线连接,人麻了
回复 支持 反对

使用道具 举报

发表于 2022-4-3 15:16:25 | 显示全部楼层
我解决了,烧写最新的debian镜像,用sd卡烧写,然后fire-config来把sd卡镜像烧到emmc中,用32programm烧写不了qt的镜像,所以推荐用sdk。烧写完之后就可以update了安装nfs也可以了,还有一个坑找了半天nfs的服务器ip地址就是虚拟机的IP地址,我还以为是路由器的网上找了半天,ifconfig就可以找到。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-4-27 06:24 , Processed in 0.031299 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表