On 07/12/2020 00:30, Neil Bothwick wrote:
Fair point, `equery u <atom>` shows both the default USE flags as well as those with which the package is installed. The latter can be stale if USE flags have been tampered with and the package has not yet been rebuilt with the new set of USE flags but otherwise it should match the state. So I always assumed that this is the case for all operations as it would make sense.On Sun, 6 Dec 2020 22:04:53 +0000, Victor Ivanov wrote:My understanding was that "equery d" gives you a list from portage, not caring about what is currently installed, where "emerge -pvc" will tell you what is preventing the removal of the package.Not so based on my understanding (i.e. the man page). As far as I can tell 'equery d' ought to only look at the installed packages unless the '--all-packages' flag is passed. Not unlike other operations (e.g. 'equery list') which also look by default only at installed packages.But does it take into account the USE flags with which those packages were installed? That used to not be the case, but I haven't used equery for a long time, for just that reason.
In any case, virtually all of equery functionality re installed packages would be rather useless if it didn't take into account the configured USE flags of said packages. The man page could also do with some more love as it's not particularly clear.
OpenPGP_signature
Description: OpenPGP digital signature