nodejs 询问 python-minimal 不再在 python2 上使用
nodejs ask python-minimal that no longer use on python2
我用linux
nodejs 没有问题,直到我升级了我的系统(sudo apt upgrade)
现在当我尝试安装 nodejs 时它说 python-minimal mot installed
然后我知道将 python 从 python2.7.17 更新为 python2.7.18 和 python minimal 不再需要,但现在我无法安装 nodejs 原因它要求 python-最小
谁能帮帮我
问题是我想安装 nodejs 15 或 14
但是当我安装 nodejs 12 或更低版本时没有问题
这是我写完之后说的(sudo apt install nodejs)
sudo apt upgrade nodejs
[sudo] password for julian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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:
libnode72 : Conflicts: nodejs-legacy
nodejs : Depends: python-minimal but it is not installable
E: Broken packages
这个
sudo apt remove libnode72:amd64
sudo apt autoclean
sudo apt autoremove
应该完成这项工作。
我用linux nodejs 没有问题,直到我升级了我的系统(sudo apt upgrade) 现在当我尝试安装 nodejs 时它说 python-minimal mot installed 然后我知道将 python 从 python2.7.17 更新为 python2.7.18 和 python minimal 不再需要,但现在我无法安装 nodejs 原因它要求 python-最小
谁能帮帮我
问题是我想安装 nodejs 15 或 14 但是当我安装 nodejs 12 或更低版本时没有问题
这是我写完之后说的(sudo apt install nodejs)
sudo apt upgrade nodejs
[sudo] password for julian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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:
libnode72 : Conflicts: nodejs-legacy
nodejs : Depends: python-minimal but it is not installable
E: Broken packages
这个
sudo apt remove libnode72:amd64
sudo apt autoclean
sudo apt autoremove
应该完成这项工作。