Find the answer to your Linux question:
Results 1 to 2 of 2
I'm wondering if there is a way I can give a package as an argument, and have portage find what currently installed packages depend on a given file. something like ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699

    [SOLVED] locating dependencies with portage.


    I'm wondering if there is a way I can give a package as an argument, and have portage find what currently installed packages depend on a given file. something like

    emerge --????? cups (for example, I never print off this computer, so would like to prune if possible.)

    and have it tell me what package installed this (not in my world file, so I didn't do it.)

    Thanks in advance.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    Nevermind, I found it.

    emerge gentoolkit
    equery depends $PACKAGE
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •