View previous topic :: View next topic |
Author |
Message |
mpagano Developer
Joined: 27 Apr 2004 Posts: 197 Location: USA
|
Posted: Sun Aug 21, 2005 2:34 am Post subject: Listing dependencies of a package. |
|
|
I was looking for an emerge command to list packages for mc as I was reading another thread.
Here what happened on machine 1.
Code: | # emerge -uDtp mc
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] app-misc/mc-4.6.0-r14
[nomerge ] sys-apps/man-1.6-r1
[nomerge ] sys-process/cronbase-0.3.2
[nomerge ] sys-libs/db-4.2.52_p2
[nomerge ] dev-java/sun-jdk-1.4.2.08-r1
[ebuild N F ] dev-java/java-sdk-docs-1.4.2
[nomerge ] sys-libs/lib-compat-1.4
[nomerge ] media-libs/libsdl-1.2.8-r1
[nomerge ] media-sound/esound-0.2.34
[nomerge ] media-libs/alsa-lib-1.0.9
[nomerge ] media-sound/alsa-driver-1.0.9b
[nomerge ] sys-kernel/gentoo-sources-2.6.12-r9
[ebuild N ] app-text/docbook-sgml-utils-0.6.14
[ebuild N ] app-text/docbook-xml-simple-dtd-1.0-r1
[ebuild N ] app-text/docbook-xml-simple-dtd-4.1.2.4-r2
[ebuild N ] app-text/docbook-sgml-dtd-3.1-r3
[ebuild N ] dev-perl/SGMLSpm-1.03-r5
[ebuild N ] app-text/docbook-sgml-dtd-4.0-r3
[ebuild N ] app-text/docbook-sgml-dtd-4.1-r3
[ebuild N ] app-text/xmlto-0.0.18
[ebuild N ] app-text/docbook-xml-dtd-4.2-r1
[ebuild N ] app-doc/doxygen-1.4.2
[nomerge ] app-text/ghostscript-7.07.1-r8
[nomerge ] x11-libs/gtk+-2.6.7
[nomerge ] dev-libs/glib-2.6.4
[ebuild N ] dev-util/gtk-doc-1.3-r1
[ebuild N ] app-text/docbook-xml-dtd-4.1.2-r5
[ebuild N ] app-text/docbook-xsl-stylesheets-1.68.1-r1
[ebuild N ] app-text/build-docbook-catalog-1.2
[ebuild N ] app-text/docbook-dsssl-stylesheets-1.79
[ebuild N ] app-text/docbook-sgml-dtd-3.0-r3
[ebuild N ] media-gfx/graphviz-1.16
[ebuild N ] media-libs/gd-2.0.32
[nomerge ] x11-terms/xterm-200-r3
[nomerge ] sys-apps/utempter-0.5.5.6
[nomerge ] app-arch/rpm2targz-9.0-r3
[nomerge ] sys-apps/which-2.16
[nomerge ] x11-base/xorg-x11-6.8.2-r2
[nomerge ] sys-apps/util-linux-2.12i-r1
[nomerge ] sys-apps/pam-login-3.17
[nomerge ] sys-apps/shadow-4.0.7-r3
[nomerge ] sys-apps/portage-2.0.51.22-r2
[nomerge ] dev-lang/python-2.3.5
[ebuild N ] dev-python/python-docs-2.3.5
|
And here the output for machine 2.
Code: | # emerge -uDtp mc
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] app-misc/mc-4.6.0-r14 |
Can someone tell me how the outputs can be different?
Both are running portage version 2.0.51.22-r2
Mike |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Aug 21, 2005 3:21 am Post subject: |
|
|
Diffrend use flags? |
|
Back to top |
|
|
Cinder6 l33t
Joined: 05 Aug 2004 Posts: 767 Location: California
|
Posted: Sun Aug 21, 2005 5:02 am Post subject: |
|
|
Machine 2 has the dependencies installed already? _________________ Knowledge is power.
Power corrupts.
Study hard.
Be evil.
Ugly Overload |
|
Back to top |
|
|
Taladar Guru
Joined: 09 Oct 2004 Posts: 458 Location: Bielefeld, Germany
|
Posted: Sun Aug 21, 2005 12:20 pm Post subject: |
|
|
Try adding a "-v" to the emerge command to see the USE-flags of each package. |
|
Back to top |
|
|
mpagano Developer
Joined: 27 Apr 2004 Posts: 197 Location: USA
|
Posted: Sun Aug 21, 2005 1:09 pm Post subject: |
|
|
I put the -v in with the other options and I get the same output.
Both system do not have app-misc/mc installed. Weird.
Use flags for system that displays the dependency tree:
Code: | USE="-gnome cdparanoia doc dts dvd dvdread nptl nptlonly win32codecs" |
Use flags for the system that does not display the dependency tree:
Code: | USE="nptl nptlonly cdparanoia kdeenablefinal browserplugin win32codecs doc" |
Fairly benign use flags, I think. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Aug 21, 2005 1:14 pm Post subject: |
|
|
Most of the dependencies seem to be pulled in by the doc use flag. I'd say you've added that recently on one machine so they are new for that machine while on the other machine those packages are already installed. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
mpagano Developer
Joined: 27 Apr 2004 Posts: 197 Location: USA
|
Posted: Sun Aug 21, 2005 3:09 pm Post subject: |
|
|
Quote: | I'd say you've added that recently on one machine so they are new for that machine while on the other machine those packages are already installed. |
You are correct, sir!
Now, is there a way regardless of use flags to say:
Please show me all dependencies of package A whether or not they are installed?
Mike |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Aug 21, 2005 3:16 pm Post subject: |
|
|
--tree --deep _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
mpagano Developer
Joined: 27 Apr 2004 Posts: 197 Location: USA
|
Posted: Sun Aug 21, 2005 3:24 pm Post subject: |
|
|
Code: | emerge --tree --deep --pretend mc
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[ebuild N ] app-misc/mc-4.6.0-r14
|
mc-4.6.0-r14.ebuild
Code: | ...
RDEPEND=">=sys-fs/e2fsprogs-1.19
ncurses? ( >=sys-libs/ncurses-5.2-r5 )
=dev-libs/glib-2*
pam? ( >=sys-libs/pam-0.72 )
gpm? ( >=sys-libs/gpm-1.19.3 )
slang? ( >=sys-libs/slang-1.4.9-r1 )
samba? ( >=net-fs/samba-3.0.0 )
unicode? ( >=sys-libs/slang-1.4.9-r1 )
X? ( virtual/x11 )
x86? ( 7zip? ( >=app-arch/p7zip-4.16 ) )
ppc? ( 7zip? ( >=app-arch/p7zip-4.16 ) )
amd64? ( 7zip? ( >=app-arch/p7zip-4.16 ) )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
... |
I'm looking for something that will show dependencies. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Mon Aug 22, 2005 2:59 pm Post subject: |
|
|
"--tree --emptytree" will show all dependencies (likely more than you want). |
|
Back to top |
|
|
|