Re: pkg problems

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 17 Dec 2025 15:31:30 UTC
On Wed 17 Dec 15:24, void wrote:
> Hi,
> 
> Getting this error:
> 
> # pkg update -f
> Updating FreeBSD-ports repository catalogue...
> Fetching meta.conf: 100%    179 B   0.2kB/s    00:01    Fetching data.pkg:
> 100%   10 MiB  11.0MB/s    00:01    Processing entries:  99%
> pkg: sqlite error while executing grmbl in file update.c:154: NOT NULL constraint failed: packages.path
> pkg: sqlite error while executing grmbl in file update.c:154: NOT NULL constraint failed: packages.path
> pkg: sqlite error while executing INSERT OR REPLACE INTO packages (origin, name, version, comment, desc, arch, maintainer, www, prefix, pkgsize, flatsize, licenselogic, cksum, path, manifestdigest, olddigest, vital)VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11, ?12, ?13, ?14, ?15, ?16, ?17) in file update.c:158: not an error
> Processing entries:  99%
> Unable to update repository FreeBSD-ports
> Error updating repositories!
> 

The dataset is corrupted for yet unknonw reason, a new dataset is being uploaded
as we speak, so in the next couple of hours it should hit the mirrors next to
you.

Sorry about that,
Best regards,
Bapt