出现频率:(必现)
按照说明执行了一下命令
root@NAS:~# apt list | grep python3.11-venv
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
python3.11-venv/stable 3.11.2-6+deb12u5 amd64
root@NAS:~# apt list | grep python3-pip
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
python3-pip-whl/stable 23.0.1+dfsg-1 all
python3-pip/stable 23.0.1+dfsg-1 all
python3-pipdeptree/stable 2.2.0-3 amd64
root@NAS:~# apt install python3.11-venv && apt install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
code : Depends: libxkbfile1 (>= 1:1.1.0) but it is not going to be installed
Depends: xdg-utils (>= 1.0.2) but it is not going to be installed
python3.11-venv : Depends: python3.11 (= 3.11.2-6+deb12u5) but 3.11.2-6+deb12u2 is to be installed
Depends: python3-pip-whl (>= 22.2) but it is not going to be installed
Depends: python3-setuptools-whl but it is not going to be installed
Depends: python3.11-distutils
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). |