我尝试在openwrt上使用新版本安装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
虽然我无法删除这些文件,但我仍然可以阅读其内容。 如何处理这个问题?