这次团购的nas的问题 |
本帖最后由 qweqwe 于 2009-2-20 12:27 编辑
在sh: ipkg的时候出现下面蓝字的错误,试了3个关机命令都没有,手动关机在继续还是一样的提示。 BUFFALO INC. LinkStation series LS-CHL4B0 login: root Password: No mail. root@LS-CHL4B0:~# mkdir /mnt/disk1/tmp /mnt/disk1/tmp mv /mnt/disk1/share/lspro-bootstrap_1.2-5_arm.xsh . sh lspro-bootstrap_1.2-5_arm.xshmkdir: cannot create directory '/mnt/disk1/tmp': File exists root@LS-CHL4B0:~# cd /mnt/disk1/tmp <mp# mv /mnt/disk1/share/lspro-bootstrap_1.2-5_arm.xsh . mv: cannot rename '/mnt/disk1/share/lspro-bootstrap_1.2-5_arm.xsh': No such file or directory root@LS-CHL4B0:/mnt/disk1/tmp# sh lspro-bootstrap_1.2-5_arm.xsh Optware Bootstrap for lspro. Extracting archive... please wait bootstrap/ bootstrap/bootstrap.sh 1081+1 records in 1081+1 records out bootstrap/ipkg-opt.ipk bootstrap/ipkg.sh bootstrap/optware-bootstrap.ipk bootstrap/wget.ipk Backup your configuration settings, then type: rm -rf /mnt/disk1/.optware rm -rf /usr/lib/ipkg This will remove all existing optware packages. You must *reboot* and then restart the bootstrap script. root@LS-CHL4B0:/mnt/disk1/tmp/bootstrap# ipkg update sh: ipkg: command not found root@LS-CHL4B0:/mnt/disk1/tmp/bootstrap# ipkg upgrade sh: ipkg: command not found root@LS-CHL4B0:/mnt/disk1/tmp/bootstrap# ipkg install screen sh: ipkg: command not found root@LS-CHL4B0:/mnt/disk1/tmp/bootstrap# ipkg install rtorrent sh: ipkg: command not found root@LS-CHL4B0:/mnt/disk1/tmp/bootstrap# 看蓝色的字。 |
这个问题我遇到过,你应该不是第一次改机。因为以前的改机文件还在,所以你无法进行脚本的执行。你把/mnt/disk1/.optware与/usr/lib/ipkg删除后再试试看,应该可以的。但后续还是会出来问题,我暂时也想不明白为啥。
比如ipkg install bzip2的时候,它会说/etc下面有一个alnterative(好像这么拼)目录不存在。虽然后手工建立后又能install,但为啥第一次改机的时候没有这样的提示呢? |