respbian的鏡像問題解決
http://www.raspbian.org/RaspbianMirrors 直接從這裡面找源就可以了,比默認的跳轉得好用很多
- pi@raspberrypi:~ $ sudo apt install zip
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- zip
- 0 upgraded, 1 newly installed, 0 to remove and 73 not upgraded.
- Need to get 326 kB of archives.
- After this operation, 513 kB of additional disk space will be used.
- Err http://mirrordirector.raspbian.org/raspbian/ jessie/main zip armhf 3.0-8
- 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]
- 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]
- E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- pi@raspberrypi:~ $ uname -a
默認走的浙大,根本沒法用
- pi@raspberrypi:~ $ sudo apt install zip
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- zip
- 0 upgraded, 1 newly installed, 0 to remove and 73 not upgraded.
- Need to get 326 kB of archives.
- After this operation, 513 kB of additional disk space will be used.
- Get:1 http://mirrors.neusoft.edu.cn/raspbian/raspbian/ jessie/main zip armhf 3.0-8 [326 kB]
- Fetched 326 kB in 5s (55.6 kB/s)
- Selecting previously unselected package zip.
- (Reading database ... 118080 files and directories currently installed.)
- Preparing to unpack .../archives/zip_3.0-8_armhf.deb ...
- Unpacking zip (3.0-8) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- Setting up zip (3.0-8) ...
- N: Ignoring file 'ubuntu-15.10-desktop-i386.list' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
- pi@raspberrypi:~ $
改一下就可以了