instructions for upgrading python from 311 to 312 in 20260624 UPDATING

From: void <void_at_f-m.fm>
Date: Sat, 27 Jun 2026 14:16:00 UTC
Hello

Why does this happen:

# pkg set -p -n py311-:py312-                                                       

Do you want to batch replace 'py311-' in package name with 'py312-'?[y/N]: y        

pkg: sqlite error while executing update packages set name = replace(name, 'py311-',
'py312-') where name glob '*py311-*' in file pkgdb.c:2781: UNIQUE constraint failed:
packages.name                                                                       

Why does it fail? How to fix it?

thanks
--