From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 20:35:36 2010 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 96AAA106566B for ; Thu, 8 Apr 2010 20:35:36 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from woodbine.london.02.net (woodbine.london.02.net [87.194.255.145]) by mx1.freebsd.org (Postfix) with ESMTP id 311BB8FC13 for ; Thu, 8 Apr 2010 20:35:35 +0000 (UTC) Received: from eco.config (93.97.24.219) by woodbine.london.02.net (8.5.016.1) id 4A20329608D5D192; Thu, 8 Apr 2010 21:35:33 +0100 Message-ID: <4BBE3E15.6060300@onetel.com> Date: Thu, 08 Apr 2010 21:35:33 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jian Jun Wang , freebsd-questions@freebsd.org Subject: Re: gdm background picture missing 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, 08 Apr 2010 20:35:36 -0000 Adam Vande More wrote: > On Thu, Apr 8, 2010 at 10:38 AM, Jian Jun Wang wrote: > >> Any suggestion on stepsto solve the problem? >> > > Follow the steps in /usr/ports/UPDATING when you are updating ports. > > Another option would be to pkg_delete * and install everything again from > ports. There are good instructions for this in the portmaster man page. > I've always had good success with ports-mgmt/portmanager #cd /usr/ports/ports-mgmt/portmanager #make install clean #rehash #cd then portmanager -s to tell you what needs upgrading, eg #portmanager -s > portmanager.status #portmanager -l -u to actually do it. See the man page for more options. I extract a list of ports that are not "CURRENT" from portmanager.status then cycle through them doing 'make config' in each ports directory so that portmanager can be left to run unattended, eg (assuming csh) #foreach i ( `cat ports_to_upgrade`) foreach? cd /usr/ports/$i foreach? make config foreach? cd foreach? end # where ports_to_upgrade contains something like converters/libiconv devel/gettext databases/mysql51-client databases/mysql51-server devel/m4 misc/help2man sysutils/tmux databases/p5-DBD-mysql51 audio/mpg123 x11/dri2proto ... Note upgrading ports can take a long time, even days if you have lots of ports and a slow machine. You can quite happily interrupt portmanager though and start it again later (but see the man page for a caveat). I haven't tested on the bump from jpeg7 to jpeg8 but mostly portmanager just works. Chris