From owner-freebsd-questions@FreeBSD.ORG Thu May 18 03:33:59 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3A4016A404 for ; Thu, 18 May 2006 03:33:59 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from pop-satin.atl.sa.earthlink.net (pop-satin.atl.sa.earthlink.net [207.69.195.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 873EF43D46 for ; Thu, 18 May 2006 03:33:59 +0000 (GMT) (envelope-from bsd-unix@earthlink.net) Received: from fl-71-54-28-212.dhcp.sprint-hsd.net ([71.54.28.212] helo=kt.weeble.com) by pop-satin.atl.sa.earthlink.net with smtp (Exim 3.36 #10) id 1FgZGu-0001gk-00; Wed, 17 May 2006 23:33:56 -0400 Date: Wed, 17 May 2006 23:34:29 -0400 From: Randy Pratt To: Jeff Cross Message-Id: <20060517233429.93e75ef7.bsd-unix@earthlink.net> In-Reply-To: <446BA41F.5090905@averageadmins.com> References: <446BA41F.5090905@averageadmins.com> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Find the Date a Port Was Installed 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, 18 May 2006 03:34:23 -0000 On Wed, 17 May 2006 17:30:55 -0500 Jeff Cross wrote: > I have recently upgraded to RELENG_6_1 and have attempted a portupgrade > on all ports since the upgrade so that new libs, etc. are being used > with the installed ports. When it *finally* finished I saw that 9 ports > were not upgraded due to various reasons but because I did this from the > command line I couldn't scroll up to see what 9 ports failed. Take a look at using "script" to log the output (man 1 script). It is started before running the process you want to log: script /path/to/logfile Then the process (portupgrade in this case) is ran to completion. Just type "exit" after it is finished to end the "script" logging. > Is it possible to determine which ports weren't upgraded so I can deal > with them manually or is it possible to show the install date for all > ports? If I can pull the install date for all of them I can see which > ones are older than today and deal with them individually. I looked at > the man page for pkg_info to see if there was anything I could do there > to list the installed ports along with an installation date but I didn't > see anything. Another way to determine which ports need updated that has not been mentioned is: portversion -vL= Instead of looking at timestamps for the last install/update it would probably be easier to just run "portupgrade -a" using "script" to recreate a log. Doing this will provide you with logs of any failures as well as a list of any failures. Its the information in those logs that will be most helpful in resolving problems and is also the information others would need to see if you needed additional help. HTH a bit, Randy --