* [gentoo-user] portage install complains about missing "netlink" module
@ 2020-04-18 2:25 Walter Dnes
2020-04-18 5:57 ` Ashley Dixon
0 siblings, 1 reply; 3+ messages in thread
From: Walter Dnes @ 2020-04-18 2:25 UTC (permalink / raw
To: Gentoo Users List
Setting up to do my monthly update <G>. There was an update to
portage, so I ran it. The final stage (install) complained about a
missing (python?) module named "netlink". Is this a serious problem?
=====================================================================
>>> Installing (1 of 1) sys-apps/portage-2.3.89-r2::gentoo
* Using python3.6 in global scope
* Setting make.globals default DISTDIR="/usr/portage/distfiles" for backward compatibility
* Setting repos.conf default location = /usr/portage for backward compatibility
No module named netlink:
/bin/bash -c /var/tmp/portage/._portage_reinstall_.mK3Oa6/bin/ebuild.sh clean
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/portage/process.py", line 382, in spawn
File "/usr/lib64/python2.7/site-packages/portage/process.py", line 707, in _exec
File "/usr/lib64/python2.7/site-packages/portage/process.py", line 506, in _configure_loopback_interface
ImportError: No module named netlink
No module named netlink:
/bin/bash -c /var/tmp/portage/._portage_reinstall_.mK3Oa6/bin/ebuild.sh clean
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/portage/process.py", line 382, in spawn
File "/usr/lib64/python2.7/site-packages/portage/process.py", line 707, in _exec
File "/usr/lib64/python2.7/site-packages/portage/process.py", line 506, in _configure_loopback_interface
ImportError: No module named netlink
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] portage install complains about missing "netlink" module
2020-04-18 2:25 [gentoo-user] portage install complains about missing "netlink" module Walter Dnes
@ 2020-04-18 5:57 ` Ashley Dixon
2020-04-18 9:15 ` [gentoo-user] [SOLVED] " Walter Dnes
0 siblings, 1 reply; 3+ messages in thread
From: Ashley Dixon @ 2020-04-18 5:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]
On Fri, Apr 17, 2020 at 10:25:14PM -0400, Walter Dnes wrote:
> Setting up to do my monthly update <G>. There was an update to
> portage, so I ran it. The final stage (install) complained about a
> missing (python?) module named "netlink". Is this a serious problem?
I can't immediately see why portage would require this; I have the same version
of you and it compiles fine without netlink. Nonetheless, try emerging
dev-python/netlink.
What are your portage USE-flags ?
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] [SOLVED] portage install complains about missing "netlink" module
2020-04-18 5:57 ` Ashley Dixon
@ 2020-04-18 9:15 ` Walter Dnes
0 siblings, 0 replies; 3+ messages in thread
From: Walter Dnes @ 2020-04-18 9:15 UTC (permalink / raw
To: gentoo-user
On Sat, Apr 18, 2020 at 06:57:14AM +0100, Ashley Dixon wrote
> On Fri, Apr 17, 2020 at 10:25:14PM -0400, Walter Dnes wrote:
> > Setting up to do my monthly update <G>. There was an update to
> > portage, so I ran it. The final stage (install) complained about a
> > missing (python?) module named "netlink". Is this a serious problem?
>
> I can't immediately see why portage would require this; I have the
> same version of you and it compiles fine without netlink.
> Nonetheless, try emerging dev-python/netlink.
>
> What are your portage USE-flags ?
PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"
Wait a minute. Looking at the error message in more detail, I see
"/usr/lib64/python2.7/site-packages/portage/process.py" is the file
complaining. No complaints from python 3.6. I tried turning off python
2.7 for portage in package.use...
sys-apps/portage -python_single_target_python2_7 -rsync-verify
...and the portage install was short and sweet.
========================================================================
>>> Installing (1 of 1) sys-apps/portage-2.3.89-r2::gentoo
* Using python3.6 in global scope
* Setting make.globals default DISTDIR="/usr/portage/distfiles" for backward compatibility
* Setting repos.conf default location = /usr/portage for backward compatibility
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date
========================================================================
After doing the update, I'll remove "python2_7" from make.conf, re-update,
and see what breaks, and requires "python_single_target_python2_7" in
package.use.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-18 9:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-18 2:25 [gentoo-user] portage install complains about missing "netlink" module Walter Dnes
2020-04-18 5:57 ` Ashley Dixon
2020-04-18 9:15 ` [gentoo-user] [SOLVED] " Walter Dnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox