LinuxSir.cn,穿越时空的Linuxsir!

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

apt-get install kernel-header-$(uname -r)怎么乱连接?还都是死连接!

[复制链接]
发表于 2006-9-15 19:00:09 | 显示全部楼层 |阅读模式
$:apt-get install kernel-header-$(uname -r)

装了kernel-headers-2.6.8-2-386

$:/usr/src/kernel-headers-2.6.8-2-386$ ls -l
总用量 220
lrwxrwxrwx  1 root root     30 2006-09-15 17:15 arch -> ../kernel-headers-2.6.8- 2/arch
lrwxrwxrwx  1 root root     32 2006-09-15 17:15 crypto -> ../kernel-headers-2.6. 8-2/crypto

drwxr-xr-x  4 root root   4096 2006-09-15 17:15 include
lrwxrwxrwx  1 root root     30 2006-09-15 17:15 init -> ../kernel-headers-2.6.8- 2/init
lrwxrwxrwx  1 root root     29 2006-09-15 17:15 ipc -> ../kernel-headers-2.6.8-2 /ipc
lrwxrwxrwx  1 root root     32 2006-09-15 17:15 kernel -> ../kernel-headers-2.6. 8-2/kernel
lrwxrwxrwx  1 root root     29 2006-09-15 17:15 lib -> ../kernel-headers-2.6.8-2 /lib
lrwxrwxrwx  1 root root     34 2006-09-15 17:15 Makefile -> ../kernel-headers-2. 6.8-2/Makefile
lrwxrwxrwx  1 root root     28 2006-09-15 17:15 mm -> ../kernel-headers-2.6.8-2/ mm
-rw-r--r--  1 root root 214665 2005-08-16 21:14 Module.symvers
lrwxrwxrwx  1 root root     29 2006-09-15 17:15 net -> ../kernel-headers-2.6.8-2 /net
lrwxrwxrwx  1 root root     33 2006-09-15 17:15 scripts -> ../kernel-headers-2.6 .8-2/scripts
lrwxrwxrwx  1 root root     34 2006-09-15 17:15 security -> ../kernel-headers-2. 6.8-2/security

        ....

怎么这样阿 , 昏死 . 怎么瞎连接的,  搞的我很多文件夹都没有 ,都死连接的 .

未必还要我装 kernel-headers-2.6.8-2 ??  

受不了, 你们有这样的情况没阿
 楼主| 发表于 2006-9-15 19:33:12 | 显示全部楼层
make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
make[3]: scripts/Makefile.build: 没有那个文件或目录
make[3]: *** 没有规则可以创建目标“scripts/Makefile.build”。 停止。

编译的时候需要scripts 这个文件夹 ,    .
scripts指向了个死连接
debian:/usr/src/kernel-headers-2.6.8-2-386# ls -l scripts
lrwxrwxrwx  1 root root 33 2006-09-15 19:26 scripts -> ../kernel-headers-2.6.8-2/scripts
又继续apt了kernel-headers-2.6.8-2 ,再一看 .
debian:/usr/src/kernel-headers-2.6.8-2-386# ls -l scripts
lrwxrwxrwx   1 root root    30 2006-09-15 19:26 scripts -> ../kernel-kbuild-2.6-3/scripts

我昏 ,怎么办?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-15 19:41:42 | 显示全部楼层
受不了啦 , 自己解决了 .~

感觉Debian的包有点乱连接的
回复 支持 反对

使用道具 举报

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

本版积分规则

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