Re: [gentoo-user] Dependency determination

2005-09-20 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A. Khattri wrote:

On Mon, 19 Sep 2005, gentuxx wrote:

As a clarification, I have the net-dialup/ subtree excluded from
portage as described by another thread on this list
(/etc/portage/rsyc_excludes). But when I run emerge --ask --verbose
- --update --newuse --deep world, I get the net-dialup/ppp package as
one that is queued to be installed. I can only guess that this means
that it's a dependency of another package that is already installed.
So, how would I found out what the root package is that is requiring
net-dialup/ppp as a dependency?


If you add the --tree (or -t) flag to the emerge command it will show what
package (and/or USE flag) is pulling it in.


That was enough!  Thanks!!!  It turns out that the pesky packages
were dependencies of other things that I didn't need or use.  (Which
is what I had hoped.)

I unemerged the root packages, and everything is good.

One thing to note for anyone that might have the same question/problem
in the future:

The --tree option appears to only show the closest dependency.
Which means that if there are several packages (as in my case) that
depend on the one you don't want to install, you'll have to re-run
emerge with the --tree option, and subsequently de-install the
packages you don't want, until the package doesn't show up.

Thanks again, Khattri.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDL6NdLYGSSmmWCZMRAn9XAJ4vaa+0xgyhYQTiTue8W5y3Z3SFSgCg4jwv
UsivSNI7Ee6Tc/UaYT67YzY=
=Lme4
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dependency determination

2005-09-20 Thread A. Khattri
On Mon, 19 Sep 2005, gentuxx wrote:

 One thing to note for anyone that might have the same question/problem
 in the future:

 The --tree option appears to only show the closest dependency.
 Which means that if there are several packages (as in my case) that
 depend on the one you don't want to install, you'll have to re-run
 emerge with the --tree option, and subsequently de-install the
 packages you don't want, until the package doesn't show up.

Most of us run the -D (i.e. --deep) option as well - in fact, I'd wager
emerge -uDtav world is pretty commonly used.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dependency determination

2005-09-20 Thread Rumen Yotov
gentuxx wrote:
 A. Khattri wrote:
 
 
On Mon, 19 Sep 2005, gentuxx wrote:


As a clarification, I have the net-dialup/ subtree excluded from
portage as described by another thread on this list
(/etc/portage/rsyc_excludes). But when I run emerge --ask --verbose
- --update --newuse --deep world, I get the net-dialup/ppp package as
one that is queued to be installed. I can only guess that this means
that it's a dependency of another package that is already installed.
So, how would I found out what the root package is that is requiring
net-dialup/ppp as a dependency?


If you add the --tree (or -t) flag to the emerge command it will show what
package (and/or USE flag) is pulling it in.


 
 That was enough!  Thanks!!!  It turns out that the pesky packages
 were dependencies of other things that I didn't need or use.  (Which
 is what I had hoped.)
 
 I unemerged the root packages, and everything is good.
 
 One thing to note for anyone that might have the same question/problem
 in the future:
 
 The --tree option appears to only show the closest dependency.
 Which means that if there are several packages (as in my case) that
 depend on the one you don't want to install, you'll have to re-run
 emerge with the --tree option, and subsequently de-install the
 packages you don't want, until the package doesn't show up.
 
 Thanks again, Khattri.
 
 --
 gentux
 echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'
 
 gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
 6996 0993
Hi,
Problem solved, only want to add about a script (called 'dep') by
ecatmur (writes here) which list all dependencies or
reverse-dependencies for a package. Using it for a year.
Or look at the ebuild in question ;)
Look at www.gentooexperimental.org for other unoff scripts/tools.
HTH. Rumen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dependency determination

2005-09-20 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A. Khattri wrote:

On Mon, 19 Sep 2005, gentuxx wrote:

One thing to note for anyone that might have the same question/problem
in the future:

The --tree option appears to only show the closest dependency.
Which means that if there are several packages (as in my case) that
depend on the one you don't want to install, you'll have to re-run
emerge with the --tree option, and subsequently de-install the
packages you don't want, until the package doesn't show up.


Most of us run the -D (i.e. --deep) option as well - in fact, I'd wager
emerge -uDtav world is pretty commonly used.


Yes.  I typically run emerge -Dupv world, but I think I'll start
adding -t.  But the -D option wasn't giving me the info I needed.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDMDzNLYGSSmmWCZMRAkBCAKC0oy4NK0ijCjb79nBMtxkAN9meyQCbBjxu
YA9d2uEeM27oLOFHl55G1bw=
=n0h+
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dependency determination

2005-09-20 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Neil Bothwick wrote:

On Mon, 19 Sep 2005 22:51:28 -0700, gentuxx wrote:

The --tree option appears to only show the closest dependency.
Which means that if there are several packages (as in my case) that
depend on the one you don't want to install, you'll have to re-run
emerge with the --tree option, and subsequently de-install the
packages you don't want, until the package doesn't show up.


Use

qpkg -q -I packagename

I though qpkg was deprecated.

or

equery depends packagename

It seems that when I ran this the other day, it wasn't giving me the
information I needed.  Perhaps because that package wasn't actually
installed, but the packages that depended on it were?

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDMEVGLYGSSmmWCZMRAuIoAKCScKzIYZomnNcJNU3pQyJbZG6lvgCgyOi9
xIVOdLZO4jNo4uwUnk4r6FI=
=GgJh
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dependency determination

2005-09-20 Thread Neil Bothwick
On Tue, 20 Sep 2005 10:22:14 -0700, gentuxx wrote:

 Use
 
 qpkg -q -I packagename
 
 I though qpkg was deprecated.

Maybe, but it still works, and several orders of magnitude faster than
equery.

 or
 
 equery depends packagename
 
 It seems that when I ran this the other day, it wasn't giving me the
 information I needed.  Perhaps because that package wasn't actually
 installed, but the packages that depended on it were?

I wouldn't know about that, I still use qpkg :)


-- 
Neil Bothwick

Reality is an obstacle to hallucination.


pgpMEoQtIPTVv.pgp
Description: PGP signature


[gentoo-user] Dependency determination

2005-09-19 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there a way with emerge or equery to determine what other package a
given package is a dependency for?

As a clarification, I have the net-dialup/ subtree excluded from
portage as described by another thread on this list
(/etc/portage/rsyc_excludes).  But when I run emerge --ask --verbose
- --update --newuse --deep world, I get the net-dialup/ppp package as
one that is queued to be installed.  I can only guess that this means
that it's a dependency of another package that is already installed.
So, how would I found out what the root package is that is requiring
net-dialup/ppp as a dependency?

Thanks.

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDL4mtLYGSSmmWCZMRAuX2AKCRQorgGh5aXf/p4sxyKC/lTlH/iwCfVaVX
pyOse+3PNa9AILWnsUCrGNg=
=6PSN
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dependency determination

2005-09-19 Thread A. Khattri
On Mon, 19 Sep 2005, gentuxx wrote:

 As a clarification, I have the net-dialup/ subtree excluded from
 portage as described by another thread on this list
 (/etc/portage/rsyc_excludes).  But when I run emerge --ask --verbose
 - --update --newuse --deep world, I get the net-dialup/ppp package as
 one that is queued to be installed.  I can only guess that this means
 that it's a dependency of another package that is already installed.
 So, how would I found out what the root package is that is requiring
 net-dialup/ppp as a dependency?

If you add the --tree (or -t) flag to the emerge command it will show what
package (and/or USE flag) is pulling it in.


-- 

-- 
gentoo-user@gentoo.org mailing list