Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2022 13:10:44 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Graham Perrin <grahamperrin@gmail.com>, freebsd-pkg@freebsd.org, freebsd-ports@freebsd.org
Subject:   =?UTF-8?Q?Re:_pkg:_sqlite_error_while_executing_UPDATE_packages_?= =?UTF-8?Q?=e2=80=a6_pkgdb.c:2648:_UNIQUE_constraint_failed:_packages.name?=
Message-ID:  <PSAPR03MB5639D69365321CF59B25293EFAB89@PSAPR03MB5639.apcprd03.prod.outlook.com>
In-Reply-To: <14b7dabc-7390-9e16-1de2-d72e2ba23510@freebsd.org>
References:  <14b7dabc-7390-9e16-1de2-d72e2ba23510@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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