From owner-freebsd-questions@FreeBSD.ORG Sat May 19 21:04:15 2012 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 3E272106564A for ; Sat, 19 May 2012 21:04:15 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id CF31C8FC16 for ; Sat, 19 May 2012 21:04:14 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.4/8.14.4) with ESMTP id q4JKoRfv004185; Sat, 19 May 2012 16:50:28 -0400 (EDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.4/8.14.4/Submit) with ESMTP id q4JKoR7V004181; Sat, 19 May 2012 16:50:27 -0400 (EDT) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Sat, 19 May 2012 16:50:27 -0400 (EDT) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org To: freebsd-questions@freebsd.org In-Reply-To: <20120519210932.36b230cd.freebsd@edvax.de> Message-ID: References: <1337434051474-5709999.post@n5.nabble.com> <4FB7A6F9.2090202@FreeBSD.org> <1337450899955-5710066.post@n5.nabble.com> <20120519210932.36b230cd.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (fledge.watson.org [127.0.0.1]); Sat, 19 May 2012 16:50:28 -0400 (EDT) Cc: Beastie-Boy Subject: Re: stay up to date with ports and packages, problem 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: Sat, 19 May 2012 21:04:15 -0000 On Sat, 19 May 2012, Polytropon wrote: > On Sat, 19 May 2012 11:08:19 -0700 (PDT), Beastie-Boy wrote: >> Ok, many thanks for your replies. >> I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE. >> That excplains maybe why i had obsolete/old packages/ports on my disk. > > When you do such an update (major version number), you should > always reinstall (update) your applications. You can avoid it > by installing the compat-Nx-i386 or compat-Nx-amd64 ports (where > N is the previously used major version number). > > You've found many advices on how to do that already from the > list. >> The problem i had was that gdm, gnome didnt start after the upgrade. > > That was to be expected. > >> So i tried to build the gnome and gdm thing again via pkg_add(didnt work) >> and make install clean in ports(either). > > You should make sure _all_ dependencies get recompiled. Using > a port management tool for this task often is more comfortable > than dealing with the "bare ports" (but it basically is not > wrong). There are two great tools for dealing with problems stemming from the update of a single port going bad: pkg_cleanup and pkg_tree. I prefer portmaster over portupdate because portmaster only uses the data that is there from building or adding port/packages. portmaster probably works better for me because I only update in response to a need or problem. I do not have enough time or computing power to build what is required for a workstation. I am using FreeBSD 9.0 and xfce 4.8. To get the functionality I had with KDE3.5 I ended up with 489 packages. I had hoped for a smaller number but that seems to be the norm for KDE or Gome. The only ports I built were a couple that insisted on installing an older version of perl and/or python. Everything else was via package add. In my experience this model only works near the front of a major release. As the lower level ports diverge updates must be built. Here pkg_cleanup is a great tool for taking a step back. Perhaps building regularly on a weekly basis and updating everying would work. For me after I get a functional system I only add new stuff. I do not remember having to reinstalling something because it did not work. Before someone pointed out pkg_cleanup I pretty completely broke my desktop (this in the 7.x days) just by upgrading firefox and then chasing the issues that came up.