From owner-freebsd-questions@FreeBSD.ORG Thu Aug 14 12:09:55 2008 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 8D78E1065671 for ; Thu, 14 Aug 2008 12:09:55 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 21EDB8FC17 for ; Thu, 14 Aug 2008 12:09:54 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Aug 2008 14:09:51 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m7EC9pDo009867 for freebsd-questions@freebsd.org; Thu, 14 Aug 2008 14:09:51 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Thu, 14 Aug 2008 14:09:51 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20080814120951.GA9656@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 14 Aug 2008 12:09:51.0528 (UTC) FILETIME=[A79B2280:01C8FE06] Subject: portupgrade && installation date of a package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 12:09:55 -0000 Hello, I was updating all packages which have been installed by the FreeBSD 7.0R base installation and X11 with portupgrade like this: # portupgrade -f '<2008-08-13 12:55' i.e. update all packages/ports which have been installed before 2008-08-13 12:55 (this was the time when the installation finished); I picked up this time with an # ls -ltr /var/db/pkg | more and saw at which point the installation finished; so far so good; after some time I cancelled the 'portupgrade' because I forgot to say "--batch" mode; a look into a new # ls -ltr /var/db/pkg | more showed that for each package dir there the time was updated to 'now', i.e. no date before 2008-08-13 12:55 any more; but even with this a 2nd # portupgrade --batch -f '<2008-08-13 12:55' knows exactly which ports/packages have been installed before that date; my question is: where is this installation date stored? thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ We should all learn from the peoples of The Netherlands, France and Ireland. Aprendamos todos de los pueblos de Holanda, Francia e Irlanda.