Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Sep 2004 11:15:02 +0100
From:      Rik Wade <rik@rikwade.com>
To:        freebsd-sparc64@freebsd.org
Subject:   Ports DB problem post upgrade
Message-ID:  <41402D26.60702@rikwade.com>

next in thread | raw e-mail | index | archive | help
After upgrading to 64-bit time_t, I'm getting the following error from 
portupgrade and pkdgb. I've tried a few workarounds including rebuilding 
the ports database from scratch and also upgrading portupgrade and its 
dependencies. The "year too big to marshal" appears to be a Ruby error 
but I'm not sure what's causing it. Ports indicates that "strace" is not 
available on Sparc64 - is there an alternative I can use?

Trace below:

mango# portupgrade -arR
[database version mismatch/bump detected] [Rebuilding the pkgdb 
<format:bdb1_btree> in /var/db/pkg ... - 117 packages found (-0 +117) 
.....................................................................................................................Stale 
dependency: autoconf-2.13.000227_5 --> m4-1.4_1 -- manually run 'pkgdb 
-F' to fix, or specify -O to force.
mango# pkgdb -F
--->  Checking the package registry database
[database version mismatch/bump detected] [Rebuilding the pkgdb 
<format:bdb1_btree> in /var/db/pkg ... - 117 packages found (-0 +117) 
.....................................................................................................................year 
too big to marshal: Cannot update the pkgdb!]
mango# pkgdb -fu
--->  Updating the pkgdb
[Rebuilding the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 117 
packages found (-0 +117) 
.....................................................................................................................year 
too big to marshal: Cannot update the pkgdb!]



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