Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 14:09:51 +0200
From:      Matthias Apitz <matthias.apitz@oclc.org>
To:        freebsd-questions@freebsd.org
Subject:   portupgrade && installation date of a package
Message-ID:  <20080814120951.GA9656@rebelion.Sisis.de>

next in thread | raw e-mail | index | archive | help

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 <matthias.apitz@oclc.org> - 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080814120951.GA9656>