From: https://bugs.gentoo.org/show_bug.cgi?id=565980 Note, read the previous bug report can help to understand this. 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.
Most likely because you specified a specific version in package.{,accept_}keywords. Please verify what you have in package.keywords and/or package.accept_keywords for sys-kernel/vanilla-sources.
the vanilla-sources its only an example, this happend with all packages when portage install a slot, and then the slot is removed from portage tree.
here other: 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 4.2.5-r1 and 4.2.6-r3 was removed from portage tree, in this example are the 2 ghost packages, and the keywords: kernel:=sys-kernel/hardened-sources-4.2* ~amd64
Please show the output of `emerge -pvc =sys-kernel/hardened-sources-4.2.5-r1` and `emerge -pc`. (If the last one is large, please attach it instead of listing as a comment)
emerge -pvc =sys-kernel/hardened-sources-4.2.5-r1 Calculating dependencies... done! >>> Calculating removal order... >>> These are the packages that would be unmerged: sys-kernel/hardened-sources selected: 4.2.5-r1 protected: none omitted: 4.1.7-r1 4.2.6-r3 4.2.6-r4 All selected packages: =sys-kernel/hardened-sources-4.2.5-r1 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Packages installed: 2354 Packages in world: 156 Packages in system: 48 Required packages: 2353 Number to remove: 1
Created attachment 417378 [details] emerge -pc
Tecnically portage most hold the packages when some package request that version or slot even if the ebuild was removed (in this case most be good idea do a warning), but in this example don't are requested D:
*** This bug has been marked as a duplicate of bug 472208 ***