public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] reverse dependencies
@ 2006-09-29 10:04 kiorky
  2006-09-29 11:44 ` Ptitjack
  2006-09-29 19:24 ` Richard Fish
  0 siblings, 2 replies; 6+ messages in thread
From: kiorky @ 2006-09-29 10:04 UTC (permalink / raw
  To: gentoo-user

 hello i want to know a good tool for reverse dependencies stuff.
for example, gnutls broke my system  yesterday but revdep or equery dont 
took me all impacted packages. But a ldd on the impacted program show me 
my soname (libgnutls.so.*)
so i want to know all packages depending on "/usr/lib/libgnutls.*" for 
example or maybe on all binaries/libraries.given by equery files 
package, a kind of recursively ldd program on other binaries and 
libraries files which returns me "depending on" packages.

-- 
Cordialement,
KiORKY
Linux & BSD powered

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] reverse dependencies
  2006-09-29 10:04 [gentoo-user] reverse dependencies kiorky
@ 2006-09-29 11:44 ` Ptitjack
  2006-09-29 19:24 ` Richard Fish
  1 sibling, 0 replies; 6+ messages in thread
From: Ptitjack @ 2006-09-29 11:44 UTC (permalink / raw
  To: gentoo-user

kiorky a gentiment tapote:
> hello i want to know a good tool for reverse dependencies stuff.
> for example, gnutls broke my system  yesterday but revdep or equery
> dont took me all impacted packages. But a ldd on the impacted program
> show me my soname (libgnutls.so.*)
> so i want to know all packages depending on "/usr/lib/libgnutls.*" for
> example or maybe on all binaries/libraries.given by equery files
> package, a kind of recursively ldd program on other binaries and
> libraries files which returns me "depending on" packages.
>

Hi,

try udept

#emerge app-portage/udept
#dep -L <package>

Regards

Ptitjack
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] reverse dependencies
  2006-09-29 10:04 [gentoo-user] reverse dependencies kiorky
  2006-09-29 11:44 ` Ptitjack
@ 2006-09-29 19:24 ` Richard Fish
  2006-09-30 12:49   ` KiOrKY
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Fish @ 2006-09-29 19:24 UTC (permalink / raw
  To: gentoo-user

On 9/29/06, kiorky <kiorky@cryptelium.net> wrote:
>  hello i want to know a good tool for reverse dependencies stuff.
> for example, gnutls broke my system  yesterday but revdep or equery dont
> took me all impacted packages. But a ldd on the impacted program show me
> my soname (libgnutls.so.*)
> so i want to know all packages depending on "/usr/lib/libgnutls.*" for

What you really want is:

revdep-rebuild -p --library 'libgnutls.*'

BTW, you should have seen something like this, either on the screen or
in the /var/log/portage/elog/ files (assuming you have ELOG setup for
your system!)

                ewarn "You must re-compile all packages that are linked against"
                ewarn "Gnutls-1.2.11 by using revdep-rebuild from gentoolkit:"
                ewarn "# revdep-rebuild --library libgnutls.so.12"

Regards,
-Richard
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] reverse dependencies
  2006-09-29 19:24 ` Richard Fish
@ 2006-09-30 12:49   ` KiOrKY
  0 siblings, 0 replies; 6+ messages in thread
From: KiOrKY @ 2006-09-30 12:49 UTC (permalink / raw
  To: gentoo-user

Richard Fish a écrit :
> On 9/29/06, kiorky <kiorky@cryptelium.net> wrote:
>>  hello i want to know a good tool for reverse dependencies stuff.
>> for example, gnutls broke my system  yesterday but revdep or equery dont
>> took me all impacted packages. But a ldd on the impacted program show me
>> my soname (libgnutls.so.*)
>> so i want to know all packages depending on "/usr/lib/libgnutls.*" for
> 
> What you really want is:
> 
> revdep-rebuild -p --library 'libgnutls.*'
> 
> BTW, you should have seen something like this, either on the screen or
> in the /var/log/portage/elog/ files (assuming you have ELOG setup for
> your system!)
> 
>                ewarn "You must re-compile all packages that are linked 
> against"
>                ewarn "Gnutls-1.2.11 by using revdep-rebuild from 
> gentoolkit:"
>                ewarn "# revdep-rebuild --library libgnutls.so.12"
> 
> Regards,
> -Richard
i ve allready done that.

The only way i found to findd that is
find /var/db/pkg -name NEEDED -type f -print0 | xargs -0 grep -l 
'gnutls\.so' | cut -f5,6 -d/

revdep dont recompile all my packages which were impacted.

-- 
--
KiOrKY
----------------
	clé GnuPG publique : 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4CBB7776
----------------
< Linux & BSD Powered >




-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user] reverse dependencies
@ 2008-11-26  5:55 Andrey Vul
  2008-11-26  6:58 ` Daniel Pielmeier
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Vul @ 2008-11-26  5:55 UTC (permalink / raw
  To: gentoo-user

How do I get the reverse dependencies of an ebuild?
I need to know which packages *explicity* depend on gentoo-headers as
I have custom headers which conflict with 2.6.27 mainline.

-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



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

* Re: [gentoo-user] reverse dependencies
  2008-11-26  5:55 Andrey Vul
@ 2008-11-26  6:58 ` Daniel Pielmeier
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Pielmeier @ 2008-11-26  6:58 UTC (permalink / raw
  To: gentoo-user

Is this question now asked once a week? What is also annoying is that
people do no own research before posting to mailing lists. If you had
googled it you would have recognized a few threads _from this list_
discussing this in the not to distant past.

http://www.gentoo.org/proj/en/portage/doc/faq.xml


2008/11/26 Andrey Vul <andrey.vul@gmail.com>:
> How do I get the reverse dependencies of an ebuild?
> I need to know which packages *explicity* depend on gentoo-headers as
> I have custom headers which conflict with 2.6.27 mainline.
>
> --
> Andrey Vul
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>



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

end of thread, other threads:[~2008-11-26  6:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-29 10:04 [gentoo-user] reverse dependencies kiorky
2006-09-29 11:44 ` Ptitjack
2006-09-29 19:24 ` Richard Fish
2006-09-30 12:49   ` KiOrKY
  -- strict thread matches above, loose matches on Subject: below --
2008-11-26  5:55 Andrey Vul
2008-11-26  6:58 ` Daniel Pielmeier

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