> From: Tom Carrick <[EMAIL PROTECTED]>
> Date: 08 Oct 2002 12:56:36 +0100
> Sender: [EMAIL PROTECTED]
> 
> That worked great, thanks. Can you give me some explanation on why (and
> how) this happens, and in what way it messes up?

When portupgrade is editing/modifying the ports database (not the
package database), it is subject to leaving the DB in a corrupt
condition if it is interrupted during the update. This includes a
crash.

portsdb -u is "smart" in that it check timestamps to see if a port has
changed since the db was last updated and, after corruption of this
sort, it thinks that the DB is current and does nothing. -f says to
force a update of the DB regardless of the timestamp, so that fixes
this sort of thing.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]                  Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to