public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Randolph Maaßen" <r.maassen60@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge all packages which depend on P : how to
Date: Thu, 20 Feb 2014 14:04:31 +0100	[thread overview]
Message-ID: <CAOEsN6awdEcGHrs__FzyZ42EBikJ4KoXnO84rMHrX9Nu2ay3Mg@mail.gmail.com> (raw)
In-Reply-To: <1392899886.30278.0@numa-i.igpm.rwth-aachen.de>

2014-02-20 13:38 GMT+01:00 Helmut Jarausch <jarausch@igpm.rwth-aachen.de>:
> Hi,
>
> I have a very simple question. How to emerge (update) all packages which
> depend on some
> given package P.
>
> I've tried
>
> emerge -uv1 `equery -q d P`
>
> or  emerge -uv1 `qdepends -q -Q P`
>
> but both commands (equery and qdepends) generate a list with the version
> attached like
>   app-editors/kile-2.1.3
> which emerge doesn't like (unless there is an '= in front of each name)
>
> Is there an easy way to do so without resorting to shell/python scripting?
>
> Many thanks for a hint,
> Helmut
>

Hi, I just had a look on eix and figured out that "eix --deps -# -I P"
lists all packages in short for that are installed and have P in their
dependency variables plus the package itself.

Hope to help



-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


  reply	other threads:[~2014-02-20 13:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20 12:38 [gentoo-user] emerge all packages which depend on P : how to Helmut Jarausch
2014-02-20 13:04 ` Randolph Maaßen [this message]
2014-02-20 13:21 ` [gentoo-user] " eroen
2014-02-20 13:32 ` [gentoo-user] " Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOEsN6awdEcGHrs__FzyZ42EBikJ4KoXnO84rMHrX9Nu2ay3Mg@mail.gmail.com \
    --to=r.maassen60@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox