Gentoo Archives: gentoo-dev

From: Michael Palimaka <kensington@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: News item review: python-exec 2.3 reclaims python* symlinks
Date: Sat, 21 Jan 2017 14:11:25
Message-Id: d44a35c6-68e1-75de-c027-c83c7a2cae05@gentoo.org
In Reply to: [gentoo-dev] News item review: python-exec 2.3 reclaims python* symlinks by "Michał Górny"
1 On 21/01/17 20:49, Michał Górny wrote:
2 > Please review the following news item. It was requested by users.
3 > Preferably I'd like to commit it today.
4 >
5 > --
6 >
7 > Title: python-exec 2.3 reclaims python* symlinks
8 > Author: Michał Górny <mgorny@g.o>
9 > Content-Type: text/plain
10 > Posted: 2017-01-21
11 > Revision: 1
12 > News-Item-Format: 1.0
13 > Display-If-Installed: <app-eselect/eselect-python-20160206
14 > Display-If-Installed: <dev-lang/python-exec-2.3
15 >
16 > The new versions of python-exec (2.3 and newer) are reclaiming multiple
17 > Python-related symlinks in /usr/bin, most notably /usr/bin/python*. This
18 > may result in your package manager reporting file collisions.
19 >
20 > The respective symlinks were previously either unowned and created
21 > dynamically by app-eselect/eselect-python, or installed by it. From now
22 > on, all Python-related symlinks are installed and handled
23 > by python-exec. This ensures that they respect the python-exec
24 > configuration files and variables consistently with regular Python
25 > packages, and improves their reliability.
26 >
27 > If you are using FEATURES=collision-protect, Portage will reject
28 > the upgrade. If this is the case, please temporarily switch to
29 > FEATURES=protect-owned for the upgrade.
30 >
31 > If you are using FEATURES=protect-owned, Portage will verbosely warn
32 > about the file collisions but will proceed with the upgrade once
33 > determining no replaced files are owned. Please disregard the warning.
34 >
35 > The potentially colliding files are:
36 >
37 > * /usr/bin/2to3
38 > * /usr/bin/pydoc
39 > * /usr/bin/python
40 > * /usr/bin/python2
41 > * /usr/bin/python3
42 > * /usr/bin/python-config
43 >
44 > For more information on python-exec, please see:
45 > https://wiki.gentoo.org/wiki/Project:Python/python-exec
46 >
47 >
48
49 Thanks for writing this, looks good.