Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3935

Summary: whishing emerge --pretend --explain
Product: Portage Development Reporter: harald <gentoorocks.12.ghum>
Component: CoreAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED FIXED    
Severity: enhancement CC: alor, gentoorocks.12.ghum, mholzer
Priority: High    
Version: 2.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description harald 2002-06-20 12:18:59 UTC
I stumbled upon emergin Midnight Commander. It's named gnome-extra/mc. emerge --pretend shows, that Midnight Commander, the Console-Application, will trigger X11 to be installed.

Why? Because in my "USE" X is defined. So emerge is perfectly correct. But: if --explain would be possible, emerge would show something like

gpmxxxx (because of gpm in USE(profiles/make.default))
X11 (because of X in USE(make.conf))
MC (the packet you requested)

or with another packet:

kdebase (requiered by KOFFICE)
somespecialpackage

it could also show, from WHICH use-Variable all depends.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-06-20 13:06:49 UTC
Good idea.  I am going to try to implement this eventually.
Comment 2 Alberto Ornaghi 2002-11-11 04:09:45 UTC
it can be useful to have an emerge --dependencies that show all the dependecies
(mandatory and optional) disregarding the installed packages.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-09-21 06:45:18 UTC
is emerge -pv <package> sufficient ?
Comment 4 Charles Goodwin 2003-10-08 04:44:09 UTC
The features are available in emerge and the gentoolkit to deal with this.

Can it be closed as INVALID?
Comment 5 Charles Goodwin 2003-10-08 04:44:38 UTC
Or at the very least - LATER.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-10-08 05:21:33 UTC
closing with comment #3

yes it is sufficient