ggu*_*uth 9 software-installation vmware kali-linux
我正在尝试在 VMPlayer VM 中安装 VMware 工具,但在安装的某个点我需要设置 linux-headers 路径。所以我去尝试用这个命令安装它:
apt-get install gcc make linux-headers-$(uname -r)
Run Code Online (Sandbox Code Playgroud)
然后我得到错误:
Couldnt find any package by glob 'linux-headers-4.3.0-kali-amd64'
Run Code Online (Sandbox Code Playgroud)
我的sources.list文件有这些来源:
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali sana main contrib non-free
deb http://http.kali.org/kali-security kali/updates main contrib non-free
deb http://http.kali.org/kali-security sana/updates main contrib non-free
Run Code Online (Sandbox Code Playgroud)
apt-get update
在尝试安装标头之前,我已经这样做了。我该怎么做才能下载它?
Joh*_*ohn 11
我会升级内核发布版本本身,而不是尝试为内核的旧版本 (4.3.0) 安装 Linux 内核头文件。/etc/apt/sources.list
使用最新版本的Kali 滚动存储库更新 Kali文件后执行以下步骤:
sudo apt-get update # this pulls the latest packages list from the kali sources repo
sudo apt-get -y dist-upgrade # when installing this, you would see the latest kernel
# image in the list of packages to be installed,something
# like" linux-image-4.5.0-kali1-amd64"
reboot # MOST IMPORTANT STEP! make sure you reboot the machine via this cmd OR
# shutdown, restart forcefully after completing prev cmds
uname -r # check that the kernel release has updated
Run Code Online (Sandbox Code Playgroud)
小智 0
我刚刚经历了同样的问题。
这就是我所做的:
apt-get update && apt-get upgrade -y
Run Code Online (Sandbox Code Playgroud)
然后当我去安装标头时,它终于成功了!
归档时间: |
|
查看次数: |
129388 次 |
最近记录: |