Answers:
您可以使用apt-cache进行调查:
$ apt-cache show linux-virtual
除其他外,给出了:
Depends: linux-image-virtual (= 3.16.0.25.26), linux-headers-virtual (= 3.16.0.25.26)
Description-en: Minimal Generic Linux kernel and headers
This package will always depend on linux-image-virtual and
linux-headers-virtual.
在Depends系列中,linux-virtual用作元数据包来安装linux-image-virtual和linux-header-virtual。
$ apt-cache show linux-image-virtual
得到:
Depends: linux-image-3.16.0-23-generic
Description-en: This package will always depend on the latest minimal generic kernel image.
This package will always depend on the latest minimal generic kernel image
used for virtual instances.
运行:
$ apt-cache show linux-image-extra-virtual
得到:
Depends: linux-image-generic (= 3.16.0.23.24)
Description-en: Transitional package.
This package will always depend on linux-image-generic.
Depends系列中有一个细微的差别。您可以使用上面的命令看到相同的内容:
$ apt-cache show linux-image-generic
列出这些依赖项:
Depends: linux-image-3.16.0-23-generic, linux-image-extra-3.16.0-23-generic, linux-firmware, thermald
从本质上讲,linux-image-generic在linux-image-extra-VERSION-generic之上引入了额外的依赖。请查看此答案以获取更多详细信息。
总结一下: