Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What does the output of equery hasuse mean?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
branchcut
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2004
Posts: 115
Location: Montreal, Quebec

PostPosted: Tue Sep 19, 2006 11:30 am    Post subject: What does the output of equery hasuse mean? Reply with quote

Hi all,

I just ran this:

dcr@zinc ~ $ equery hasuse sdl
[ Searching for USE flag sdl in all categories among: ]
* installed packages
[I--] [ ] sys-libs/lib-compat-1.4.1 (0)
[I--] [ ] app-emulation/fuse-0.7.0 (0)
[I--] [ ] dev-libs/DirectFB-0.9.22 (0)
[I--] [ ] media-libs/libmpeg2-0.4.0b (0)
[I--] [M~] x11-libs/wxGTK-2.6.3.2 (2.6)
[I--] [ -] media-video/ffmpeg-0.4.9_p20060530 (0)
[I--] [ ] media-video/mjpegtools-1.8.0-r1 (1)
[I--] [ ~] media-video/mplayer-1.0_pre8-r1 (0)
[I--] [ ] media-video/transcode-1.0.2-r2 (0)

It seems pretty clear except for the [I--], [M~], [ ~] and [ -]. What do they mean? Note that [M~], [ ~] and [ -] are in red. I assume that [I--] means installed? The man page, from what I can tell, was no help here, unless I missed something, which I often do...

Thanks for any tips.

Desmond
Back to top
View user's profile Send private message
branchcut
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2004
Posts: 115
Location: Montreal, Quebec

PostPosted: Tue Sep 19, 2006 11:58 am    Post subject: Reply with quote

Okay, I think the tilda (~) means that the package is masked, and the M means that it should be downgraded on the next update (i.e. I haven't put it in package.keywords).

I'm still hazy on the [I--] and the [ -] though :)

Desmond
Back to top
View user's profile Send private message
Sohail
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2005
Posts: 118
Location: Pakistan.

PostPosted: Tue Sep 19, 2006 2:04 pm    Post subject: Reply with quote

Okhey here is the legend.... I have it on a hard copy.

The contents of first bracket....

I = like you said, means package is installed.
P = Portage(Package is part of Portage Tree).
O = Overlay(Package is part of locally maintained Portage Tree).

The contents of the second bracket....

+ = stable
~ = testing
- = not available
M+ = stable / hard masked
M~ = testing / hard masked
Back to top
View user's profile Send private message
kadeux
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2005
Posts: 103

PostPosted: Sun Oct 29, 2006 4:35 pm    Post subject: Reply with quote

Hi,
I agree with most of these explanations, but
Sohail wrote:
The contents of the second bracket....

- = not available
I don't buy that! :wink:

Why not?

Looking at my system, I find:
Code:
# equery -N l |grep '\[.-\]'
[I--] [ -] dev-libs/openssl-0.9.8d (0)
[I--] [ -] sys-devel/bin86-0.16.17 (0)
[I--] [ -] sys-devel/binutils-2.16.1-r3 (0)
[I--] [ -] sys-devel/gcc-3.4.6-r1 (3.4)
[I--] [ -] sys-kernel/linux-headers-2.6.17-r1 (0)
[I--] [ -] sys-libs/glibc-2.3.6-r4 (2.2)

That's the newest stable versions for my profile
Quote:
/etc/make.profile -> ../usr/portage/profiles/hardened/x86/2.6

as you can see here:

Code:
# emerge -pv openssl bin86 binutils gcc linux-headers glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/openssl-0.9.8d  USE="test zlib -bindist -emacs -sse2" 0 kB
[ebuild   R   ] sys-devel/bin86-0.16.17  0 kB
[ebuild   R   ] sys-devel/binutils-2.16.1-r3  USE="nls -multislot -multitarget -test -vanilla" 0 kB
[ebuild   R   ] sys-devel/gcc-3.4.6-r1  USE="hardened nls test (-altivec) -bootstrap -boundschecking -build -doc -fortran -gcj -gtk -ip28 -ip32r10k -multilib -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -vanilla" 0 kB
[ebuild   R   ] sys-kernel/linux-headers-2.6.17-r1  USE="-gcc64" 0 kB
[ebuild   R   ] sys-libs/glibc-2.3.6-r4  USE="erandom hardened nls nptl nptlonly -build -glibc-compat20 -glibc-omitfp -multilib -profile (-selinux)" 0 kB

Total size of downloads: 0 kB

Maybe "[ -]" has to do with "-*" in the keywords settings of these ebuilds, but I'm only guessing.

If anybody knows further details of the mysterious "[ -]", please step in! :)
Back to top
View user's profile Send private message
ycUygB1
Apprentice
Apprentice


Joined: 27 Jul 2005
Posts: 276
Location: Portland, Oregon

PostPosted: Sun Aug 24, 2014 4:43 pm    Post subject: Reply with quote

Location field ([IPO-]):

The first field shows the location and install status of the package. It consists of three letters in square brackets. I indicates the package is currently installed. P indicates the package is available in the Portage tree. O indicates the package is available in at least one overlay. - is a place holder and has no meaning. [I-O] would mean that the package is installed and available from an overlay, but not available from the Portage tree.

Mask-status field ([ ~M-??]):

The second field shows the mask status of the package. Empty brackets indicate that the package is unmasked. A ~ means the package is masked by keyword, e.g., you are running a stable system and the package is marked testing). M means hard masked, e.g., the package maintainer has determined the package is unfit for widespread usage. - means arch masked, e.g., you are running an amd64 system, but this package only works on x86. Lastly, ?? only occurs when the location field is [I--]. Together, they indicate that the package was installed from the Portage tree or an overlay, but has since been removed from that tree; therefore equery can not determine a mask status for it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum