1
lhbc 2016-06-04 22:17:03 +08:00
opkg update 就是下载仓库里的软件包信息,等同以下脚本
```` #!/bin/sh architecture=${1-ramips} chip=${2-mt7620} wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/base/Packages.gz" -O /var/opkg-lists/chaos_calmer_base wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/base/Packages.sig" -O /var/opkg-lists/chaos_calmer_base.sig wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/luci/Packages.gz" -O /var/opkg-lists/chaos_calmer_luci wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/luci/Packages.sig" -O /var/opkg-lists/chaos_calmer_luci.sig wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/management/Packages.gz" -O /var/opkg-lists/chaos_calmer_management wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/management/Packages.sig" -O /var/opkg-lists/chaos_calmer_management.sig wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/packages/Packages.gz" -O /var/opkg-lists/chaos_calmer_packages wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/packages/Packages.sig" -O /var/opkg-lists/chaos_calmer_packages.sig wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/routing/Packages.gz" -O /var/opkg-lists/chaos_calmer_routing wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/routing/Packages.sig" -O /var/opkg-lists/chaos_calmer_routing.sig wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/telephony/Packages.gz" -O /var/opkg-lists/chaos_calmer_telephony wget "https://downloads.openwrt.org/chaos_calmer/15.05/${architecture}/${chip}/packages/telephony/Packages.sig" -O /var/opkg-lists/chaos_calmer_telephony.sig ```` |
2
luofeiyu OP 请注意
1 opkg update 2 opkg install tcpdump 3 opkg install blkid 4 opkg update 5 opkg install blkid 这 5 条命令之间没有间隔,连续执行的。 opkg update 已经做过一次了,为何还要在安装完一个软件后,立即再来一次? 我不理解。 |
4
luofeiyu OP 不是多此一举,我发现,很多情况下,必须再次来个 opkg update ,否则后面的安装无法完成。
|
5
ayaseangle 2016-06-05 07:24:16 +08:00
更新软件包索引。。
|
6
McContax 2016-06-05 07:28:38 +08:00 via Android
为什么不把第三条的报错发上来?。。
|
7
cye3s 2016-06-05 08:10:28 +08:00 via Android
也可能是第一次 opkg update 某些库索引没下载成功,国外地址嘛
|
8
lee015 2016-06-05 09:55:51 +08:00 via Android
清华开源镜像有 openwrt 了
|
9
wxg4net 2016-06-05 10:11:25 +08:00
没有遇到过. 难道是 flash 出坏块了?。我的 wndr4300 那个不能正常使用的 90M 空间,还没怎么用呢 就有多达 200 多的坏块了,基本上不能放文件了。目前因为这个 吓的我不敢继续折腾了
|
10
crystom 2016-06-05 11:55:04 +08:00
没遇到过这种情况, opkg update 需要在重启之后重新执行,但是不是装一次就执行一次
|