https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220114

            Bug ID: 220114
           Summary: pkg unable to open database file when run from a
                    non-existent dir
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

$ mkdir ~/pkg_tmp
$ cd ~/pkg_tmp
$ rmdir ~/pkg_tmp
$ pwd
pwd: .: No such file or directory
$ pkg info
pkg: sqlite error while executing sqlite open in file pkgdb.c:1126: unable to
open database file
$ pkg -v
1.10.1

I saw this message when I 'cd' into a directory which is owned by package "foo"
(I don't remember which package but I think it's irrelevant) and some minutes
later I wanted to remove "foo".
I think the error message is deceptive (I could handle the package database
with sqlite and didn't understand why pkg can't access it).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to