On Wed, Feb 14, 2024 at 9:27 AM Fergus Daly via Cygwin <cygwin@cygwin.com> wrote: > > I don't think it matters much (or at all*) but while installing today's > python39 update I got: > running: .. .. \bin\bash.exe --norc --noprofile > "/etc/preremove/python39-pip.sh" > abnormal exit: exit code=2 > On inspection the .sh file contains the single command: > /usr/sbin/alternatives --remove pip3 /usr/bin/pip3.9 > This syntax with arguments and switches is duplicated frequently in > /etc/preremove/ scripts > so I cannot quite see where the problem resides .. .. > Fergus > (*) Nothing seems to be broken. >
there was a typing mistake in the code of the previous variant. The new version should be right (I hope) You should see something like $ /usr/sbin/alternatives --list 2to3 auto /usr/bin/2to3-3.9 automake-doc auto /usr/share/info/automake1.9.info.gz gnuplot auto /usr/bin/gnuplot-X11.exe pip3 auto /usr/bin/pip3.9 pydoc3 auto /usr/bin/pydoc3.9 python auto /usr/bin/python3.9 python3 auto /usr/bin/python3.9 python3-config auto /usr/bin/python3.9-config sphinx-apidoc auto /usr/bin/sphinx-apidoc-3.9 sphinx-autogen auto /usr/bin/sphinx-autogen-3.9 sphinx-build auto /usr/bin/sphinx-build-3.9 sphinx-quickstart auto /usr/bin/sphinx-quickstart-3.9 with more variant if other python's are installed $ /usr/sbin/alternatives --display pip3 pip3 - status is auto. link currently points to /usr/bin/pip3.9 /usr/bin/pip3.9 - priority 39 Current `best' version is /usr/bin/pip3.9. Regards Marco -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple