Kali Linux Nodejs install以下软件包具有未满足的依赖项:Python

时间:2020-11-11 15:58:08

标签: node.js python-2.7 npm kali-linux

好 我的nodejs和npm在更新,升级后无法正常工作!我试图再次安装它,这就是越来越!预先谢谢你!

-apt install nodejs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-is-python2 : Breaks: python-minimal but 2.7.17-2 is to be installed
 python-minimal : Depends: python2-minimal (= 2.7.17-2) but 2.7.18-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

1 个答案:

答案 0 :(得分:-1)

使用sudo aptitude 安装nodejs

解决