LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 944|回复: 1

龙芯安装deb包的时候出现这个问题

[复制链接]
发表于 2011-11-25 09:41:39 | 显示全部楼层 |阅读模式
loongson@debian:~/code$ sudo apt-get install g++
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  g++-4.3 gcc libc6-dev libstdc++6-4.3-dev linux-libc-dev
Suggested packages:
  g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg gcc-multilib
  autoconf automake1.9 libtool gcc-doc glibc-doc libstdc++6-4.3-doc
The following packages will be REMOVED:
  linux-kernel-headers
The following NEW packages will be installed:
  g++ g++-4.3 gcc libc6-dev libstdc++6-4.3-dev linux-libc-dev
0 upgraded, 6 newly installed, 1 to remove and 324 not upgraded.
Need to get 8100kB/8105kB of archives.
After unpacking 22.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://debian.ustc.edu.cn lenny/main libc6-dev 2.7-18lenny7 [2616kB]   
Get:2 http://security.debian.org stable/updates/main linux-libc-dev 2.6.32-35squeeze2 [813kB]
Get:3 http://debian.ustc.edu.cn lenny/main libstdc++6-4.3-dev 4.3.2-1.1 [1419kB]
Get:4 http://debian.ustc.edu.cn lenny/main g++-4.3 4.3.2-1.1 [3250kB]         
Get:5 http://debian.ustc.edu.cn lenny/main g++ 4:4.3.2-2 [1376B]               
Fetched 8100kB in 39s (207kB/s)                                                
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 87400 files and directories currently installed.)
Removing linux-kernel-headers ...
tar: ./postinst: Cannot utime: Unknown error 4294967207
tar: ./preinst: Cannot utime: Unknown error 4294967207
tar: ./prerm: Cannot utime: Unknown error 4294967207
tar: ./md5sums: Cannot utime: Unknown error 4294967207
tar: ./control: Cannot utime: Unknown error 4294967207
tar: .: Cannot utime: Unknown error 4294967207
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/gcc_4%3a4.3.2-2_mipsel.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
tar: ./md5sums: Cannot utime: Unknown error 4294967207
tar: ./control: Cannot utime: Unknown error 4294967207
tar: .: Cannot utime: Unknown error 4294967207
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/linux-libc-dev_2.6.32-35squeeze2_mipsel.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
tar: ./md5sums: Cannot utime: Unknown error 4294967207
tar: ./control: Cannot utime: Unknown error 4294967207
tar: .: Cannot utime: Unknown error 4294967207
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/libc6-dev_2.7-18lenny7_mipsel.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
tar: ./md5sums: Cannot utime: Unknown error 4294967207
tar: ./control: Cannot utime: Unknown error 4294967207
tar: .: Cannot utime: Unknown error 4294967207
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/libstdc++6-4.3-dev_4.3.2-1.1_mipsel.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
tar: ./md5sums: Cannot utime: Unknown error 4294967207
tar: ./control: Cannot utime: Unknown error 4294967207
tar: .: Cannot utime: Unknown error 4294967207
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/g++-4.3_4.3.2-1.1_mipsel.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
tar: ./postinst: Cannot utime: Unknown error 4294967207
tar: ./prerm: Cannot utime: Unknown error 4294967207
tar: ./control: Cannot utime: Unknown error 4294967207
tar: .: Cannot utime: Unknown error 4294967207
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/g++_4%3a4.3.2-2_mipsel.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/gcc_4%3a4.3.2-2_mipsel.deb
/var/cache/apt/archives/linux-libc-dev_2.6.32-35squeeze2_mipsel.deb
/var/cache/apt/archives/libc6-dev_2.7-18lenny7_mipsel.deb
/var/cache/apt/archives/libstdc++6-4.3-dev_4.3.2-1.1_mipsel.deb
/var/cache/apt/archives/g++-4.3_4.3.2-1.1_mipsel.deb
/var/cache/apt/archives/g++_4%3a4.3.2-2_mipsel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
发表于 2012-3-13 09:24:58 | 显示全部楼层
請參考:
http://www.linuxsir.cn/bbs/thread317885.html
有問題繼續問喔~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表