ports hosed

Vulpes Velox kitbsdlists at HotPOP.com
Sun Apr 4 01:03:37 PST 2004

On Sun, 4 Apr 2004 01:53:11 -0600
Jay Moore <jaymo at cromagnon.cullmail.com> wrote:

> FreeBSD 5.2 installed from the cd a couple of weeks ago:
> I guess I've stepped into it, somehow... the sequence was:
> # cvsup -g -L 2 /root/ports-supfile      <completed OK>
> # pkgdb -F                                         <OK>
> # portupgrade -a                                <failed...>

Post where it failed at... this does not provide much to go on...
> The failure appeared to be the result of inability to find a
> distfile:
>  "docbook-xsl-1.65.1.tar.gz"
> So I manually d/l this file from sourceforge, copied it into
> /usr/ports/ distfiles, and ran 'portupgrade -a' again. Got following
> error:
> /usr/local/sbin/portupgrade:35:in `require': No such file to load --
> pkgtools (LoadError)
>         from /usr/local/sbin/portupgrade:35

May be a pkgdb, index problem, or something like that... delete
portupgrade and reinstalling it using the port... no run pkgdb -fu...
this will reinstall portupgrade and rebuild the pkg index or
whatever... you may aslo want to try a make index first...

More information about the freebsd-questions mailing list