while updating repos, pkg: sqlite error while executing grmbl in file update.c:154: NOT NULL constraint failed: packages.path
similar to #2575 Full error:
# pkg update
Updating FreeBSD repository catalogue...
Fetching data.pkg: 100% 10 MiB 3.6MB/s 00:03
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
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
Error updating repositories!
Release: FreeBSD 14.3-RELEASE-p7 GENERIC amd64 Using pkg quarterly
Tried the following, but same error persists:
# rm -f /var/db/pkg/repo-FreeBSD.sqlite
# pkg update -f
# rm -rf /var/db/pkg/*
# pkg update -f
# pkg bootstrap -f
# pkg update -f
I just hit the same bug, though on 15.0-RELEASE-p1 amd64 w/ quarterly:
Log with -ddd: https://gist.githubusercontent.com/herrhotzenplotz/2f43e4144893b638919da2d0dc1ed3df/raw/593ac5757ffacc8271b26f242a060c5356ce131c/log.txt
Ditto here... Same issue with same conditions with "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly" - works ok with pkg+https://pkg.FreeBSD.org/${ABI}/latest
Same here, running on 15.0-RELEASE-p1 with quarterly.
Also having this issue, yay
the repos have been rebuilt and fixed.
As far as I can see, this is still happening on FreeBSD:15:aarch64/quarterly. Are those repos also being rebuilt? Works on latest though.
yes this is being rebuild
Thanks for jumping on this. Nice work.