Apparently that port did something weird that corrupted the catalogue, which then caused the sqlite pkg errors.Dev said it contained "cad/curaengine debug" corrupting
Apparently that port did something weird that corrupted the catalogue, which then caused the sqlite pkg errors.Dev said it contained "cad/curaengine debug" corrupting
RCA isn't a bad thing to do.Offcourse we all have many questions but don't annoy dev unless you actively contribute.
If I understand you correctly, everything is not fine for me:Easy to find out do a pkg install PACKAGE_XXX.
Never mind what is written on screen .. cannot elaborate here.
If PACKAGE_XXX get installed everything is fine.
# pkg install tmux
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 10 MiB 10.3MB/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
Error updating repositories!
Created BUG: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292332No problem for amd64 , if problem remains for other arch enter bug in bugzilla. It will be fixed soon.
I can also confirm that this bug still persists on ARM64 if I try to fetch from ports quarterly:It looks like the issue is still there on ARM64 with FreeBSD-ports/quarterly, while FreeBSD-ports/latest seems to be fine.
I can confirm that is the case on my ARM64 systems.With latest
```
root@pigate:~ # pkg repos
FreeBSD-ports: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:aarch64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:aarch64/kmods_quarterly_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:aarch64/base_release_0",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}
root@pigate:~ #
```
```
root@pigate:~ # pkg update
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
root@pigate:~ #
```
With quarterly
```
root@wifigate:/var/db/pkg # pkg repos
FreeBSD-ports: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:aarch64/quarterly",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:aarch64/kmods_quarterly_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:aarch64/base_release_0",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}
root@wifigate:/var/db/pkg #
```
```
root@wifigate:/var/db/pkg # pkg update
Updating FreeBSD-ports repository catalogue...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 10 MiB 10.4MB/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
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Error updating repositories!
root@wifigate:/var/db/pkg #
```
Updating FreeBSD-ports repository catalogue...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 10 MiB 10.4MB/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
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Error updating repositories!
> uname -msr
FreeBSD 15.0-RELEASE arm64
14-3-RELEASE quarterly, I do not plan to switch to later or 15-RELEASE anytime soon so hopefully it should be a matter of time before things get fixed. ~ > pkg update -f
Updating FreeBSD repository catalogue...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 10 MiB 2.6MB/s 00:04
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...
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
Fetching data.pkg: 100% 16 KiB 16.9kB/s 00:01
Processing entries: 100%
FreeBSD-kmods repository update completed. 70 packages processed.
Error updating repositories!
root@freebsd:~ # uname -a
FreeBSD gshm-freebsd 15.0-RELEASE-p1 FreeBSD 15.0-RELEASE-p1 releng/15.0-n280999-7bceec30b351 GENERIC arm64
root@freebsd:~ # pkg -d update -f
Updating FreeBSD-ports repository catalogue...
DBG(1)[3785]> PkgRepo: verifying update for FreeBSD-ports
DBG(1)[3785]> Pkgrepo, begin update of '/var/db/pkg/repos/FreeBSD-ports/db'
DBG(1)[3785]> (fetch) Request to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:15:aarch64/quarterly/meta.conf
DBG(1)[3785]> (fetch) Fetch: fetcher used: pkg+https
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
DBG(1)[3785]> (fetch) Request to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:15:aarch64/quarterly/data.pkg
DBG(1)[3785]> (fetch) Fetch: fetcher used: pkg+https
Fetching data.pkg: 100% 10 MiB 10.5MB/s 00:01
DBG(1)[3785]> PkgRepo: extracting data of repo FreeBSD-ports
DBG(1)[3786]> PkgRepo: extracting signature of repo in a sandbox
DBG(1)[3785]> Pkgrepo, reading new metadata
Processing entries: 100%
FreeBSD-ports repository update completed. 35450 packages processed.
Updating FreeBSD-ports-kmods repository catalogue...
DBG(1)[3785]> PkgRepo: verifying update for FreeBSD-ports-kmods
DBG(1)[3785]> Pkgrepo, begin update of '/var/db/pkg/repos/FreeBSD-ports-kmods/db'
DBG(1)[3785]> (fetch) Request to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:15:aarch64/kmods_quarterly_0/meta.conf
DBG(1)[3785]> (fetch) Fetch: fetcher used: pkg+https
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
DBG(1)[3785]> (fetch) Request to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:15:aarch64/kmods_quarterly_0/data.pkg
DBG(1)[3785]> (fetch) Fetch: fetcher used: pkg+https
Fetching data.pkg: 100% 14 KiB 14.4kB/s 00:01
DBG(1)[3785]> PkgRepo: extracting data of repo FreeBSD-ports-kmods
DBG(1)[3788]> PkgRepo: extracting signature of repo in a sandbox
DBG(1)[3785]> Pkgrepo, reading new metadata
Processing entries: 100%
FreeBSD-ports-kmods repository update completed. 61 packages processed.
Updating FreeBSD-base repository catalogue...
DBG(1)[3785]> PkgRepo: verifying update for FreeBSD-base
DBG(1)[3785]> Pkgrepo, begin update of '/var/db/pkg/repos/FreeBSD-base/db'
DBG(1)[3785]> (fetch) Request to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:15:aarch64/base_release_0/meta.conf
DBG(1)[3785]> (fetch) Fetch: fetcher used: pkg+https
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
DBG(1)[3785]> (fetch) Request to fetch pkg+https://pkg.FreeBSD.org/FreeBSD:15:aarch64/base_release_0/data.pkg
DBG(1)[3785]> (fetch) Fetch: fetcher used: pkg+https
Fetching data.pkg: 100% 78 KiB 80.3kB/s 00:01
DBG(1)[3785]> PkgRepo: extracting data of repo FreeBSD-base
DBG(1)[3790]> PkgRepo: extracting signature of repo in a sandbox
DBG(1)[3785]> Pkgrepo, reading new metadata
Processing entries: 100%
FreeBSD-base repository update completed. 489 packages processed.
All repositories are up to date.