Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2003 17:40:24 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        srenna@vdbmusic.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg_info +COMMENTS problem
Message-ID:  <20031004164024.GA17411@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <web-57947036@atlantech.net>
References:  <20031004143637.GA15799@happy-idiot-talk.infracaninophile.co.uk> <web-57947036@atlantech.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 t=
ouch -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=20

--=20
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

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/fvf4dtESqEQa7a0RAh+PAJ4paBE9hcPB85BUYet68vZO1kW3YwCdGsIv
zbUJ1pCkiiBtlMa1jDHv+bU=
=uqbn
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--



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