Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565408 - app-portage/gentoolkit - equery y (keywords) not documented in man page
Summary: app-portage/gentoolkit - equery y (keywords) not documented in man page
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-10 19:55 UTC by Lagu
Modified: 2023-07-18 22:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge,21.79 KB, text/plain)
2015-11-10 19:55 UTC, Lagu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lagu 2015-11-10 19:55:12 UTC
Hi, here a bug affecting this option, basically when we use equery to search the availble ebuilds or for check it, don't show the ebuilds of the overlays (including the local), i try with others options and it get correctly the ebuild overlays, example:

1)get some overlay

layman -a java

2)show ebuilds

equery y icedtea

              | a a   a         n   p r     s   | n   |  
              | l m   r h i m m i   p i s   p   | u s | r
              | p d a m p a 6 i o p c s 3   a x | s l | e
              | h 6 r 6 p 6 8 p s p 6 c 9 s r 8 | e o | p
              | a 4 m 4 a 4 k s 2 c 4 v 0 h c 6 | d t | o
--------------+---------------------------------+-----+-------
  6.1.13.8-r1 | o ~ o o o o o o o ~ ~ o o o o ~ | o 6 | gentoo
--------------+---------------------------------+-----+-------
   7.2.5.6-r1 | o o o o o o o o o ~ o o o o o o | o 7 | gentoo
[I]7.2.6.1-r1 | o ~ ~ o o o o o o o o o o o o ~ | o   | gentoo


now the ls of the files of java ovrlay:

ChangeLog  icedtea-3.0.0_pre06.ebuild  icedtea-6.9999.ebuild   icedtea-7.2.7.0_pre00.ebuild  metadata.xml
files      icedtea-6.1.13.8-r1.ebuild  icedtea-7.2.6.2.ebuild  Manifest

Thx.
Comment 1 Lagu 2015-11-10 19:55:32 UTC
Created attachment 416642 [details]
emerge --info
Comment 2 Lagu 2015-11-12 20:11:11 UTC
Hi ppl.

Extending this issue in a similar circunstances.

imaging the foo package with slots , 1 and 2.

if we install the package of the first slot then we can see it with equery y foo but then, lets suppose portage update the system, now the slot 1 is removed from the tree, there we can't see the installed package D: if we use equery equery y foo we don't see any installed package but portage recognizes it.

graph exmpl.

foo package

                  | a a   a         n   p r     s   | n   |  
                  | l m   r h i m m i   p i s   p   | u s | r
                  | p d a m p a 6 i o p c s 3   a x | s l | e
                  | h 6 r 6 p 6 8 p s p 6 c 9 s r 8 | e o | p
                  | a 4 m 4 a 4 k s 2 c 4 v 0 h c 6 | d t | o
------------------+---------------------------------+-----+-------
  1.1 (installed) | o ~ o o o o o o o ~ ~ o o o o ~ | o 1 | gentoo
------------------+---------------------------------+-----+-------
  2.1             | o ~ o o o o o o o ~ o o o o o o | o 2 | gentoo

then the portage tree remove the first sloot the we will see

                  | a a   a         n   p r     s   | n   |  
                  | l m   r h i m m i   p i s   p   | u s | r
                  | p d a m p a 6 i o p c s 3   a x | s l | e
                  | h 6 r 6 p 6 8 p s p 6 c 9 s r 8 | e o | p
                  | a 4 m 4 a 4 k s 2 c 4 v 0 h c 6 | d t | o
------------------+---------------------------------+-----+-------
  2.3             | o ~ o o o o o o o ~ o o o o o o | o 2 | gentoo

Well there we now the foo-1.1 continues installed but we can't see it.

D: equery should show the installed package although tha package is removed, obs this don't happend with package of the same slots, because there portage upgrade  it and is removed the deprecated ebuild.

This is very common in the kernels packages.
Comment 3 Denis Romanchuk 2015-11-16 06:36:35 UTC
(In reply to Lagu from comment #0)
> Hi, here a bug affecting this option, basically when we use equery to search
> the availble ebuilds or for check it, don't show the ebuilds of the overlays
> (including the local), i try with others options and it get correctly the
> ebuild overlays, example:
> 
> 1)get some overlay
> 
> layman -a java
> 
> 2)show ebuilds
> 
> equery y icedtea
> 
>               | a a   a         n   p r     s   | n   |  
>               | l m   r h i m m i   p i s   p   | u s | r
>               | p d a m p a 6 i o p c s 3   a x | s l | e
>               | h 6 r 6 p 6 8 p s p 6 c 9 s r 8 | e o | p
>               | a 4 m 4 a 4 k s 2 c 4 v 0 h c 6 | d t | o
> --------------+---------------------------------+-----+-------
>   6.1.13.8-r1 | o ~ o o o o o o o ~ ~ o o o o ~ | o 6 | gentoo
> --------------+---------------------------------+-----+-------
>    7.2.5.6-r1 | o o o o o o o o o ~ o o o o o o | o 7 | gentoo
> [I]7.2.6.1-r1 | o ~ ~ o o o o o o o o o o o o ~ | o   | gentoo
> 
> 
> now the ls of the files of java ovrlay:
> 
> ChangeLog  icedtea-3.0.0_pre06.ebuild  icedtea-6.9999.ebuild  
> icedtea-7.2.7.0_pre00.ebuild  metadata.xml
> files      icedtea-6.1.13.8-r1.ebuild  icedtea-7.2.6.2.ebuild  Manifest
> 
> Thx.

To show keywords, equery actually calls eshowkw and to make it look through the overlays you should pass additional option. So you can use it directly or through equery:
eshowkw -O htop
equery y -O htop
Comment 4 Lagu 2015-11-16 16:52:05 UTC
mm, with that the first part of this issue is complete, searching i found a weird thing, because ¿how i can't see that option?, checking the man pages of equery, it doesn't have a ke(y)words section D: its missed the doc info. (i already chek the others options and are fine)
Comment 5 Paul Varner (RETIRED) gentoo-dev 2015-11-16 20:31:23 UTC
I'm changing this bug to reflect the real problem that equery keywords is not doucmented in the man page.

I've opened bug 565980 to track the second issue where keywords are not shown for installed packages without a corresponding ebuild in the tree.
Comment 6 Alexis 2022-03-03 02:57:14 UTC
The `y` option is also not listed in the help output (i.e. `-h`).