pkg_info +COMMENTS problem
srenna at vdbmusic.com
srenna at vdbmusic.com
Sat Oct 4 11:09:40 PDT 2003
Yea,
pkgdb worked like a charm. i had been using the -fu option
in a more conservative manner, but now it looks like it's
all set. Thanks alot
On Sat, 4 Oct 2003 17:40:24 +0100
Matthew Seaman <m.seaman at infracaninophile.co.uk> wrote:
> On Sat, Oct 04, 2003 at 12:00:55PM -0400,
> srenna at vdbmusic.com wrote:
> > Gave that a shot, but still seeing the same problem
> > any other tips?
>
> Perhaps the problem is that one or more of the pkg's
> doesn't have a
> +COMMENT file at all. Try this:
>
> # cd /var/db/pkg
> # find . -type d -mindepth 1 -print | sed -e
> 's,$,/+COMMENT,' | xargs touch -a
>
> However, if there's a pkg installed on your system
> without a +COMMENT
> file, either you're running a pretty old system, or
> you've somehow
> installed a really old pkg. You should probably just
> delete and
> re-install any pkgs showing this symptom.
>
> Other than that, you can try running 'pkgdb -Fvu' (from
> the
> portupgrade(1) port) which should go a long way towards
> fixing any
> prolems in the package DB. If that fails, then it's a
> case of manual
> inspection of the whole /var/db/pkg tree to see if you
> can spot what
> is out of place.
>
> Cheers,
>
> Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil. 26
> The Paddocks
>
Savill
> Way
> PGP: http://www.infracaninophile.co.uk/pgpkey
> Marlow
> Tel: +44 1628 476614
> Bucks., SL7 1TH UK
More information about the freebsd-questions
mailing list