Pkg_info corrupt for some packages

Andrew Pantyukhin infofarmer at
Fri Apr 18 10:34:32 UTC 2008

On Mon, Apr 14, 2008 at 10:47:01PM +0200, Aijaz Baig wrote:
> Hello,
> I tried running the script suggested by mel and after that I was able to see
> that some of those packages got registered as installed.
> However some of the packages were not being found and as an example I saw
> the following:
> Restoring doodle-0.6.6_1
> Failed: cannot find doodle-0.6.6_1 in /usr/ports/INDEX-7*
> *Then as suggested by andrew I tried to see just how many packages have been
> messed and to my shock the figure for the first command was 336 and for the
> second command was 326.
> do I 'extract the port origins' from pkgdb.db?I am sorry if I
> sound naive but im a bit new to freebsd.

Ten lost ports is easy enough to do by hand - look what packages
miss their contents and find them in the ports tree. Then just cd
to each /usr/ports/whatever/whenever and run
 make install -DFORCE_PKG_REGISTER
That should do it.

More information about the freebsd-questions mailing list