Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Oct 2003 14:09:38 -0400
From:      <srenna@vdbmusic.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>, srenna@vdbmusic.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg_info +COMMENTS problem
Message-ID:  <web-57957930@atlantech.net>
In-Reply-To: <20031004164024.GA17411@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@infracaninophile.co.uk> wrote:
> On Sat, Oct 04, 2003 at 12:00:55PM -0400,
> srenna@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



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