I was a dolt and killed my pkgdb

2007-08-29 Thread Jim Stapleton
I was building a couple of packages, figured I'd do it while at work. I was using portupgrade, and accidentally hit enter before typing all the package paths. I quickly ctrl-c'ed to exit, forgetting that that should not be done while pkgdb is running. Now I get this error when I try to run pkgdb:

Re: I was a dolt and killed my pkgdb

2007-08-29 Thread Garrett Cooper
Jim Stapleton wrote: I was building a couple of packages, figured I'd do it while at work. I was using portupgrade, and accidentally hit enter before typing all the package paths. I quickly ctrl-c'ed to exit, forgetting that that should not be done while pkgdb is running. Now I get this error

Re: I was a dolt and killed my pkgdb

2007-08-29 Thread Jim Stapleton
Thanks - I moved the contents of /var/db/pkgdb to ~/pkg/, and then tried to build one of the packages. That gave me a different error, and a useful one. I went and ran portdb (not to be mistaken for pkgdb), in download-index mode. I copied the ~/pkg/ back to /var/db/pkgdb/, and the problem was