|
把tf卡插到pc上修复一下
fsck.ext4 /dev/sdX (X是你的U盘)
刚才在WindLand的提示下,修复了一下TF卡,发现系统正常了。
命令行:
sudo fsck.ext4 /dev/sdb1
sudo fsck.ext4 /dev/sdb2
一直按y就可以了。
然后用TTL线cu -s 115200 -l /dev/ttyUSB0
root@linaro-alip:~# apt-get install perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
perl-base perl-modules
Suggested packages:
perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl
libpod-plainer-perl
The following packages will be upgraded:
perl perl-base perl-modules
3 upgraded, 0 newly installed, 0 to remove and 137 not upgraded.
Need to get 8384 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ports.ubuntu.com/ubuntu-ports/ precise-security/main perl armhf 5.14.2-6ubuntu2.2 [3609 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ precise-security/main perl-base armhf 5.14.2-6ubuntu2.2 [1384 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ precise-security/main perl-modules all 5.14.2-6ubuntu2.2 [3391 kB]
Fetched 8384 kB in 3min 15s (43.0 kB/s)
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
dpkg: error: too-long line or missing newline in `/var/lib/dpkg/triggers/File'
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@linaro-alip:~#
安装不了程序。
|
|