Re:_pkg:_sqlite_error_while_executing_UPDATE_packages_ …_pkgdb.c:2648:_UNIQUE_constraint_failed:_packages.name

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Tue, 28 Jun 2022 04:10:44 UTC
Hello.

Graham Perrin wrote on 2022/06/28 04:59:
> pkg: sqlite error while executing UPDATE packages SET name='py39-setuptools' WHERE id=44784 in file pkgdb.c:2648: UNIQUE constraint failed: packages.name
> pkg: sqlite error while executing UPDATE packages SET name='py39-sqlite3' WHERE id=45711 in file pkgdb.c:2648: UNIQUE constraint failed: packages.name

These are python ports with USE_PYTHON=allflavors (or installed with BUILD_ALL_PYTHON_FLAVORS defined).
The error is that a port with the same name is already installed by the USES=python:3.9 port, so it cannot be duplicated.

Can anyone provide a more detailed explanation from this cause? :)

Regards.