1 |
On Sat, Apr 18, 2020 at 06:57:14AM +0100, Ashley Dixon wrote |
2 |
> On Fri, Apr 17, 2020 at 10:25:14PM -0400, Walter Dnes wrote: |
3 |
> > Setting up to do my monthly update <G>. There was an update to |
4 |
> > portage, so I ran it. The final stage (install) complained about a |
5 |
> > missing (python?) module named "netlink". Is this a serious problem? |
6 |
> |
7 |
> I can't immediately see why portage would require this; I have the |
8 |
> same version of you and it compiles fine without netlink. |
9 |
> Nonetheless, try emerging dev-python/netlink. |
10 |
> |
11 |
> What are your portage USE-flags ? |
12 |
|
13 |
PYTHON_TARGETS="python2_7 python3_6" |
14 |
PYTHON_SINGLE_TARGET="python3_6" |
15 |
|
16 |
Wait a minute. Looking at the error message in more detail, I see |
17 |
"/usr/lib64/python2.7/site-packages/portage/process.py" is the file |
18 |
complaining. No complaints from python 3.6. I tried turning off python |
19 |
2.7 for portage in package.use... |
20 |
|
21 |
sys-apps/portage -python_single_target_python2_7 -rsync-verify |
22 |
|
23 |
...and the portage install was short and sweet. |
24 |
|
25 |
======================================================================== |
26 |
>>> Installing (1 of 1) sys-apps/portage-2.3.89-r2::gentoo |
27 |
* Using python3.6 in global scope |
28 |
* Setting make.globals default DISTDIR="/usr/portage/distfiles" for backward compatibility |
29 |
* Setting repos.conf default location = /usr/portage for backward compatibility |
30 |
>>> Auto-cleaning packages... |
31 |
|
32 |
>>> No outdated packages were found on your system. |
33 |
|
34 |
* GNU info directory index is up-to-date |
35 |
======================================================================== |
36 |
|
37 |
After doing the update, I'll remove "python2_7" from make.conf, re-update, |
38 |
and see what breaks, and requires "python_single_target_python2_7" in |
39 |
package.use. |
40 |
|
41 |
-- |
42 |
Walter Dnes <waltdnes@××××××××.org> |
43 |
I don't run "desktop environments"; I run useful applications |