Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Apr 2014 08:23:01 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: pkgng vs. portupgrade reporting ports outdated
Message-ID:  <533FAF55.7070409@FreeBSD.org>
In-Reply-To: <001801cf5051$83cce4d0$8b66ae70$@gmail.com>
References:  <001801cf5051$83cce4d0$8b66ae70$@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--pgn4I0wIiTO2Crn8jcwEDIWC3X57erLRK
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 04/04/2014 23:02, sindrome wrote:
> So I still keep my source, ports and docs in sync via svn update.  Here=
's
> where the issue comes in.  After I have done the pkg upgrade and it tel=
ls me
> all is up-to-date, the 'pkg_version -v |grep needs' command shows me do=
zens
> of ports that are not up-to-date and further the versions it's saying I=
 have
> installed are not consistent with the versions that were installed thro=
ugh
> pkgng.   If I try and portupgrade it won't upgrade the ports and just
> returns me to the prompt as if there is nothing out of date.

> Why is there such a difference here?  It seems that if I do a pkgng upd=
ate /
> pkg upgrade it should be consistent with the same versions that are bei=
ng
> reported after an 'svn update' and report back that all ports are up-to=
-date
> no matter which command I type.  So now I can't seem to upgrade through=

> portupgrade to get the rest of the ports to the versions reported in th=
e
> ports tree and pkgng says I'm up-to-date.


Once you have switched to pkg(8), the old pkg_tools commands will return
bogus results.  You *cannot* mix usage of pkg(8) and pkg_tools.  I don't
know why this seems to be such a difficult concept for people to understa=
nd.

In your case, you need to use 'pkg version -v' not 'pkg_version -v'.
Actually instead of this:

   pkg version -v | grep needs

Try this:

   pkg version -vIl\<

That compares your installed ports to what is listed as available in the
ports index.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--pgn4I0wIiTO2Crn8jcwEDIWC3X57erLRK
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJTP69eXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT5l0P/1yFl6+adt7WLu3KxR//yFfW
seT00y0yshV5yE3Rcs20g9KKI4xKDK10Nt5SDKFPJ4ICj7FTP4rwL3vwWBa815xv
toeQHXXQoZLLWC4MrrIbwXFC8Q6s7MdHIrmf7K9LJQf8d7lAlBv3OMDia9poyqHV
fAazrqILuX8nig9FGmydq2F3/RP2O7i9u/U8n7C+W+74H55fMOpHE+1GeBd9u7vX
qVVmqFoFH/aXvojYRBPza67j1vFJjk72MDo7Ys52fkFoTIiXu3CE0c3Zm1EXxVIt
ofgzeYFOHjvljCVeCJWTyrdVUWHJYluQQN2bl0bRChUyE4cYSsZFhIZizFrx8XbP
z1Rm7PBmNKtjxzmwniqMC5qYbYMwnxc8HrdRLRraHE2vC9SswYkwYd2YE4SPCTN8
oOlbVcysZkDc6ZGWDPufZODB9gig5UyYAcFq0nXi4qkBzgtO37R+WDj6MMSxhT1H
NgFc/ipsTRyWfx4c7dbc/54MhuXCFeEWoxBqMhrMyWHnJ2aPO8eOThA+RwFEx4FD
D/6G0kZcWF3GlXfGQkVl2UrGBDB+ybkA0YKRsixanPbV+Iv2zo1Lc588497SHP2H
kRsqEcpJiNCPUYKYcpaHzcKeiHQJ/Xrhung14YiZb85Ql76EkdlBlgPYiYEVLidt
yYaN+PhiyCPb/kM/N54g
=ULKs
-----END PGP SIGNATURE-----

--pgn4I0wIiTO2Crn8jcwEDIWC3X57erLRK--



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