我在 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