执行opkg update提示找不文件。
root@EC2022v:~/clienttest# opkg update
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/base/Packages.gz.
wget: server returned error: HTTP/1.0 404 Not Found
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/luci/Packages.gz.
wget: server returned error: HTTP/1.0 404 Not Found
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/management/Packages.gz.
wget: server returned error: HTTP/1.0 404 Not Found
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/oldpackages/Packages.gz.
wget: server returned error: HTTP/1.0 404 Not Found
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/packages/Packages.gz.
wget: server returned error: HTTP/1.0 404 Not Found
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/routing/Packages.gz.
wget: server returned error: HTTP/1.0 404 Not Found
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/telephony/Packages.gz.
wget: server returned error: HTTP/1.0 404 Not Found
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/base/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/luci/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/management/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/oldpackages/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/packages/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/routing/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/telephony/Packages.gz, wget returned 1.
去对应的网站上查看:
http://archive.openwrt.org/barrier_breaker/14.07/at91/
其中并没有generic文件。
也不知道使用的AT91SAM9x25属于哪个分类,打开发现:
假装就是这个吧。
开始修改配置文件:
root@EC2022v:/etc# cat opkg.conf
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/luci
src/gz barrier_breaker_management http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/management
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/oldpackages
src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/packages
src/gz barrier_breaker_routing http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/routing
src/gz barrier_breaker_telephony http://downloads.openwrt.org/barrier_breaker/14.07/at91/generic/packages/telephony
修改后的配置文件:
root@EC2022v:/etc# vi opkg.conf
root@EC2022v:/etc# cat opkg.conf
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/luci
src/gz barrier_breaker_management http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/management
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/oldpackages
src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/packages
src/gz barrier_breaker_routing http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/routing
src/gz barrier_breaker_telephony http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/telephony
root@EC2022v:/etc#
好像就更新完了~
root@EC2022v:/etc# opkg update
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_base.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_luci.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_management.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/oldpackages/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_oldpackages.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_packages.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_routing.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/at91/9g20/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_telephony.
root@EC2022v:/etc#
上一篇:linux i2c 设备测试,i2c-dev驱动测试代码
下一篇:linux – 如何在buildroot中重建rootfs
推荐阅读最新更新时间:2024-11-16 22:44
- 热门资源推荐
- 热门放大器推荐
- 虚拟化技术实践指南——面向中小企业的高效、低成本解决方案 (王春海)
- 有效的单元测试 (科斯凯拉 (Lasse Koskela))
- 自动驾驶之争 (【美】亚历克斯·戴维斯李雨嘉译)
- FOUNDRY PROCESS QUALIFICATION GUIDELINES – TECHNOLOGY QUALIFICATION VEHICLE TESTING JEP001-3B
- 嵌入式网络那些事:LwIP协议深度剖析与实战演练
- 东芝1200V SIC SBD “TRSxxx120Hx系列” 助力工业电源设备高效
- 一起来学Cadence Allegro高速PCB设计
- 5G+MEC+V2X车联网解决方案白皮书