* [gentoo-dev] significance of output from emerge -ep
@ 2002-10-01 13:00 Nicolas Kaiser
2002-10-02 0:11 ` Stuart Bouyer
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Kaiser @ 2002-10-01 13:00 UTC (permalink / raw
To: gentoo-dev
I'm having difficulties understanding why "emerge -ep" deprives me of
useful information about packages that are already installed, or in
different version.
Is there a special reason for --emptytree testing in this place?
TIA,
Nicolas
$ diff -u /usr/lib/portage/bin/emerge.orig /usr/lib/portage/bin/emerge
--- /usr/lib/portage/bin/emerge.orig 2002-10-01 14:22:44.000000000 +0200
+++ /usr/lib/portage/bin/emerge 2002-10-01 14:30:09.000000000 +0200
@@ -844,11 +844,9 @@
else:
if x[3]=="nomerge":
continue
- #we need to use "--emptrytree" testing here rather than "empty" param testing because "empty"
- #param is used for -u, where you still *do* want to see when something is being upgraded.
- if (not "--emptytree" in myopts) and portage.db[x[1]]["vartree"].exists_specific(x[2]):
+ if portage.db[x[1]]["vartree"].exists_specific(x[2]):
addl=" "+yellow("R")+" "
- elif (not "--emptytree" in myopts) and portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
+ elif portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
addl=" "+turquoise("U")+" "
else:
addl=" "+green("N")+" "
--
Registered Linux User #223623 http://counter.li.org
http://freshmeat.net/~nikai
http://sf.net/users/nikai
2:59pm up 2:22, bogomips: 1389.36 War wieder spät gestern
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] significance of output from emerge -ep
2002-10-01 13:00 [gentoo-dev] significance of output from emerge -ep Nicolas Kaiser
@ 2002-10-02 0:11 ` Stuart Bouyer
2002-10-02 9:03 ` [gentoo-dev] " Nicolas Kaiser
0 siblings, 1 reply; 3+ messages in thread
From: Stuart Bouyer @ 2002-10-02 0:11 UTC (permalink / raw
To: Gentoo Devs
[-- Attachment #1: Type: text/plain, Size: 946 bytes --]
On 火, 2002-10-01 at 22:00, Nicolas Kaiser wrote:
> I'm having difficulties understanding why "emerge -ep" deprives me of
> useful information about packages that are already installed, or in
> different version.
>
> Is there a special reason for --emptytree testing in this place?
>
> TIA,
> Nicolas
You are asking emerge to pretend and "emptytree" install of a given
package, from emerge --help
--emptytree (-e short option)
Virtually tweaks the tree of installed packages to only contain
glibc, this is great to use together with --pretend. This makes
it possible for developers to get a complete overview of the
complete dependency tree of a certain package.
You are being "deprived" of information about installed packages,
because as far as emerge is concerned you have no installed packages
(except glibc) when you run emerge with the -e / --emptytree switch
Stuart
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-dev] Re: significance of output from emerge -ep
2002-10-02 0:11 ` Stuart Bouyer
@ 2002-10-02 9:03 ` Nicolas Kaiser
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Kaiser @ 2002-10-02 9:03 UTC (permalink / raw
To: gentoo-dev
* Stuart Bouyer <stuart@palette.plala.or.jp> :
> On ç«, 2002-10-01 at 22:00, Nicolas Kaiser wrote:
> > I'm having difficulties understanding why "emerge -ep" deprives me of
> > useful information about packages that are already installed, or in
> > different version.
> You are being "deprived" of information about installed packages,
> because as far as emerge is concerned you have no installed packages
> (except glibc) when you run emerge with the -e / --emptytree switch
Sure. The reason I was asking was that it seemed redundant to me to have
an "N" in every line.
But I think this comes from my perspective as a user, if I understand
correctly "-ep" is rather meant for someone maintaining the tree, to
check for blocking dependencies.
In this context I seem to be abusing this option for comparing package
versions along the dependencies in my local installation.
Thanks,
Nicolas
--
Registered Linux User #223623 http://counter.li.org
http://freshmeat.net/~nikai
http://sf.net/users/nikai
11:03am up 59 min, bogomips: 1389.36 War wieder spät gestern
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-02 9:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-01 13:00 [gentoo-dev] significance of output from emerge -ep Nicolas Kaiser
2002-10-02 0:11 ` Stuart Bouyer
2002-10-02 9:03 ` [gentoo-dev] " Nicolas Kaiser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox