Moving to pkg
Matthew Seaman
matthew at FreeBSD.org
Sat Mar 30 07:38:31 UTC 2013
On 30/03/2013 06:30, Leslie Jensen wrote:
>
> I've done pkg2ng and added WITH_PKGNG=yes to /etc/make.conf
>
> When I do
>
> portsnap fetch update
> and
> pkg_version -vIL=
>
> To check which ports needs updating, I now get a message for all
> installed ports that the info are corrupt.
>
> Like this
>
> pkg_version: the package info for package 'zip-3.0' is corrupt
>
>
> Have I missed something?
Yes.
In a pkgng-ized world, 'pkg_version' is redundant.
Instead use:
pkg version -vIL=
(note: no underscore character)
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 268 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20130330/ee9230c7/attachment.sig>
More information about the freebsd-questions
mailing list