Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2007 06:47:49 -0400
From:      "Jim Stapleton" <stapleton.41@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   I was a dolt and killed my pkgdb
Message-ID:  <80f4f2b20708290347g233f6e8ds4c27733b8c8723bc@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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:
[root@bombadil /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



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