public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] how to find reverse dependencies?
@ 2009-06-27  2:24 Steve Herber
  2009-06-27  2:37 ` Joseph Booker
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Steve Herber @ 2009-06-27  2:24 UTC (permalink / raw
  To: gentoo-amd64

I removed a package recently and portage keeps wanting to put it back
into the system.  How can I find out why portage wants to reinstall it?
Here is a cleaned up example:

emerge --ask --verbose --deep --update world

Calculating dependencies... done!
[ebuild  N    ] media-video/vcdimager-0.7.23  USE="-minimal -xml" 986 kB
[ebuild     U ] dev-lang/php-5.2.10 [5.2.9-r2]
[ebuild     U ] net-libs/xulrunner-1.9.0.11 [1.9.0.10]
[ebuild     U ] www-client/mozilla-firefox-3.0.11 [3.0.10]
[ebuild     U ] sys-fs/udev-141 [124-r2]
[ebuild     U ] sys-fs/cryptsetup-1.0.6-r2 [1.0.5-r1]
[blocks b     ] >=sys-fs/udev-126 (">=sys-fs/udev-126" is blocking sys-fs/cryptsetup-1.0.5-r1)

Total: 6 packages (5 upgrades, 1 new), Size of downloads: 55,215 kB
Conflict: 1 block

How can I find the package that keeps pulling in vcdimager?

Thanks,

-- 
Steve Herber	herber@thing.com		work: 206-221-7262
Software Engineer, UW Medicine, IT Services	home: 425-454-2399



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] how to find reverse dependencies?
  2009-06-27  2:24 [gentoo-amd64] how to find reverse dependencies? Steve Herber
@ 2009-06-27  2:37 ` Joseph Booker
  2009-06-27  4:52   ` [gentoo-amd64] " Duncan
  2009-06-27  4:15 ` [gentoo-amd64] " Mark Knecht
  2009-06-29  4:44 ` Benny Pedersen
  2 siblings, 1 reply; 7+ messages in thread
From: Joseph Booker @ 2009-06-27  2:37 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

On Fri, 26 Jun 2009 19:24:00 -0700 (PDT)
Steve Herber <herber@thing.com> wrote:

> I removed a package recently and portage keeps wanting to put it back
> into the system.  How can I find out why portage wants to reinstall
> it? Here is a cleaned up example:
> 
> emerge --ask --verbose --deep --update world
> 
> Calculating dependencies... done!
> [ebuild  N    ] media-video/vcdimager-0.7.23  USE="-minimal -xml" 986
> kB [ebuild     U ] dev-lang/php-5.2.10 [5.2.9-r2]
> [ebuild     U ] net-libs/xulrunner-1.9.0.11 [1.9.0.10]
> [ebuild     U ] www-client/mozilla-firefox-3.0.11 [3.0.10]
> [ebuild     U ] sys-fs/udev-141 [124-r2]
> [ebuild     U ] sys-fs/cryptsetup-1.0.6-r2 [1.0.5-r1]
> [blocks b     ] >=sys-fs/udev-126 (">=sys-fs/udev-126" is blocking
> sys-fs/cryptsetup-1.0.5-r1)
> 
> Total: 6 packages (5 upgrades, 1 new), Size of downloads: 55,215 kB
> Conflict: 1 block
> 
> How can I find the package that keeps pulling in vcdimager?
> 
> Thanks,
> 

Use 'emerge -avDu world --tree'

In general, 'qdepends -Q foo' will return packages that depend on foo
if you have portage-utils

-- 
Joseph Booker

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] how to find reverse dependencies?
  2009-06-27  2:24 [gentoo-amd64] how to find reverse dependencies? Steve Herber
  2009-06-27  2:37 ` Joseph Booker
@ 2009-06-27  4:15 ` Mark Knecht
  2009-06-29  4:44 ` Benny Pedersen
  2 siblings, 0 replies; 7+ messages in thread
From: Mark Knecht @ 2009-06-27  4:15 UTC (permalink / raw
  To: gentoo-amd64

On Fri, Jun 26, 2009 at 7:24 PM, Steve Herber<herber@thing.com> wrote:
> I removed a package recently and portage keeps wanting to put it back
> into the system.  How can I find out why portage wants to reinstall it?
> Here is a cleaned up example:
>
> emerge --ask --verbose --deep --update world
>
> Calculating dependencies... done!
> [ebuild  N    ] media-video/vcdimager-0.7.23  USE="-minimal -xml" 986 kB
> [ebuild     U ] dev-lang/php-5.2.10 [5.2.9-r2]
> [ebuild     U ] net-libs/xulrunner-1.9.0.11 [1.9.0.10]
> [ebuild     U ] www-client/mozilla-firefox-3.0.11 [3.0.10]
> [ebuild     U ] sys-fs/udev-141 [124-r2]
> [ebuild     U ] sys-fs/cryptsetup-1.0.6-r2 [1.0.5-r1]
> [blocks b     ] >=sys-fs/udev-126 (">=sys-fs/udev-126" is blocking
> sys-fs/cryptsetup-1.0.5-r1)
>
> Total: 6 packages (5 upgrades, 1 new), Size of downloads: 55,215 kB
> Conflict: 1 block
>
> How can I find the package that keeps pulling in vcdimager?
>
> Thanks,
>
> --
> Steve Herber    herber@thing.com                work: 206-221-7262
> Software Engineer, UW Medicine, IT Services     home: 425-454-2399
>
>

As Joe says emerge --tree is the most typical answer for this.

Another good one is equery depends vcdimager as it attempts to show
what use flags might have called the package in.

Hope this helps,
Mark



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-amd64]  Re: how to find reverse dependencies?
  2009-06-27  2:37 ` Joseph Booker
@ 2009-06-27  4:52   ` Duncan
  0 siblings, 0 replies; 7+ messages in thread
From: Duncan @ 2009-06-27  4:52 UTC (permalink / raw
  To: gentoo-amd64

Joseph Booker <joe@neoturbine.net> posted 20090626213734.631e8110@fenrir,
excerpted below, on  Fri, 26 Jun 2009 21:37:34 -0500:

> On Fri, 26 Jun 2009 19:24:00 -0700 (PDT) Steve Herber <herber@thing.com>
> wrote:
> 
>> I removed a package recently and portage keeps wanting to put it back
>> into the system.  How can I find out why portage wants to reinstall it?

> Use 'emerge -avDu world --tree'
> 
> In general, 'qdepends -Q foo' will return packages that depend on foo if
> you have portage-utils

Tree is one way, tho it can be somewhat hard to read, particularly with 
world, due simply to the number of packages world spits out.

I don't know anything about portage-utils, but if you have gentoolkit, 
equery depends <pkg> works for what depends /on/ a package, equery 
depgraph <pkg> works for what a package depends on.  equery is a handy 
little tool.  It's worthwhile learning it. =:^)  (Read the manpage.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] how to find reverse dependencies?
  2009-06-27  2:24 [gentoo-amd64] how to find reverse dependencies? Steve Herber
  2009-06-27  2:37 ` Joseph Booker
  2009-06-27  4:15 ` [gentoo-amd64] " Mark Knecht
@ 2009-06-29  4:44 ` Benny Pedersen
  2009-06-29  6:48   ` Branko Badrljica
  2 siblings, 1 reply; 7+ messages in thread
From: Benny Pedersen @ 2009-06-29  4:44 UTC (permalink / raw
  To: gentoo-amd64


On Sat, June 27, 2009 04:24, Steve Herber wrote:

> How can I find the package that keeps pulling in vcdimager?

emerge --pretend --verbose --deep --tree --update world

or shourt

emerge -pvDtu world

-- 
xpoint




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] how to find reverse dependencies?
  2009-06-29  6:48   ` Branko Badrljica
@ 2009-06-29  4:55     ` Benny Pedersen
  0 siblings, 0 replies; 7+ messages in thread
From: Benny Pedersen @ 2009-06-29  4:55 UTC (permalink / raw
  To: gentoo-amd64


On Mon, June 29, 2009 08:48, Branko Badrljica wrote:
>> emerge -pvDtu world
> Wouldn't "equery depends vcdimager" be better choice ?

maybe, i just use emerge most of the times

-- 
xpoint




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-amd64] how to find reverse dependencies?
  2009-06-29  4:44 ` Benny Pedersen
@ 2009-06-29  6:48   ` Branko Badrljica
  2009-06-29  4:55     ` Benny Pedersen
  0 siblings, 1 reply; 7+ messages in thread
From: Branko Badrljica @ 2009-06-29  6:48 UTC (permalink / raw
  To: gentoo-amd64

Benny Pedersen wrote:
> On Sat, June 27, 2009 04:24, Steve Herber wrote:
>
>   
>> How can I find the package that keeps pulling in vcdimager?
>>     
>
> emerge --pretend --verbose --deep --tree --update world
>
> or shourt
>
> emerge -pvDtu world
>
>   
Wouldn't "equery depends vcdimager" be better choice ?



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-29  4:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-27  2:24 [gentoo-amd64] how to find reverse dependencies? Steve Herber
2009-06-27  2:37 ` Joseph Booker
2009-06-27  4:52   ` [gentoo-amd64] " Duncan
2009-06-27  4:15 ` [gentoo-amd64] " Mark Knecht
2009-06-29  4:44 ` Benny Pedersen
2009-06-29  6:48   ` Branko Badrljica
2009-06-29  4:55     ` Benny Pedersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox