程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 網頁編程 >> PHP編程 >> 關於PHP編程 >> respbian的鏡像問題解決

respbian的鏡像問題解決

編輯:關於PHP編程

respbian的鏡像問題解決


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:~ $
改一下就可以了

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved