respbian的镜像问题解决

19550阅读 0评论2016-09-08 T-Bagwell
分类:LINUX

 直接从这里面找源就可以了,比默认的跳转得好用很多


点击(此处)折叠或打开

  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:~ $
改一下就可以了
上一篇:FFmpeg使用手册 - ffmpeg对MP4的生成与处理
下一篇:从视频中每X秒创建一个缩略图