+ -
当前位置:首页 → 问答吧 → tar 解压失败

tar 解压失败

时间:2006-10-03

来源:互联网

在第5章 构造工具链这里
先要解压的嘛,
然后我切换到lfs用户进行解压
tar -xvf binutils-2.16.1
然后提示
tar : bzip2:Cannot exec: Too many levels of symbolic links
tar: Error is not recoverable: exiting now
tar : Child returned status 2
tar:Error exit delayed from previous errors
我已经用chown把所有权交给lfs用户。所以应该不是权限问题。那么这是为什么?我Google了很久也没有找到答案,望告之。
但是我用root却可以解压。

作者: JanusLe   发布时间: 2006-10-03

binutils-2.16.1?
是笔误还是什么?
binutils-2.16.1.tar.bz2

作者: youbest   发布时间: 2006-10-03

binutils-2.16.1.tar.bz2
笔误,不好意思

作者: JanusLe   发布时间: 2006-10-03

楼主是不是用的TAB键自动完成文件名的啊?如果是这样,这个文件名还没填完哦,后面应该还有.tar.bz2这几个字母吧
我也是新手,刚开始学习中……另外binutils-2.16.1.tar.bz2文件是不是在你执行命令的这个目录里?如果不是,应该要加上路径的

作者: Leo Liang   发布时间: 2006-10-03

我用的是tar xvf binutils-2.16.1.tar.bz2
同样的命令在root下可以成功解开,在lfs用户下不能
我想问一下,第五章构造工具链。编译工具的时候要以root还是以lfs编译呢?谢谢阿。我初学,也不太懂

作者: JanusLe   发布时间: 2006-10-04

手冊有說明在什麼時候用 lfs 用戶,啥時候用 root 的,請仔細閱讀!

作者: d00m3d   发布时间: 2006-10-04

sorry, i can't input chinese.
I also have this problem when i'm doing the lfs.
Finally i figure out the problem is my symbolic link is not right.
bash-3.2$ls -l /
the result show "tools -> /mnt/lfs/tools" with red color.
then i remove the the directory and create it again.
bash-3.2$mkdir -v $LFS/tools
bash-3.2$ln -sv $LFS/tools /
It works just ok.
Maybe you should check your PATH enviroment variable, see if there is
something wrong with the symbolic link.

作者: lgp802a   发布时间: 2008-12-24

热门下载

更多