app-portage/portpeek-2.1.27 says that an installed package is not installed. This is in the package.accept_keywords section of the output, for a package for which a revision (-r1) is installed and for which in an atom starting with a tilde is present. Reproducible: Always Steps to Reproduce: 1. portpeek -qa Actual Results: Excerpt from output: ~sci-libs/gsl-2.5: Not Installed : /etc/portage/package.accept_keywords/newblaslapack Installed: ~sci-libs/gsl-2.5 Keywords ['~amd64'] Expected Results: Installed: ~sci-libs/gsl-2.5 Keywords ['~amd64'] # eix -I gsl [I] sci-libs/gsl Available versions: 1.16 ~2.4(0/23) 2.5(0/23) (~)2.5-r1(0/23) {cblas-external +deprecated static-libs} Installed versions: 2.5-r1(0/23)(12:59:50 10-07-19)(deprecated -cblas-external -static-libs) Homepage: https://www.gnu.org/software/gsl/ Description: The GNU Scientific Library # grep -r gsl /etc/portage/package.accept_keywords/ /etc/portage/package.accept_keywords/newblaslapack:~sci-libs/gsl-2.5
Ok, the bug was that portpeek should have ignored the line since 't' (handle tilde) was not indicated in the command line parameters. I'm going to push out a version today that addresses that. $ cat /etc/portage/package_accept.keywords ~sci-libs/gsl-2.5 $ portpeek -qa < empty > $ portpeek -qat package.accept_keywords: sci-libs/gsl-2.5 has no masked versions : /etc/portage/package.accept_keywords/default package.unmask: package.mask: package.use: Remove entries from files [y/n] Removing from: /etc/portage/package.accept_keywords/default: ~sci-libs/gsl-2.5
commit c479f99ede8a49914cb0b2411bfed094c340e4e4 (HEAD -> master, origin/master, origin/HEAD) Author: Mike Pagano <mpagano@gentoo.org> Date: Wed May 20 14:31:09 2020 -0400 app-portage/portpeek: ignore tilde package when cmd not specified Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Mike Pagano <mpagano@gentoo.org>