ipkg求救,报错 command not found
输入ipkg update时报错ipkg command not found
按照网友说法,在 profile文件追加PATH=/opt/bin:/opt/sbin:$PATH这段代码 也不管用
补充一点。NAS根目录下没有/opt目录 为什么 补充: 严格按照网上改机流程操作
su
mkdir /mnt/disk1/tmp
cd /mnt/disk1/tmp/
wget http://ipkg.nslu2-linux.org/feed ... strap_1.2-7_arm.xsh
sh ./lspro-bootstrap_1.2-7_arm.xsh
最后这一步显示的内容只有这么少
root@LS-VL79B:/mnt/disk1/tmp# sh lspro-bootstrap_1.2-7_arm.xsh
Optware Bootstrap for lspro.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
1248+1 records in
1248+1 records out
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.
ls说得对,执行下面两行后
rm -rf /mnt/disk1/.optware
rm -rf /usr/lib/ipkg
再执行下面的就可以了
cd /mnt/disk1/share/bootstrap
wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-7_arm.xsh
sh lspro-bootstrap_1.2-7_arm.xsh
ipkg update
页:
[1]