Any aptitude command to find out what packages belong to a virtual package?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It doesn't seem to show what are the packages that can provide the virtual package gforge-ldap-openldap.
I'm actually trying to install djbdns, but it requires daemontools as a prerequisite (djbdns can't be installed by the usual aptitude install, which will resolve the dependency issue). However, when I do a 'aptitude search daemontools', it is a virtual package, which cannot be installed. So, now I'm trying to find out what are the packages that can satisfy daemontools as a virtual package.
Thanks !
Quote:
Originally posted by uberNUT69 How about
$ apt-cache showpkg gforge-ldap-openldap
# apt-cache search djbdns
ldap2dns - LDAP based DNS management system.
libdjbdns1 - DNS client library designed to replace the BIND res_*/dn_* library
libdjbdns1-dev - DNS client library designed to replace the BIND res_*/dn_* library
djbdns-installer - Source only package for building djbdns
# apt-get install -s djbdns-installer
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
daemontools-installer
Suggested packages:
ucspi-tcp-src
The following NEW packages will be installed:
daemontools-installer djbdns-installer
0 upgraded, 2 newly installed, 0 to remove and 53 not upgraded.
Inst daemontools-installer (0.76-9 Debian:testing, Debian:3.1r0/stable)
Inst djbdns-installer (1.05-11 Debian:testing, Debian:3.1r0/stable)
Conf daemontools-installer (0.76-9 Debian:testing, Debian:3.1r0/stable)
Conf djbdns-installer (1.05-11 Debian:testing, Debian:3.1r0/stable)
In another scenerio, I have a package that requires "mail-transport-agent" to be installed. How can I find out what are the packages that will provide the virtual package?
Or yet another scenerio, I need to have a virtual package called "X11-text-viewer" to be installed and from reading some examples in the man pages for apt-cache, I get to know that only one package, "xless", provides for "X11-text-viewer". Is there any command that will let us know that the required package is "xless"?
Must be a better way, but here's something with a neater(?) output:
$ apt-cache dumpavail | egrep "Package|Provides" | sed -n -e '/Provides:/{x;p;g;p;}' -e h | less
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.