tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_alternatives broken?



On Fri, Oct 10, 2025 at 02:55:43PM +0100, Jonathan Perkin wrote:
> * On 2025-10-10 at 14:49 BST, Thomas Klausner wrote:
> 
> > After upgrading to Python 3.14, I wanted 'python' to be 'python3.14' -
> > it was still starting python3.13.
> > 
> > However, I can't get pkg_alternatives to switch to that. I tried both
> 
> Someone copypasta'd from python313 without updating them:
> 
>   $ cat lang/python314/ALTERNATIVES
>   bin/idle @PREFIX@/bin/idle3.13
>   bin/pydoc @PREFIX@/bin/pydoc3.13
>   bin/python @PREFIX@/bin/python3.13
>   bin/python3 @PREFIX@/bin/python3.13

Thanks, fixed.

> > Am I misunderstanding how to use this or is this a bug?
> 
> I frequently misunderstand how to use pkg_alternatives and would dearly love
> a much simpler utility without confusing "auto" vs "manual" nomenclature
> that requires reading the manual page every time I try to use it, but in
> this case it's a pkgsrc bug.

While we're wishing, I'd also like that pkg_alternatives would just
link the man pages for the commands in the same way it links the
commands, and not just make them all refer to a stub man page that
helps noone....
 Thomas


Home | Main Index | Thread Index | Old Index