1 |
On 1/4/19 8:23 pm, Klaus-J. Wolf wrote: |
2 |
> Hm, my version displays a different usage help: |
3 |
> |
4 |
> #python3 /usr/lib64/portage/python3.6/glsa-check |
5 |
> No mode given: what should I do? |
6 |
> usage: glsa-check <option> [glsa-list] |
7 |
> |
8 |
> optional arguments: |
9 |
> -h, --help show this help message and exit |
10 |
> -V, --version Some information about this tool |
11 |
> -v, --verbose Print more information |
12 |
> -n, --nocolor Disable colors |
13 |
> -e, --emergelike Do not use a least-change algorithm |
14 |
> -c, --cve Show CAN ids in listing mode |
15 |
> |
16 |
> Modes: |
17 |
> -l, --list List all unapplied GLSA |
18 |
> -d, --dump Show all information about the given GLSA |
19 |
> --print Alias for --dump |
20 |
> -t, --test Test if this system is affected by the given GLSA |
21 |
> -p, --pretend Show the necessary commands to apply this GLSA |
22 |
> -f, --fix Try to auto-apply this GLSA (experimental) |
23 |
> -i, --inject inject the given GLSA into the glsa_injected file |
24 |
> -m, --mail Send a mail with the given GLSAs to the administrator |
25 |
> |
26 |
> My version belongs to portage-2.3.62. |
27 |
> |
28 |
> Are there more than one version in use? And why? |
29 |
|
30 |
|
31 |
I would guess: |
32 |
|
33 |
1. that the portage version is meant for the internal use of portage |
34 |
(hence why its "in an odd spot") and is divorced from the user package. |
35 |
|
36 |
2. gentoolkit has the user version as "equery f gentoolkit" shows a |
37 |
/usr/bin/symlink. |
38 |
|
39 |
|
40 |
rattus ~ # equery f gentoolkit|grep glsa |
41 |
/usr/bin/glsa-check |
42 |
/usr/lib/python-exec/python2.7/glsa-check |
43 |
/usr/lib/python-exec/python3.6/glsa-check |
44 |
/usr/lib64/python2.7/site-packages/gentoolkit/glsa |
45 |
/usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.py |
46 |
/usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.pyc |
47 |
/usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.pyo |
48 |
/usr/lib64/python3.6/site-packages/gentoolkit/glsa |
49 |
/usr/lib64/python3.6/site-packages/gentoolkit/glsa/__init__.py |
50 |
/usr/lib64/python3.6/site-packages/gentoolkit/glsa/__pycache__ |
51 |
/usr/lib64/python3.6/site-packages/gentoolkit/glsa/__pycache__/__init__.cpython-36.opt-1.pyc |
52 |
/usr/lib64/python3.6/site-packages/gentoolkit/glsa/__pycache__/__init__.cpython-36.opt-2.pyc |
53 |
/usr/lib64/python3.6/site-packages/gentoolkit/glsa/__pycache__/__init__.cpython-36.pyc |
54 |
/usr/share/man/man1/glsa-check.1.bz2 |
55 |
rattus ~ # |