当前位置:   article > 正文

opkg update失败问题解决_opkg update failed

opkg update failed

执行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.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24

去对应的网站上查看:
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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12

修改后的配置文件:

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# 
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14

好像就更新完了~

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# 

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/232216
推荐阅读
相关标签
  

闽ICP备14008679号