From owner-freebsd-questions@freebsd.org Fri Jul 3 14:52:26 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F4C7993207 for ; Fri, 3 Jul 2015 14:52:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F1472515 for ; Fri, 3 Jul 2015 14:52:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-85-234.dynamic.qsc.de [92.195.85.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 10B623CF15; Fri, 3 Jul 2015 16:52:22 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t63EqLun002698; Fri, 3 Jul 2015 16:52:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 3 Jul 2015 16:52:21 +0200 From: Polytropon To: kpneal@pobox.com Cc: "William F. Dudley Jr." , freebsd-questions@freebsd.org Subject: Re: portmaster -af fails due to dead port - HELP Message-Id: <20150703165221.1bba26b8.freebsd@edvax.de> In-Reply-To: <20150703141324.GA72399@neutralgood.org> References: <20150702195510.GA2863@oslo.ath.cx> <20150703023514.GA4554@neutralgood.org> <5595FC4A.6020402@gmail.com> <20150703141324.GA72399@neutralgood.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 14:52:26 -0000 On Fri, 3 Jul 2015 10:13:24 -0400, kpneal@pobox.com wrote: > On Thu, Jul 02, 2015 at 11:06:50PM -0400, William F. Dudley Jr. wrote: > > need complicated right now, I need simple. I just want to update the > > machine from > > 8.4 to 9.3, update the packages, and then ignore it for a few weeks to > > months. The reason > > my ports are so out of date is because it's such a nightmare to keep > > them updated. > > I hate working with ports and packages -- it's always a descent into > > dependency hell. > > Use pkg with binary packages. Life is much easier. I used to use portmaster, > but with pkg and binary packages I don't see a need anymore. Fully agree. When you do not need custom compile-time options (or only need them in very few cases), using pkg is the way to go. It's so easy to install software and keep it updated. No "dependency hell" as sometimes seen on Linux where an update that went wrong could render your whole (!) system unusable... Sometimes, starting from scratch is far easier than doing the update cycle(s). An OS re-installation is quickly done, and armed with a list of your "top priority software", you can have pkg install everything that is needed. It will install the current version, and you'll be able to binarily update them whenever you wish. Similarly, freebsd-update works excellently for updating the OS without requiring to build from source. Using source today is only required for corner cases, for example when you need to set compile-time options for your ports or want to follow the -HEAD development branch of the operating system. Regarding "ports and/or packages": As it has been mentioned, ports and packages are basically the same thing, and pkg is the system's means to track what's installed on the system. So even if you build from source, you're using pkg (because first a package is built, then pkg installs that package from its local source). It's important to understand that simple fact. So my suggestion and summary would be: Use pkg, start from scratch, install what you need, and keep using pkg to update your installed ports. And note that "ports" means "packages" in this case. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...