Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2017 16:43:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220114] pkg unable to open database file when run from a non-existent dir
Message-ID:  <bug-220114-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220114

            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: freebsd-bugs@FreeBSD.org
          Reporter: uzsolt@uzsolt.hu

$ 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 minut=
es
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).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220114-8>