python default version

starikarp at dismail.de starikarp at dismail.de
Fri Dec 20 14:04:58 UTC 2019


Hi!

I am using FreeBSD 12.1-RELEASE-p1 (amd64) and Python default version
is 3.7.
I did follow "how to' from /etc/ports/UPDATING (for i in $(pkg query -g
%n 'py36-*'); do pkg set -yn ${i}:py37-${i#py36-}; done}

but I got:
pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE
id=?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE
id=?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE
id=?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE
id=?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE
id=?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name

I have some files for py36 an py27 on. And I am using ports and
portmaster.

How should update ports correct to use the default Python version.

Thank you.
-- 
“good people do not need laws to tell them to act responsibly, while
bad people will find a way around the laws” 

Plato


More information about the freebsd-python mailing list