
使用的是 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 xm0625 2015 年 11 月 30 日 1.没有通过 usb 拓展存储 -> flash 颗粒损坏 2.通过 usb 拓展了存储 -> 硬盘供电不足或者 usb 故障 不排除固件 bug 的可能 |