apt-cache show:无法从包中选择版本,因为它是纯虚拟的



我在 Ubuntu 中搞砸了 postgresql 包:

$ apt-cache show postgresql
$ apt-cache show postgresql-10
$ apt-cache show postgresql-contrib

什么时候:

$ apt-cache show postgresql-contrib-10
N: Can't select versions from package 'postgresql-contrib-10' as it is purely virtual
N: No packages found

有人知道"纯虚拟"是什么意思吗?

谢谢。

postgresql-contrib-10由主postgres-10包(因此是虚拟的(提供的。据我所知,在旧版本中,这是一个单独的包,现在似乎在功能上合并到主包中。

$ apt-cache show postgresql-10|grep Provides
Provides: postgresql-contrib-10

相关内容

最新更新