From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 15:23:26 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F106608 for ; Wed, 9 Apr 2014 15:23:26 +0000 (UTC) Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [IPv6:2a00:1450:4013:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA1E31633 for ; Wed, 9 Apr 2014 15:23:25 +0000 (UTC) Received: by mail-ee0-f53.google.com with SMTP id b57so2016235eek.40 for ; Wed, 09 Apr 2014 08:23:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=relst.nl; s=google; h=message-id:disposition-notification-to:date:from:user-agent :mime-version:to:subject:references:in-reply-to:content-type; bh=W/tATRGTJyDAn1mK77bRlsgkiajbI6lcUX//YLZiQvw=; b=QdmhRCpCHE7adqXxaoCi5gYk4K6Vv2RoAFcx6KQU67M0WKQF4mX26E21Kgw5cW6Zz/ l61/syECMCX5UKE83nsWDnSn6mZqrc1rQ8nsdYX/Df3JNo66OWORJ/TBRZsW2cpVA/MY K8wOfxzTdmt1nPejqKlDPBa15lfxePGTMkjkU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:disposition-notification-to:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=W/tATRGTJyDAn1mK77bRlsgkiajbI6lcUX//YLZiQvw=; b=RyZI2LE3DFZk6I54smDh6Dtm34P6arTcvcqztRkQdYG6XtzlntQbdrgEdDHQvJrHwP hThEKqRGB25MwUbkWv2AXQIDgHPnmzDbBjLQAY3HsJ1yoVGDSuXgJdt6+zHgZbPMQDnX XsQxlF9cq5SF+mGPRkr1ypAe16Tuah52lY4ZBQhTfrAR/HR9h5akY4NiEDAM8tSpBLFe e9tQKpdD43kEuk+VyTZGdpnzFqu046+t4lIviSV6JpaOMVhjlnd+OZi3+f+2D9VZ2C7Z /V9uuTUwPjCXzWQR/HA6XGZjF1Wu0tN3QiVu7yvNPSQSVxUtBXV+YR//R1IU0Hc1vaA1 rQOw== X-Gm-Message-State: ALoCoQkJT3sOExJjninAq8DRW9X62SBqWVjOJ12ZdsST3jfmfDsFWs4lvKjDSuHRdfITje9whTTD X-Received: by 10.14.219.137 with SMTP id m9mr3165882eep.77.1397057004043; Wed, 09 Apr 2014 08:23:24 -0700 (PDT) Received: from gateway.local (77-172-73-184.ip.telfort.nl. [77.172.73.184]) by mx.google.com with ESMTPSA id w1sm2967891eel.16.2014.04.09.08.23.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Apr 2014 08:23:23 -0700 (PDT) Message-ID: <534565E9.8080109@relst.nl> Date: Wed, 09 Apr 2014 17:23:21 +0200 From: Remy van Elst User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: FreeBSD Handbook, upgrading ports incorrect with 10.0-RELEASE? References: <534520DE.5060005@relst.nl> <81531653-3582-4101-8F27-F783316D0B54@gmail.com> In-Reply-To: <81531653-3582-4101-8F27-F783316D0B54@gmail.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms090104040608050306010507" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 15:23:26 -0000 This is a cryptographically signed message in MIME format. --------------ms090104040608050306010507 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Matthew Pherigo schreef op 09/04/14 17:15: >> On Apr 9, 2014, at 5:28 AM, Remy van Elst 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/up= date 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 pla= ce. > > Are you using binary packages, or are you just installing things from t= he ports tree? Ports only. However, recently converted the package database because=20 some systems were upgraded to 10.0-RELEASE. > > 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 "portm= aster -aD" (meaning "install all upgrades and clean up all downloaded fil= es afterwords"), though I don't think portmaster is installed by default.= The handbook tells you that this command shows outdated ports (" Then,=20 run this command to get a listing of the ports which are older than the=20 currently available version:") and after that the handbook tells you to=20 use either portmaster or portupgrade to actually upgrade them. I manage a few systems with only two or three extra ports installed, on=20 those we (as in, me and my team) usually just upgrade those ports=20 manually instead of with portmaster. I don't even know if portmaster is=20 installed there. > > Maybe I'm missing something, but I just don't see why you would use thi= s "pkg_version" method as opposed to the proper functions for upgrading. = To me, it sounds like that method may have been originally used before th= ese functions became available. Then updating the handbook to include "the proper functions for=20 upgrading" would also be a good idea, instead of just changing this comma= nd. > > --Matt --------------ms090104040608050306010507 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME-cryptografische ondertekening MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKMzCC BREwggP5oAMCAQICEEHqw4p2hryPGbRxDfQG0+swDQYJKoZIhvcNAQEFBQAwgZMxCzAJBgNV BAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgN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