V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
OpenWrt 是一个专门面向嵌入式设备的 Linux 发行版。你可以将 OpenWrt 支持的型号的嵌入式设备,比如各种路由器上的系统,换成一个有更多可能性可以折腾的 Linux 系统。
OpenWrt 官方网站
markzar
V2EX  ›  OpenWrt

openwrt 安装 wget 出错后就出现 IO Error 了

  •  
  •   markzar · 2015-11-30 08:33:23 +08:00 · 579 次点击
    这是一个创建于 3064 天前的主题,其中的信息可能已经有所发展或是发生改变。

    使用的是 openwrt 系统,之前尝试过使用opkg install 的命令安装 wget ,然后出现错误,之后就没法再升级或者删除 wget 了,如果执行这个命令

    opkg install /mnt/sda1/wget_1.16.3-1_ramips_24kec.ipk
    

    得到的是这个结果

    Upgrading wget on root from 1.16.2-1 to 1.16.3-1...
    Collected errors:
     * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/wget.list: No such file or directory.
     * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/wget.list: No such file or directory.
     * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/wget.list: No such file or directory.
     * pkg_get_installed_files: Failed to open //usr/lib/opkg/info/wget.list: No such file or directory.
     * wfopen: //usr/lib/opkg/info/wget.control: Input/output error.
     * wfopen: //usr/lib/opkg/info/wget.postinst: Input/output error.
     * wfopen: //usr/lib/opkg/info/wget.postinst-pkg: Input/output error.
     * wfopen: //usr/lib/opkg/info/wget.postrm: Input/output error.
     * wfopen: //usr/lib/opkg/info/wget.prerm: Input/output error.
     * wfopen: /usr/bin/wget-ssl: Input/output error.
     * pkg_write_filelist: Failed to open //usr/lib/opkg/info/wget.list: Input/output error.
     * opkg_install_pkg: Failed to extract data files for wget. Package debris may remain!
     * opkg_install_cmd: Cannot install package wget.
     * opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: Input/output error.
    

    尝试一下删除/usr/lib/opkg/info/wget.control

    rm /usr/lib/opkg/info/wget.control
    

    得到的是这个结果

    rm: can't remove '/usr/lib/opkg/info/wget.control': Input/output error
    

    虽然不能删除 /usr/lib/opkg/info 中的 wget 文件,但我看这些文件的内容没什么压力。路由器现在也没有什么别的问题,这个该怎么解决?

    1 条回复    2015-11-30 16:28:11 +08:00
    xm0625
        1
    xm0625  
       2015-11-30 16:28:11 +08:00
    1.没有通过 usb 拓展存储 -> flash 颗粒损坏
    2.通过 usb 拓展了存储 -> 硬盘供电不足或者 usb 故障

    不排除固件 bug 的可能
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2447 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 01:08 · PVG 09:08 · LAX 18:08 · JFK 21:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.