Date: Wed, 9 Apr 2014 10:15:38 -0500 From: Matthew Pherigo <hybrid120@gmail.com> To: Remy van Elst <relst@relst.nl> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: FreeBSD Handbook, upgrading ports incorrect with 10.0-RELEASE? Message-ID: <81531653-3582-4101-8F27-F783316D0B54@gmail.com> In-Reply-To: <534520DE.5060005@relst.nl>
index | next in thread | previous in thread | raw e-mail
> On Apr 9, 2014, at 5:28 AM, Remy van Elst <relst@relst.nl> wrote: > > As I just tried, replacing pkg_version -l "<" with pkg version -l "<" (note the underscore) gives the same result and allows me to recompile/update the ports that are outdated. > > Maybe this can be added to the handbook? As in, for non-pkgng do this, for pkgng do this. I find my level of knowledge on FreeBSD not enough to submit a patch myself, therefore the mailing list seems good. Hi Remy, I'm not sure this is really the correct way to do this in the first place. Are you using binary packages, or are you just installing things from the ports tree? If you're just using binary packages, the best method is "pkg upgrade". If you are using ports, the method most people would use would be "portmaster -aD" (meaning "install all upgrades and clean up all downloaded files afterwords"), though I don't think portmaster is installed by default. Maybe I'm missing something, but I just don't see why you would use this "pkg_version" method as opposed to the proper functions for upgrading. To me, it sounds like that method may have been originally used before these functions became available. --Matthome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81531653-3582-4101-8F27-F783316D0B54>
