From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 68761138E20 for ; Thu, 20 Feb 2014 13:21:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1158E0B48; Thu, 20 Feb 2014 13:21:28 +0000 (UTC) Received: from faith.eroen.eu (faith.eroen.eu [178.79.147.241]) by pigeon.gentoo.org (Postfix) with ESMTP id B338EE0A4F for ; Thu, 20 Feb 2014 13:21:27 +0000 (UTC) Received: from falcon.eroen.eu (unknown [10.10.0.26]) by faith.eroen.eu (Postfix) with ESMTP id 067732402E for ; Thu, 20 Feb 2014 13:27:24 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=falcon.eroen.eu; s=faith; t=1392902846; bh=YefXxv4yFKPHCGYutt1F02havo+jHcTL5UKIunGhDRM=; h=Date:From:To:Subject:In-Reply-To:References; b=NN3027FZlgrl/gBEwsw0JyggIpzQg73NCnKwvg1bbgWntLx4XeP8FXY5m3dE7/382 T0wMTbG5Cj9rs37Hwj1r7JIUWGvkh9FuaG3qnaRw1+uV9NyBMPo3HowR7QZTC+8Pb1 BwOZmeYDuJTGEroJCthLib1pIegJSP3+pSwXiKhs= Date: Thu, 20 Feb 2014 14:21:12 +0100 From: eroen To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: emerge all packages which depend on P : how to Message-ID: <20140220142112.725288f8@falcon.eroen.eu> In-Reply-To: <1392899886.30278.0@numa-i.igpm.rwth-aachen.de> References: <1392899886.30278.0@numa-i.igpm.rwth-aachen.de> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/JM=LRpgHpUyzq6Wa62X0wzt"; protocol="application/pgp-signature" X-Archives-Salt: 0ab13828-3e66-4882-b42e-5b299a012ada X-Archives-Hash: e299702c5dd47528d193c1e269fc2d35 --Sig_/JM=LRpgHpUyzq6Wa62X0wzt Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 20 Feb 2014 13:38:06 +0100, Helmut Jarausch wrote: > Hi, >=20 > I have a very simple question. How to emerge (update) all packages =20 > which depend on some > given package P. >=20 > I've tried >=20 > emerge -uv1 `equery -q d P` >=20 > or emerge -uv1 `qdepends -q -Q P` >=20 > but both commands (equery and qdepends) generate a list with the =20 > version attached like > app-editors/kile-2.1.3 > which emerge doesn't like (unless there is an '=3D in front of each > name) >=20 > Is there an easy way to do so without resorting to shell/python =20 > scripting? >=20 > Many thanks for a hint, > Helmut >=20 >=20 How about one of these? emerge -1 $(qdepends -N -C -Q P) emerge -1 $(qdepends -C -Q P | sed 's/^/=3D/') --=20 eroen --Sig_/JM=LRpgHpUyzq6Wa62X0wzt Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJTBgFQAAoJELSISlJWmwxLh3IH/R12/ty/1Ab5MqIsbiUI+Nwg eYGcum0xSFcByOIcI6dIsTk4QT/sl9te+Kkleh6DvwrDl7ZWv3KQFq/ji7HNSCW7 tfLwXaCPN7PSn29AXzj2kM0NOs4JuuNIt0rLWUGAtDrbjhWiL7Jz9G+0tr/j1GFe aNEVK8W8WVuG9+qVKzQZwT5I5tY6K2g42QAIHYg1TqcnNknBDbkY3EgTQpR8zSen em60rEThLyjkL32Ou8pfDr+WG69Xpm9Yj4ewyyMMyoX3HG2PVjYLjle3vMO4/03W GOCkYaDg5Up6K5mK/CNS3SQqzD9X9nkJOyzZrfsEJ7lXw0qG1VTyrz5kSeuKZQw= =dhtm -----END PGP SIGNATURE----- --Sig_/JM=LRpgHpUyzq6Wa62X0wzt--