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
1 year 44 weeks ago
3 years 13 weeks ago
3 years 14 weeks ago
3 years 16 weeks ago
3 years 17 weeks ago
3 years 23 weeks ago
3 years 23 weeks ago
3 years 23 weeks ago
3 years 24 weeks ago
3 years 24 weeks ago