Summary: | ports-mgmt/pkg unable to open database file when run from a non-existent dir | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Zsolt Udvari <uzsolt> |
Component: | Individual Port(s) | Assignee: | freebsd-pkg (Nobody) <pkg> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | cem, chris, freebsd, herbert, nomoo, ports.maintainer, swills, w.schwarzenfeld |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Zsolt Udvari
![]() ![]() I often see this error updating ports with portmaster: # pwd /root # portmaster security/ca_root_nss [...] pkg: sqlite error while executing sqlite open in file pkgdb.c:1126: unable to open database file If I remove pkg-message from SUB_FILES (security/ca_root_nss/Makefile) the error is gone. After more testing I think the error does not appear on 12.0-CURRENT (pkg) and 11-RELEASE/STABLE (pkg-devel). I see this error message when running "portmaster -a" on 11.1-RELEASE, right at the end of the process. I can confirm I've experienced this error too and agree the error message is misleading at best. The error seems unnecessary. See this github issue: https://github.com/freebsd/pkg/issues/1552 |