On 1/4/19 8:23 pm, Klaus-J. Wolf wrote: > Hm, my version displays a different usage help: > > #python3 /usr/lib64/portage/python3.6/glsa-check > No mode given: what should I do? > usage: glsa-check <option> [glsa-list] > > optional arguments: > -h, --help show this help message and exit > -V, --version Some information about this tool > -v, --verbose Print more information > -n, --nocolor Disable colors > -e, --emergelike Do not use a least-change algorithm > -c, --cve Show CAN ids in listing mode > > Modes: > -l, --list List all unapplied GLSA > -d, --dump Show all information about the given GLSA > --print Alias for --dump > -t, --test Test if this system is affected by the given GLSA > -p, --pretend Show the necessary commands to apply this GLSA > -f, --fix Try to auto-apply this GLSA (experimental) > -i, --inject inject the given GLSA into the glsa_injected file > -m, --mail Send a mail with the given GLSAs to the administrator > > My version belongs to portage-2.3.62. > > Are there more than one version in use? And why?
I would guess: 1. that the portage version is meant for the internal use of portage (hence why its "in an odd spot") and is divorced from the user package. 2. gentoolkit has the user version as "equery f gentoolkit" shows a /usr/bin/symlink. rattus ~ # equery f gentoolkit|grep glsa /usr/bin/glsa-check /usr/lib/python-exec/python2.7/glsa-check /usr/lib/python-exec/python3.6/glsa-check /usr/lib64/python2.7/site-packages/gentoolkit/glsa /usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.py /usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.pyc /usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.pyo /usr/lib64/python3.6/site-packages/gentoolkit/glsa /usr/lib64/python3.6/site-packages/gentoolkit/glsa/__init__.py /usr/lib64/python3.6/site-packages/gentoolkit/glsa/__pycache__ /usr/lib64/python3.6/site-packages/gentoolkit/glsa/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/gentoolkit/glsa/__pycache__/__init__.cpython-36.opt-2.pyc /usr/lib64/python3.6/site-packages/gentoolkit/glsa/__pycache__/__init__.cpython-36.pyc /usr/share/man/man1/glsa-check.1.bz2 rattus ~ #