找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5725|回复: 6

请问ipkg update总是不成功怎么办呀?

[复制链接]
发表于 2013-2-26 20:31 | 显示全部楼层 |阅读模式
如题,我的路由器在执行ipkg update的时候总是出现很多错误提示,最后部分如下:

ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/backports/
rc5/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/backports/rc5/Packag
es to //usr/local/lib/ipkg/lists/backports


请问应该如何解决呀?谢谢!
 楼主| 发表于 2013-2-26 20:34 | 显示全部楼层
如题,我的路由器在执行ipkg update的时候总是出现很多错误提示,最后部分如下:

root@DD-WRT:/# ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
wget: invalid option -- -
BusyBox v1.19.4 (2012-06-03 12:59:27 CEST) multi-call binary.

Usage: wget [-csq] [-O FILE] [-Y on/off] [-P DIR] [-U AGENT] URL...

Retrieve files via HTTP or FTP

        -s      Spider mode - only check file existence
        -c      Continue retrieval of aborted transfer
        -q      Quiet
        -P DIR  Save to DIR (default .)
        -O FILE Save to FILE ('-' for stdout)
        -U STR  Use STR for User-Agent header
        -Y      Use proxy ('on' or 'off')

ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/Packages, returning
ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/Packages to //usr/local/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whi ... s/non-free/Packages
...
wget: invalid option -- -
BusyBox v1.19.4 (2012-06-03 12:59:27 CEST) multi-call binary.

Usage: wget [-csq] [-O FILE] [-Y on/off] [-P DIR] [-U AGENT] URL...

Retrieve files via HTTP or FTP

        -s      Spider mode - only check file existence
        -c      Continue retrieval of aborted transfer
        -q      Quiet
        -P DIR  Save to DIR (default .)
        -O FILE Save to FILE ('-' for stdout)
        -U STR  Use STR for User-Agent header
        -Y      Use proxy ('on' or 'off')

ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whi ... s/non-free/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/whi ... s/non-free/Packages to //usr/local/lib/ipkg/lists/non-free
Downloading http://downloads.openwrt.org/backports/rc5/Packages ...
wget: invalid option -- -
BusyBox v1.19.4 (2012-06-03 12:59:27 CEST) multi-call binary.

Usage: wget [-csq] [-O FILE] [-Y on/off] [-P DIR] [-U AGENT] URL...

Retrieve files via HTTP or FTP

        -s      Spider mode - only check file existence
        -c      Continue retrieval of aborted transfer
        -q      Quiet
        -P DIR  Save to DIR (default .)
        -O FILE Save to FILE ('-' for stdout)
        -U STR  Use STR for User-Agent header
        -Y      Use proxy ('on' or 'off')

ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/backports/rc5/Packages, returning t
ipkg_update: Error downloading http://downloads.openwrt.org/backports/rc5/Packages to //usr/local/lib/ipkg/lists/backports

 楼主| 发表于 2013-3-1 10:17 | 显示全部楼层
唉,高手都不肯现身了。{:soso_e115:}
发表于 2013-3-1 10:30 | 显示全部楼层
garyli 发表于 2013-3-1 10:17
唉,高手都不肯现身了。

如果只是安装单个包的话,找到安装包的完整地址,不update,直接安装
 楼主| 发表于 2013-3-1 15:08 | 显示全部楼层
谢谢楼上的,我试试先。
发表于 2013-6-11 19:34 | 显示全部楼层
這個是 dd-wrt 的 bug, 所以要去改 ipkg 的程式..
cp /bin/ipkg 到 /tmp or /jffs/bin
然後把 wget 的 --passive-ftp 拿掉,
之後去 ./ipkg update 或做 install 就可以了....
发表于 2013-7-11 01:58 | 显示全部楼层
gene 发表于 2013-6-11 19:34
這個是 dd-wrt 的 bug, 所以要去改 ipkg 的程式..
cp /bin/ipkg 到 /tmp or /jffs/bin
然後把 wget 的 -- ...

你好,请问具体的方法是怎样的呢?我都搞一整天了,搞不好- -
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-14 11:28

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表