执行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-13 01:02
设计资源 培训 开发板 精华推荐
- 八音电子琴培训项目
- 具有STM32F407ZG MCU的Vivid 7”触摸屏显示器和开发平台,包含以太网和WiFi。
- 用于工厂自动化的以太网接口
- TB6612
- EVAL-RHF1009A,RHF1009A 电压基准评估板
- 131191-HMC960LP4E,基于 HMC960LP4E 可变增益放大器的评估套件
- AD587JRZ 低功耗基准电压源、12 位 CMOS DAC 应用的典型应用电路
- 基于Arduino的桌面显示屏 支持温湿度亮度监测
- 具有错误标志和放电选项的 300mA 低噪声 LDO 稳压器的典型应用
- LTC2185CUP、16 位、125Msps 低功耗双通道 ADC 的典型应用电路