删除/更新 Python3-dev

删除/更新 Python3-dev

我正在尝试在 Kali 上安装无线驱动程序;但是,当我尝试更新某些文件时出现以下错误:

└─$ sudo apt-get purge --auto-remove python3.9-dev                                      
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:
 python3 : PreDepends: python3-minimal (= 3.9.7-1) but 3.9.8-1 is to be installed
 python3-dev : Depends: python3 (= 3.9.8-1) but 3.9.7-1 is to be installed
               Depends: python3.9-dev (>= 3.9.8-0~) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我尝试使用apt-get --fix-broken install,但出现了同样的错误。我无法更新 Python3 或将其删除以重新安装。这里的任何指导都会有所帮助。

相关内容