From bug 565408: 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
hi, i have a little question of something like this before write a bug report, its with the portage system, think this like continues of the issue, when the foo-1.1 its removed it continues installed, but there if the package don't have a specification to be installed (any package say a specific version or slot, or is manually installed) portage don't update it (anymore) and don't remove it with depclean, ¿its correctly this function? because it feels like a ghost package. graph ex. (in experience) we have a vanilla-sources-4.2.5 slot 4.2.5 so emerge vanilla-sources now is installed with that package in world, all fine, then portage remove that slot and put the next version a vanilla-sources-4.2.6 slot 4.2.6 (the ebuild 4.2.5 don't exist now), and portage don't update vanilla-sources and don't is removed from depclean because that package satisfies the package of world, but it can't be updated for the slot differences. Thx.
(In reply to Paul Varner from comment #0) > From bug 565408: > > 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 Basically as I understood equery y <package> (and eshowkw <package> correspondingly) should list in the table package which is already installed even though ebuild related to that package's version was removed from the portage tree after emerge --sync or some updates, right ?
yes :D
Created attachment 417326 [details, diff] show all installed packages Could you check it ?
Created attachment 417330 [details, diff] show all installed packages
yay it works!, the onlty thing ¿its posible mark that packages as removed? vor this reazon: part of gcc keywords: Keywords for sys-devel/gcc: | | u | | 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 -------------+---------------------------------+----------+------- 4.9.0 | o o o o ~ o o o o o o o o o o o | # 4.9 | gentoo 4.9.1 | o o o o ~ o o o o o o o o o o o | # | gentoo 4.9.2 | ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ o ~ ~ ~ ~ | # | gentoo [I]4.9.3 | + + + + + ~ + ~ o + + o + + ~ + | o | gentoo -------------+---------------------------------+----------+------- 5.1.0 | o o o o o o o o o o o o o o o o | # 5 | gentoo 5.2.0 | o o o o o o o o o o o o o o o o | o | gentoo now my hardened-sources: Keywords for sys-kernel/hardened-sources: | | u | | 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 ------------+---------------------------------+------------+------- [I]4.1.7-r1 | ~ + ~ o ~ ~ o o o ~ ~ o o o ~ + | o 4.1.7-r1 | gentoo ------------+---------------------------------+------------+------- [I]4.2.5-r1 | o o o o o o o o o o o o o o o o | o 4.2.5-r1 | gentoo ------------+---------------------------------+------------+------- [I]4.2.6-r3 | o o o o o o o o o o o o o o o o | o 4.2.6-r3 | gentoo ------------+---------------------------------+------------+------- [I]4.2.6-r4 | ~ ~ ~ o ~ ~ o o o ~ ~ o o o ~ ~ | o 4.2.6-r4 | gentoo as you can see in in gcc the package 5.X are in prtage tree but without keywords, but in the hardened-sources the packages 4.2.5-r1 and 4.2.6-r3 don't are in portage tree, its confusing because both are marked in the same way. ¿its posible mark with a difference? ex: Keywords for sys-kernel/hardened-sources: | | u | | 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 ------------+---------------------------------+------------+------- [I]4.1.7-r1 | ~ + ~ o ~ ~ o o o ~ ~ o o o ~ + | o 4.1.7-r1 | gentoo ------------+---------------------------------+------------+------- [I]4.2.5-r1 | o o o o o o o o o o o o o o o o | o 4.2.5-r1 | removed ------------+---------------------------------+------------+------- [I]4.2.6-r3 | o o o o o o o o o o o o o o o o | o 4.2.6-r3 | removed ------------+---------------------------------+------------+------- [I]4.2.6-r4 | ~ ~ ~ o ~ ~ o o o ~ ~ o o o ~ ~ | o 4.2.6-r4 | gentoo Thx.