无法纠正问题,安装 libvulkan-dev 时您持有损坏的软件包

无法纠正问题,安装 libvulkan-dev 时您持有损坏的软件包
sudo apt-get install libvulkan-dev
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:
 libvulkan-dev : Depends: libvulkan1 (= 1.1.97-2) but 1.2.162.0-1~bpo10+1 is to be installed
E: Unable to correct problems, you have held broken packages.

那怎么安装呢?

答案1

看来您过去已经做过类似的事情,但没有以相同的方式处理它:使用破坏者向后移植

如果您要添加包破坏者向后移植,您必须继续使用这些向后移植的软件包,因为默认情况下不允许降级。您安装的版本libvulkan1来自破坏者向后移植已经自动成为候选者,因为它是比简单版本更新的版本巴斯特。由于libvulkan-dev的版本与 的版本是同步的libvulkan1(它们来自同一来源),除了使用之外别无选择破坏者向后移植libvulkan-dev也。所以最后:

apt-get -t buster-backports install libvulkan-dev

相关内容