Re: [SOLVED] libpkg, sqlite and database problems prevent building any packages

2013-08-07 Thread Thomas Mueller
On 07/08/2013 02:00, Thomas Mueller wrote: > At first, with sqlite3 not listed as a dependency of pkg, I wouldn't have > realized what needed fixing. > That's deliberate. If pkg(8) had to install other packages as > dependencies of itself, it would make bootstrapping pkg on a new system

Re: [SOLVED] libpkg, sqlite and database problems prevent building any packages

2013-08-06 Thread Matthew Seaman
On 07/08/2013 02:00, Thomas Mueller wrote: > At first, with sqlite3 not listed as a dependency of pkg, I wouldn't have > realized what needed fixing. That's deliberate. If pkg(8) had to install other packages as dependencies of itself, it would make bootstrapping pkg on a new system a bit diffic

[SOLVED] libpkg, sqlite and database problems prevent building any packages

2013-08-06 Thread Thomas Mueller
I solved the impasse by moving /var/db/pkg/local.sqlite to another place where it wouldn't be found, in this case /var/tmp . Then I went into $PORTSDIR/ports-mgmt/pkg and ran make deinstall install to update pkg. That produced a new, small, /var/db/pkg/local.sqlite which I renamed to local.sqli