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 fixed.

Thanks,
-Jim Stapleton

On 8/29/07, Garrett Cooper <[EMAIL PROTECTED]> wrote:
> 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 when I try to run pkgdb:
> > [EMAIL PROTECTED] /usr/ports]# portupgrade -N editors/xemacs
> > sysutils/screen www/lynx
> > [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 9
> > packages found (-0 +9) ......... done]
> > [Gathering depends for editors/xemacs
> > ............................................................................................................................................................................................................................................................................................................
> > done]
> > [Gathering depends for sysutils/screen  done]
> > [Gathering depends for www/lynx .. done]
> >
> > It will check for dependancies for the packages I want to install, but
> > it won't actually install them.
> >
> > I've tried:
> >   pkgdb -f
> >   pkgdb -af
> >   mv /var/db/pkgdb/pkgdb.db ~; pkgdb -af
> >
> > and always end up with the same build results.
> > What is the next step?
> >
> > Thanks,
> > -Jim Stapleton
> Jim,
>     If you know what packages files were being modified at the time (the
> ones that live inside /var/db/pkg, but aren't pkgdb.db), you can zap the
> actual files with little consequence. Don't forget to revive the files
> though by either executing make package/package-recursive (the Makefile
> method), pkg_add, or portupgrade's method.
> Cheers,
> -Garrett
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to