Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62114 - "etcat depends" does not handle virtuals
Summary: "etcat depends" does not handle virtuals
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-29 09:23 UTC by Sascha Silbe
Modified: 2004-10-11 13:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2004-08-29 09:23:25 UTC
"etcat depends" neither lists packages depending on a given virtual nor packages depending on a virtual that a given package provides.

1. Not listing packages depending on a given virtual:

   sascha@cube:~$ etcat depends virtual/mta
   [ Results for search key : virtual/mta ]
   sascha@cube:~$
   
   mailx-8.1.2.20021129-r3 is installed and depends on virtual/mta:

   sascha@cube:~$ equery list mail-client/mailx
   Searching for package 'mailx' in 'mail-client' among:
    * installed packages
   [I--] [  ] mail-client/mailx-support-20030215 (0)
   [I--] [  ] mail-client/mailx-8.1.2.20021129-r3 (0)
   sascha@cube:~$ grep -A 1 DEPEND /usr/portage/mail-client/mailx/mailx-8.1.2.20021129-r3.ebuild
   DEPEND=">=net-libs/liblockfile-1.03
           virtual/mta
   sascha@cube:~$
   
2. Not listing packages depending on a virtual that a given package provides:
   
   sascha@cube:~$ etcat depends mail-mta/qmail
   [ Results for search key : mail-mta/qmail ]

   qmail-1.03-r13 is installed and provides virtual/mta:

   sascha@cube:~$ equery list mail-mta/qmail
   Searching for package 'qmail' in 'mail-mta' among:
    * installed packages
   [I--] [  ] mail-mta/qmail-1.03-r13 (0)
   sascha@cube:~$ grep PROVIDE /usr/portage/mail-mta/qmail/qmail-1.03-r13.ebuild
   PROVIDE="virtual/mta

   mailx-8.1.2.20021129-r3 is installed and depends on virtual/mta (see above).
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-10-10 16:23:51 UTC
etcat is deprecated, please use equery instead.
Comment 2 Daniel Webert 2004-10-11 13:41:22 UTC
sasha, maybe open a new bug to request the feature for equery