* Package "python" removed from default package selection
[not found] <20474c54-4367-faf2-c376-45b052c766cb.ref@yahoo.de>
@ 2020-12-30 9:27 ` Michael Soegtrop
2020-12-30 9:38 ` Michael Soegtrop
0 siblings, 1 reply; 5+ messages in thread
From: Michael Soegtrop @ 2020-12-30 9:27 UTC (permalink / raw)
To: cygwin
Dear Cygwin Team,
as far as I can tell the package "python" which drags in some python and
creates a symlink like
/usr/bin/python -> python2.7.exe
has been removed recently (in the last 3 days or so) from the default
package selection. This has the effect that calls to just "python" fail.
Is this an intended change? I didn't see an announcement for this change
here.
I hope, I can easily fix this by installing the package manually ...
Bets regards,
Michael
Package selection a few days ago (with no python package explicitly
selected):
python python-2.7.18-1.tar.bz2 0
python-pip-wheel python-pip-wheel-19.2.3-1.tar.bz2 0
python-setuptools-wheel python-setuptools-wheel-41.2.0-1.tar.bz2 0
python2 python2-2.7.18-2.tar.bz2 0
python27 python27-2.7.18-2.tar.bz2 0
python27-pip python27-pip-20.2.2-1.tar.bz2 0
python27-setuptools python27-setuptools-41.2.0-1.tar.bz2 0
python3 python3-3.8.6-1.tar.bz2 0
python36 python36-3.6.10-1.tar.bz2 0
python38 python38-3.8.3-1.tar.bz2 0
Package selection today:
python-pip-wheel python-pip-wheel-19.2.3-1.tar.bz2 0
python-setuptools-wheel python-setuptools-wheel-41.2.0-1.tar.bz2 0
python2 python2-2.7.18-1.tar.bz2 0
python27 python27-2.7.18-1.tar.bz2 0
python3 python3-3.6.8-1.tar.bz2 0
python36 python36-3.6.10-1.tar.bz2 0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package "python" removed from default package selection
2020-12-30 9:27 ` Package "python" removed from default package selection Michael Soegtrop
@ 2020-12-30 9:38 ` Michael Soegtrop
2020-12-30 11:39 ` Marco Atzeri
0 siblings, 1 reply; 5+ messages in thread
From: Michael Soegtrop @ 2020-12-30 9:38 UTC (permalink / raw)
To: cygwin
Dear Cygwin Team,
sorry - I was too quick. Actually the packages are the other way around:
New is:
python python-2.7.18-1.tar.bz2 0
python-pip-wheel python-pip-wheel-19.2.3-1.tar.bz2 0
python-setuptools-wheel python-setuptools-wheel-41.2.0-1.tar.bz2 0
python2 python2-2.7.18-2.tar.bz2 0
python27 python27-2.7.18-2.tar.bz2 0
python27-pip python27-pip-20.2.2-1.tar.bz2 0
python27-setuptools python27-setuptools-41.2.0-1.tar.bz2 0
python3 python3-3.8.6-1.tar.bz2 0
python36 python36-3.6.10-1.tar.bz2 0
python38 python38-3.8.3-1.tar.bz2 0
$ which python
which: no python in
(/build/bin_special:/usr/local/bin:/usr/bin:/usr/x86_64-w64-mingw32/sys-root/mingw/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/usr/i686-pc-cygwin/sys-root/usr/bin)
Old is:
python-pip-wheel python-pip-wheel-19.2.3-1.tar.bz2 0
python-setuptools-wheel python-setuptools-wheel-41.2.0-1.tar.bz2 0
python2 python2-2.7.18-1.tar.bz2 0
python27 python27-2.7.18-1.tar.bz2 0
python3 python3-3.6.8-1.tar.bz2 0
python36 python36-3.6.10-1.tar.bz2 0
$ which python
/usr/bin/python
So I don't see an easy fix for this - short of creating the symlink
manually.
Best regards,
Michael
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package "python" removed from default package selection
2020-12-30 9:38 ` Michael Soegtrop
@ 2020-12-30 11:39 ` Marco Atzeri
2020-12-30 15:44 ` Henry S. Thompson
[not found] ` <39e2d355-8fb3-484e-5989-36c4efe8354b@Michael-Soegtrop.de>
0 siblings, 2 replies; 5+ messages in thread
From: Marco Atzeri @ 2020-12-30 11:39 UTC (permalink / raw)
To: cygwin
On 30.12.2020 10:38, Michael Soegtrop via Cygwin wrote:
> Dear Cygwin Team,
>
> sorry - I was too quick. Actually the packages are the other way around:
>
> New is:
>
> python python-2.7.18-1.tar.bz2 0
> python-pip-wheel python-pip-wheel-19.2.3-1.tar.bz2 0
> python-setuptools-wheel python-setuptools-wheel-41.2.0-1.tar.bz2 0
> python2 python2-2.7.18-2.tar.bz2 0
> python27 python27-2.7.18-2.tar.bz2 0
> python27-pip python27-pip-20.2.2-1.tar.bz2 0
> python27-setuptools python27-setuptools-41.2.0-1.tar.bz2 0
> python3 python3-3.8.6-1.tar.bz2 0
> python36 python36-3.6.10-1.tar.bz2 0
> python38 python38-3.8.3-1.tar.bz2 0
>
> $ which python
> which: no python in
> (/build/bin_special:/usr/local/bin:/usr/bin:/usr/x86_64-w64-mingw32/sys-root/mingw/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/usr/i686-pc-cygwin/sys-root/usr/bin)
>
>
strange, python27-2.7.18-2 postinstall script should have set
/usr/bin/python.
Same for the test packages
python36 3.6.12-2
python37 3.7.9-2
python38 3.8.6-2
$ which python
/usr/bin/python
$ ls -l /usr/bin/python
lrwxrwxrwx 1 Marco Administratoren 24 Dec 28 21:29 /usr/bin/python ->
/etc/alternatives/python
$ alternatives --display python
python - status is auto.
link currently points to /usr/bin/python3.8
/usr/bin/python2.7 - priority 27
/usr/bin/python3.8 - priority 38
/usr/bin/python3.6 - priority 36
/usr/bin/python3.7 - priority 37
Current `best' version is /usr/bin/python3.8.
can you try the test packages ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package "python" removed from default package selection
2020-12-30 11:39 ` Marco Atzeri
@ 2020-12-30 15:44 ` Henry S. Thompson
[not found] ` <39e2d355-8fb3-484e-5989-36c4efe8354b@Michael-Soegtrop.de>
1 sibling, 0 replies; 5+ messages in thread
From: Henry S. Thompson @ 2020-12-30 15:44 UTC (permalink / raw)
To: Marco Atzeri; +Cc: cygwin
Marco Atzeri via Cygwin writes:
> strange, python27-2.7.18-2 postinstall script should have set
> /usr/bin/python.
Neither python27-2.7.18-1 or -2 have any postinstall script.
The change from -1 to -2 that causes python as such to disappear (which
I can confirm) is the loss of welded-in links:
> tar -tvf python2-2.7.18-1.tar.xz
lrwxrwxrwx Marco/Kein 0 2020-05-23 11:05 usr/bin/pydoc -> pydoc2.7
lrwxrwxrwx Marco/Kein 0 2020-05-23 11:05 usr/bin/pydoc2 -> pydoc2.7
lrwxrwxrwx Marco/Kein 0 2020-05-23 11:05 usr/bin/python -> python2.7.exe
lrwxrwxrwx Marco/Kein 0 2020-05-23 11:05 usr/bin/python2 -> python2.7.exe
-rw-rw-r-- Marco/Kein 45 2020-05-23 11:05 usr/share/man/man1/python.1.gz
-rw-rw-r-- Marco/Kein 46 2020-05-23 11:05 usr/share/man/man1/python2.1.gz
> tar -tvf python2-2..tar.xz
lrwxrwxrwx Marco/Kein 0 2020-12-28 08:57 usr/bin/pydoc2 -> pydoc2.7
lrwxrwxrwx Marco/Kein 0 2020-12-28 08:57 usr/bin/python2 -> python2.7.exe
-rw-rw-r-- Marco/Kein 46 2020-12-28 08:57 usr/share/man/man1/python2.1.gz
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Package "python" removed from default package selection
[not found] ` <a1da8331-8784-37b7-b5da-19cd1fc9e6c7@yahoo.de>
@ 2020-12-30 17:56 ` Marco Atzeri
0 siblings, 0 replies; 5+ messages in thread
From: Marco Atzeri @ 2020-12-30 17:56 UTC (permalink / raw)
To: Michael Soegtrop; +Cc: cygwin
back in the mailinglist
On 30.12.2020 13:55, Michael Soegtrop wrote:
> Hi Marco,
>
> I have
>
> $ alternatives --display python
> bash: alternatives: command not found
>
> Can it be that the latest changes assume that "alternatives" is
> installed, but that this is not part of the default package set (python
> is).
>
> I will try the python3 packages later today.
>
> Best regards,
>
> Michael
my fault.
The postinstall scripts is in the wrong place
I will upload a a test version -3 shortly for python2(7)
Regards
Marco
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-30 17:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20474c54-4367-faf2-c376-45b052c766cb.ref@yahoo.de>
2020-12-30 9:27 ` Package "python" removed from default package selection Michael Soegtrop
2020-12-30 9:38 ` Michael Soegtrop
2020-12-30 11:39 ` Marco Atzeri
2020-12-30 15:44 ` Henry S. Thompson
[not found] ` <39e2d355-8fb3-484e-5989-36c4efe8354b@Michael-Soegtrop.de>
[not found] ` <a1da8331-8784-37b7-b5da-19cd1fc9e6c7@yahoo.de>
2020-12-30 17:56 ` Marco Atzeri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).