1 |
On Sun, 3 May 2020 08:37:27 -0400 |
2 |
Brian Evans <grknight@g.o> wrote: |
3 |
|
4 |
> On 5/3/20 2:58 AM, Fabian Groffen wrote: |
5 |
> > On 02-05-2020 23:24:42 -0700, Brian Dolbec wrote: |
6 |
> >> On Sun, 3 May 2020 07:28:50 +0200 |
7 |
> >> Viktar Patotski <xp.vit.blr@×××××.com> wrote: |
8 |
> >> |
9 |
> >>> Hi all, |
10 |
> >>> |
11 |
> >>> I'd also like to clean my system and have it Python 2.7 free. Are |
12 |
> >>> there any guidelines to check which packages are still using |
13 |
> >>> pyton2_7 in my system? |
14 |
> >>> |
15 |
> >>> Thanks, |
16 |
> >>> Viktar |
17 |
> >>> |
18 |
> >> |
19 |
> >> There are both equery and enalyze commands in gentoolkit that can |
20 |
> >> give you reports about what pkgs are installed. |
21 |
> >> |
22 |
> >> equery hasuse |
23 |
> >> enalyze analyze [use|pkguse] |
24 |
> >> |
25 |
> >> for help on them: |
26 |
> >> equery -h |
27 |
> >> equery hasuse -h |
28 |
> >> enalyze -h |
29 |
> >> enalyze a -h |
30 |
> > |
31 |
> > In addition to these great tools, portage-utils' quse might also be |
32 |
> > useful: |
33 |
> > |
34 |
> > % quse python2_7 |
35 |
> > ... |
36 |
> > |
37 |
> > |
38 |
> > Thanks, |
39 |
> > Fabian |
40 |
> > |
41 |
> |
42 |
> All of the mentioned tools will show if packages have the flag but not |
43 |
> necessarily have it active. |
44 |
|
45 |
Not True: |
46 |
|
47 |
enalyze does strictly installed pkgs analysis, plus has the |
48 |
ability to rebuild package.accept_keywords and package.use files after |
49 |
profile changes or disaster (file loss, etc) |
50 |
|
51 |
|
52 |
|
53 |
|
54 |
> |
55 |
> eix has an option to search the active flag: |
56 |
> |
57 |
> eix --installed-with-use <flag> |
58 |
> |
59 |
> However, this still skips build-time dependencies that may keep python |
60 |
> 2.7 around. |
61 |
> |
62 |
> The most accurate way to see what's tied to python 2.7 is to pretend |
63 |
> to remove it: |
64 |
> emerge -pvc dev-lang/python:2.7 |
65 |
> |
66 |
> Brian |
67 |
> |