From owner-freebsd-stable@FreeBSD.ORG Tue Jul 15 16:09:25 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D7011065670 for ; Tue, 15 Jul 2008 16:09:25 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5418FC15 for ; Tue, 15 Jul 2008 16:09:24 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m6FG9Mi5046095; Tue, 15 Jul 2008 18:09:22 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m6FG9MAk046094; Tue, 15 Jul 2008 18:09:22 +0200 (CEST) (envelope-from olli) Date: Tue, 15 Jul 2008 18:09:22 +0200 (CEST) Message-Id: <200807151609.m6FG9MAk046094@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, ronald-freebsd8@www.klop.ws In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 15 Jul 2008 18:09:23 +0200 (CEST) Cc: Subject: Re: installdate of a port/package? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, ronald-freebsd8@www.klop.ws List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 16:09:25 -0000 Ronald Klop wrote: > I just upgraded a machine from FreeBSD 6 to 7. Very nice. > But my portupgrade -fa failed after a while. > How can I know which ports/packages are still from FreeBSD 6? Is there a > datee recorded somewhere or the FreeBSD-version of the port/package? > The date of the files in /var/db/pkg/* is unreliable, because installing a > package gives these files the date of the files in the package. Sorry for th late reply, I didn't see this thread earlier. You can look at the ctime of the +DESC files. That should be the time when the packages were installed. This command will list all packages in the order they were installed: ls -lcrt /var/db/pkg/*/+DESC Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd (On the statement print "42 monkeys" + "1 snake":) By the way, both perl and Python get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when the answer is clearly "41 monkeys and 1 fat snake". -- Jim Fulton