Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2014 15:30:36 +0200
From:      Michael Gmelin <grembo@freebsd.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: pkg-static: sqlite error while executing INSERT OR REPLACE INTO packages
Message-ID:  <30A9F813-1DE0-431D-9D7E-E6C98C77818A@freebsd.org>
In-Reply-To: <20140802151750.3deddd5f.ohartman@zedat.fu-berlin.de>
References:  <20140802151750.3deddd5f.ohartman@zedat.fu-berlin.de>

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


> On 02 Aug 2014, at 15:17, "O. Hartmann" <ohartman@zedat.fu-berlin.de> wrot=
e:
>=20
>=20
>=20
> Update of port windowmaker fails during registration with pkg:
>=20
>=20
> =3D=3D=3D>  Installing for windowmaker-0.95.5_4
> =3D=3D=3D>   Registering installation for windowmaker-0.95.5_4
> pkg-static: sqlite error while executing INSERT OR REPLACE INTO packages( o=
rigin, name,
> version, comment, desc, message, arch, maintainer, www, prefix, flatsize, a=
utomatic,
> licenselogic, mtree_id, time, manifestdigest)
> VALUES( ?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11, ?12, ?13, (SELECT id=
 FROM mtree
> WHERE content =3D ?14), NOW(), ?15) in file pkgdb.c:1595: FOREIGN KEY cons=
traint failed ***
> Error code 70
>=20
> Box is running CURRENT and uptodate ports tree:
>=20
>=20
> FreeBSD 11.0-CURRENT #1 r269391: Fri Aug  1 21:02:11 CEST 2014 =20
>=20
> How to repair this? Seems strange ...
>=20
> Please CC me.
>=20
> Oliver

Which version of pkg? I had a similar issue on 1.3.3 that disappeared after u=
pdating to 1.3.4.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30A9F813-1DE0-431D-9D7E-E6C98C77818A>