From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 17:02:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3850216A417 for ; Thu, 26 Jul 2007 17:02:28 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id B9E2F13C428 for ; Thu, 26 Jul 2007 17:02:27 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so629004uge for ; Thu, 26 Jul 2007 10:02:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=PmWZ3BEY4XZmNZIBUUV2wODswB9AP/U3J6uEaw5SyKaOy0S3e5SxZFonOio6alrMDz6M67KDjKH3PhfIT6NPKX6nYelncF9ps09ChwcMdOqjqh40G3CDruZkoK8Psg8OdbtVzKLEqiDp2SwQHAKrdWBGlmRsaykSlvRg2ZDwFE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=O+kH93eM+dK6VMqYewZH50q8Y6k6IACbpep3CouwffTIY6VaDe5/JrKgjTScacxW9xJ9/NJxVkQ69IbY2mzqGokiXGimDr+ucTLblQ32MUjyMsRM6bmtS4bS2YbUppoaDnOUJPWEfjtxwbN5dXXxaTMiAmchWsd+gcsZzyDLmdw= Received: by 10.86.99.9 with SMTP id w9mr1316035fgb.1185469346038; Thu, 26 Jul 2007 10:02:26 -0700 (PDT) Received: from monju-bosatsu.dreamtrack.dnsalias.com ( [86.18.88.217]) by mx.google.com with ESMTPS id d23sm5907237nfh.2007.07.26.10.02.23 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Jul 2007 10:02:24 -0700 (PDT) Message-ID: <46A8D39D.1090903@crackmonkey.us> Date: Thu, 26 Jul 2007 18:02:21 +0100 User-Agent: Thunderbird 2.0.0.0 (X11/20070421) MIME-Version: 1.0 To: Eric References: <46A7E417.5040800@123.com.sv> <46A8144C.7010503@crackmonkey.us> <46A8B49C.6070903@123.com.sv> <46A8B301.7080903@mikestammer.com> <46A8CAD4.3070804@crackmonkey.us> <46A8CC3B.1080608@mikestammer.com> In-Reply-To: <46A8CC3B.1080608@mikestammer.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Adam J Richardson Cc: Miguel , freebsd-questions@freebsd.org Subject: Re: porteasy vs portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2007 17:02:28 -0000 > When did you try it last? There have been lots of improvements and you > can set certain flags up to always be in effect if you need to. Fairly recently - a couple of months back, probably April time. I can't give the exact month because I have a lousy short term memory. > portmaster -L | grep version > > tells me everything that needs to be updated and the -e switch removes > ports i no longer want around, but then again, so does make deinstall > clean. What does portversion do thats so special? same with pkg_deinstall I don't think portversion and pkg_deinstall do anything special except let me be lazy about the /how/ of the ports system. They're easy to learn and that's about it. The way they're set up by default allows me to think less about how to do what I want to do, and that leaves more clock cycles in my brain for important stuff. I mean, instead of remembering "it's the -L flag to see what I have installed, then pipe to 'grep version'", I just type portversion. Easy. To upgrade all ports plus deps, I use "sudo portupgrade -aRr", usually inside a screen session so I can disconnect and go do something else for a while, like sleep. [I can't remember what the flags do, I just pretend to be a pirate when I want to upgrade my apps. :P ] I'm sure portmaster is just as easy. There was just something about it I didn't like. Incidentally, for removing ports I don't want I generally use pkg_cutleaves, which AFAIK is nothing whatsoever to do with portupgrade. Running "sudo pkg_cutleaves -x" is my idea of a good time. I'm definitely a minimalist. BTW: Miguel, you should try portmaster as well as portupgrade and see which you prefer. Don't listen to our ramblings. There is no "right" choice here. Adam J Richardson