pkg_info +COMMENTS problem
m.seaman at infracaninophile.co.uk
Sat Oct 4 09:40:51 PDT 2003
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.
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031004/ab6d3435/attachment.bin
More information about the freebsd-questions