![包裹被扣留](https://linux22.com/image/825356/%E5%8C%85%E8%A3%B9%E8%A2%AB%E6%89%A3%E7%95%99.png)
我尝试了两种aptitude -y safe-upgrade
方法,apt-get upgrade -f
但在两种情况下,我都得到了:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
... (long list)
0 packages upgraded, 0 newly installed, 0 to remove and 903 not upgraded.
我猜这是因为我尝试过多次更新系统(尝试解决这问题)。
我现在的问题是:为什么它们被保留了下来?我该如何安装它们?
在类似问题,我得到的建议是直接使用apt-get dist-upgrade
。但是,目前对我来说,这行不通,因为:
E: Could not perform immediate configuration on 'util-linux'.Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
这是这问题。
答案1
在我这样做之后sudo apt-get install libc6-dev
(因为),这样就解决了所有被保留的包(好吧,或者可能是我apt-get dist-upgrade
之后做的,但失败了)。