Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.6
Date: Wed, 20 Jan 2021 05:20:54
Message-Id: YAe9rMp+HRO1Fauo@waltdnes.org
1 I just did an update, and ran "etc-update". I got...
2
3 =========================================================================
4 [i3][root][~] etc-update
5 python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.6
6 Scanning Configuration files...
7 Automerging trivial changes in: /etc/cups/cups-browsed.conf
8 Automerging trivial changes in: /etc/ssh/ssh_config
9 The following is the list of files which need updating, each
10 configuration file is followed by a list of possible replacement files.
11 1) /etc/mke2fs.conf (1)
12 2) /etc/sudo.conf (1)
13 3) /etc/ImageMagick-7/policy.xml (1)
14 4) /etc/mc/filehighlight.ini (1)
15 5) /etc/mc/mc.default.keymap (1)
16 6) /etc/mc/mc.emacs.keymap (1)
17 7) /etc/mc/mc.ext (1)
18 8) /etc/ssh/moduli (1)
19 9) /etc/ssl/misc/tsget.pl (1)
20 Please select a file to edit by entering the corresponding number.
21 (don't use -3, -5, -7 or -9 if you're unsure what to do)
22 (-1 to exit) (-3 to auto merge all files)
23 (-5 to auto-merge AND not use 'mv -i')
24 (-7 to discard all updates)
25 (-9 to discard all updates AND not use 'rm -i'):
26 =========================================================================
27
28 I selected "-5" and it worked. /etc/python-exec/python-exec.conf
29 consists of a bunch of comments, and 2 uncommented lines...
30
31 python3.8
32 python3.6
33
34 The comments mention that...
35 # Note: this file can be modified by calls to 'eselect python'.
36 So I did...
37
38 ======================================================
39 [i3][root][~] eselect python list
40 Available Python interpreters, in order of preference:
41 [1] python3.8
42 [2] python3.6 (uninstalled)
43 [3] python3.9 (fallback)
44
45 [i3][root][~] eselect python set 1
46
47 [i3][root][~] eselect python list
48 Available Python interpreters, in order of preference:
49 [1] python3.8
50 [2] python3.6 (uninstalled)
51 [3] python3.9 (fallback)
52 ======================================================
53
54 grep -v ^# /etc/python-exec/python-exec.conf
55
56 ...still shows 2 lines...
57
58 python3.8
59 python3.6
60
61 ...No change at all. Now what? Should I manually edit
62 /etc/python-exec/python-exec.conf and remove "python3.6"?
63
64 --
65 Walter Dnes <waltdnes@××××××××.org>
66 I don't run "desktop environments"; I run useful applications

Replies