Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2019 09:04:50 -0500
From:      <starikarp@dismail.de>
To:        freebsd-python@freebsd.org
Subject:   python default version
Message-ID:  <20191220090450.1fbd8fc7@dismail.de>

next in thread | raw e-mail | index | archive | help

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=3D?1 WHERE
id=3D?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=3D?1 WHERE
id=3D?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=3D?1 WHERE
id=3D?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=3D?1 WHERE
id=3D?2 in file pkgdb.c:2668: UNIQUE constraint failed: packages.name
pkg: sqlite error while executing UPDATE packages SET name=3D?1 WHERE
id=3D?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.
--=20
=E2=80=9Cgood people do not need laws to tell them to act responsibly, while
bad people will find a way around the laws=E2=80=9D=20

Plato



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191220090450.1fbd8fc7>