保留包未更新

保留包未更新

我需要帮助处理一个被扣留的包裹。

当我运行“ sudo apt-get upgrade”时我得到:

Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libllvm12:i386
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

我该如何解决?

答案1

当包被保留时,这意味着当您运行更新时它将保留在同一版本上。

您可以使用以下命令保留包dpkg

echo "libllvm12:i386 hold" | sudo dpkg --set-selections

如果您不想让您的包裹被扣留,您可以运行:

echo "libllvm12:i386 install" | sudo dpkg --set-selections

您可以通过以下方式查看哪些包裹被扣留:

dpkg --get-selections | grep hold

欲了解更多信息,请参阅man dpkg

相关内容