portupgrade && installation date of a package

Matthias Apitz matthias.apitz at oclc.org
Thu Aug 14 12:09:55 UTC 2008


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?



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 at 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.

More information about the freebsd-questions mailing list