|
发表于 2014-8-9 10:12:57
|
显示全部楼层
本帖最后由 zixi0007 于 2014-8-9 10:36 编辑
安装到nand失败。提示找不到安装命令,安装这个命令又安装不上。
官方教程应该改一下:否则肯定会出错。我把github更新了。
应该是依次执行下面四个命令
$ sudo rm -rf /var/lib/apt/lists/*
$ sudo apt-get update
sudo apt-get install cubian-nandinstall
sudo cubian-nandinstall
------------------------------------
login as: cubie
cubie@192.168.1.114's password:
Linux Cubian 3.4.75-sun7i #35 SMP PREEMPT Sat Feb 8 02:10:31 CST 2014 armv7l
______ __ __ .______ __ ___ .__ __.
/ || | | | | _ \ | | / \ | \ | |
| ,----'| | | | | |_) | | | / ^ \ | \| |
| | | | | | | _ < | | / /_\ \ | . ` |
| `----.| `--' | | |_) | | | / _____ \ | |\ |
\______| \______/ |______/ |__| /__/ \__\ |__| \__|
http://cubian.org
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Aug 9 01:56:51 2014 from 192.168.1.139
cubie@Cubian:~$ sudo ~/nandinstall/install.sh
[sudo] password for cubie:
sudo: /home/cubie/nandinstall/install.sh: command not found
cubie@Cubian:~$ sudo ~/nandinstall/install.sh
sudo: /home/cubie/nandinstall/install.sh: command not found
cubie@Cubian:~$ ls
cubie@Cubian:~$ ls /home/cubie/nandinstall
ls: cannot access /home/cubie/nandinstall: No such file or directory
cubie@Cubian:~$ ls /home/cubie/
cubie@Cubian:~$ ls /home/
cubie
cubie@Cubian:~$ ls /home/cubie/
cubie@Cubian:~$ apt-get install cubian-nandinstall
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
cubie@Cubian:~$ su - root
Password:
root@Cubian:~# WARNING: running devmon as root is usually not required or recommended
root@Cubian:~#
root@Cubian:~# E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
-su: syntax error near unexpected token `('
root@Cubian:~# apt-get install cubian-nandinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
cubian-nandinstall
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
Need to get 533 kB of archives.
After this operation, 0 B of additional disk space will be used.
0% [Connecting to packages.cubian.org]Failed to exec method /usr/lib/apt/methods/
Ign http://packages.cubian.org/ wheezy/main cubian-nandinstall all 1.0-5
E: Method has died unexpectedly!
E: Sub-process returned an error code (100)
E: Method /usr/lib/apt/methods/ did not start correctly
|
|