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

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

2013-08-05 Thread Jeffrey Bouquet
ubject: Re: libpkg, sqlite and database problems prevent building any packages On 05/08/2013 14:30, Thomas Mueller wrote: > I could see my pkg client is out of date, but how do I update it? > > Attempts to update all gave me those error messages.  Installation fails. Matthew Seaman respond

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

2013-08-05 Thread Thomas Mueller
On 05/08/2013 14:30, Thomas Mueller wrote: > I could see my pkg client is out of date, but how do I update it? > > Attempts to update all gave me those error messages. Installation fails. Matthew Seaman responded: > Your package database has got into an inconsistent state. pkg(8) is > attemptin

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

2013-08-05 Thread Matthew Seaman
On 05/08/2013 15:24, Kimmo Paasiala wrote: > Ok this is then different problem than what I saw when I reverted back > from pkg-devel to pkg, the error message was the same though. Yeah -- we don't really have any support for down-reving the schema in local.sqlite at the moment, so going from pkg-d

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

2013-08-05 Thread Kimmo Paasiala
On Mon, Aug 5, 2013 at 5:03 PM, Matthew Seaman wrote: > On 05/08/2013 14:30, Thomas Mueller wrote: >> I could see my pkg client is out of date, but how do I update it? >> >> Attempts to update all gave me those error messages. Installation fails. > > Your package database has got into an inconsis

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

2013-08-05 Thread Matthew Seaman
On 05/08/2013 14:30, Thomas Mueller wrote: > I could see my pkg client is out of date, but how do I update it? > > Attempts to update all gave me those error messages. Installation fails. > Your package database has got into an inconsistent state. pkg(8) is attempting to auto-update th

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

2013-08-05 Thread Thomas Mueller
> > I know there was a major change in database format when subversion was > > updated in ports from 1.7 to 1.8, but would this cause the problems that are > > driving me crazy? There ought to be a way to resolve this, but I can't see > > what to do, everything I try leads to the same error mess

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

2013-08-05 Thread Kimmo Paasiala
On Mon, Aug 5, 2013 at 1:42 PM, Thomas Mueller wrote: > I have smaller FreeBSD 9.1-STABLE and 9.2-BETA2 installations that I update > less frequently than the main hard-drive installation. > > On the USB-stick installations, I find I can't upgrade or build any ports > because of a database mess.

libpkg, sqlite and database problems prevent building any packages

2013-08-05 Thread Thomas Mueller
I have smaller FreeBSD 9.1-STABLE and 9.2-BETA2 installations that I update less frequently than the main hard-drive installation. On the USB-stick installations, I find I can't upgrade or build any ports because of a database mess. I get error messages mentioning sqlite even for packages that