前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >respbian的镜像问题解决

respbian的镜像问题解决

作者头像
用户3765803
发布2019-03-05 09:39:14
9300
发布2019-03-05 09:39:14
举报

http://www.raspbian.org/RaspbianMirrors  直接从这里面找源就可以了,比默认的跳转得好用很多

点击(此处)折叠或打开

  1. pi@raspberrypi:~ $ sudo apt install zip
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following NEW packages will be installed:
  6.   zip
  7. 0 upgraded, 1 newly installed, 0 to remove and 73 not upgraded.
  8. Need to get 326 kB of archives.
  9. After this operation, 513 kB of additional disk space will be used.
  10. Err http://mirrordirector.raspbian.org/raspbian/ jessie/main zip armhf 3.0-8
  11.   Cannot initiate the connection to mirrors.zju.edu.cn:80 (2001:da8:e000:1410:216:3eff:fe75:6c73). - connect (101: Network is unreachable) [IP: 2001:da8:e000:1410:216:3eff:fe75:6c73 80]
  12. E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/z/zip/zip_3.0-8_armhf.deb Cannot initiate the connection to mirrors.zju.edu.cn:80 (2001:da8:e000:1410:216:3eff:fe75:6c73). - connect (101: Network is unreachable) [IP: 2001:da8:e000:1410:216:3eff:fe75:6c73 80]
  13. E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  14. pi@raspberrypi:~ $ uname -a

默认走的浙大,根本没法用

点击(此处)折叠或打开

  1. pi@raspberrypi:~ $ sudo apt install zip
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following NEW packages will be installed:
  6.   zip
  7. 0 upgraded, 1 newly installed, 0 to remove and 73 not upgraded.
  8. Need to get 326 kB of archives.
  9. After this operation, 513 kB of additional disk space will be used.
  10. Get:1 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ jessie/main zip armhf 3.0-8 [326 kB]
  11. Fetched 326 kB in 5s (55.6 kB/s)
  12. Selecting previously unselected package zip.
  13. (Reading database ... 118080 files and directories currently installed.)
  14. Preparing to unpack .../archives/zip_3.0-8_armhf.deb ...
  15. Unpacking zip (3.0-8) ...
  16. Processing triggers for man-db (2.7.0.2-5) ...
  17. Setting up zip (3.0-8) ...
  18. N: Ignoring file 'ubuntu-15.10-desktop-i386.list' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
  19. pi@raspberrypi:~ $

改一下就可以了

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2016-09-08 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档