kali无法开启msf服务could not find rake-11.2.2 in any of the sources怎么办
发布网友
发布时间:2022-04-23 12:05
我来回答
共1个回答
热心网友
时间:2023-10-12 21:04
kali无法开启msf服务could not find rake-11.2.2 in any of the sources的解决办法:
Kali Liunx系统的could not find rake增强功能突然失效,导致复制、全屏等功能无法使用 。在需要用Kali Linux系统的时候很不方便,尝试重装Virtualbox增强功能(出错了)。具体原因请看错误信息中提示的日志文件: /var/log/vboxadd-
install.log
root@c2unix:~# sudo ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.12 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.1.12 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel moles ...done.
Removing existing VirtualBox non-DKMS kernel moles ...done.
Building the VirtualBox Guest Additions kernel moles
The headers for the current running kernel were not found. If the following
mole compilation fails then this could be the reason.
Building the main Guest Additions mole ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Installing the Window System drivers
Warning: unknown version of the X Window System installed. Not installing
X Window System drivers.
Installing moles ...done.
Installing graphics libraries and desktop services components ...done.
解决方法:先更新源、已安装软件包,然后再安装virtualbox-guest-x11软件包 。
root@c2unix:~# apt-get update
root@c2unix:~# apt-get upgrade
root@c2unix:~# sudo apt-get install virtualbox-guest-x11
在安装过程中会出现Y/N选项,默认选项为N,这里我们选择Y使用新版本进行安装。可以使用apt-cache policy命令查询软件包的安装状态和版本信息。以下信息是问题解决后补的,可能会有些差别 。
相关软件包有:virtualbox-guest-dkms、virtualbox-guest-utils、virtualbox-guest-x11 。
virtualbox-guest-x11:
已安装:(无)
候选软件包:4.3.10-dfsg-1~bpo70+1
版本列表:
*** 4.3.10-dfsg-1~bpo70+1 0
500 http://mirrors.ustc.e.cn/kali/ kali/contrib i386 Packages
100 /var/lib/dpkg/status
4.1.18-dfsg-2.1 0
500 http://mirrors.ustc.e.cn/kali/ kali/main i386 Packages
4.1.18-dfsg-2+deb7u3 0
500 http://mirrors.ustc.e.cn/kali-security/ kali/updates/main i386 Packages
问题解决。