If you run
apt-cache showpkg
on a meta package, the "Reverse Provides" section will list all of the available packages that fulfill the given role. Using
awk
you can easily print out the list of packages that provide the given meta package.
Eg.
$ apt-cache showpkg telnet-client | awk '{if (f==1) print $1}/^Reverse Provides:/{f=1}' | sort
heimdal-clients
inetutils-telnet
krb5-clients
telnet
telnet-ssl
These meta packages are in strong relation with the symbolic links in the
/etc/alternatives
directory. If you install a package that provides a utility/binary for a meta package, then it will be added with a symlink to
/etc/alternatives
. You can list all of these "alternatives" (for the meta packages that already have a real package on your system) with
update-alternatives --get-selections
.
Recent comments
2 years 31 weeks ago
4 years 1 week ago
4 years 1 week ago
4 years 3 weeks ago
4 years 4 weeks ago
4 years 10 weeks ago
4 years 10 weeks ago
4 years 11 weeks ago
4 years 11 weeks ago
4 years 11 weeks ago