Jeff Kowalczyk wrote:
> I installed subversion-1.1.0_rc2 on Gentoo Linux. My previous repositories
> (last used with 1.0.6) are now giving an error message about the Berkely
> Database version:
>
>> svn commit --message="Update docstrings"
>> svn: Commit failed (details follow):
>> svn: Unable to open an ra_local session to URL
>> svn: Unable to open repository
>> 'file:///home/myuser/svn/acme/trunk/acmeutil'
>> svn: Berkeley DB error while opening environment for filesystem
>> /home/myuser/svn/acme/db: Invalid argument svn: bdb: Program version 4.2
>> doesn't match environment version
>
> Gentoo Linux allows several different versions of programs to be installed
> simultaneously. On this laptop, I have package 'db' versions:
>
> 4.2.52_p2
> 4.1.25_p1-r4
> 4.0.14-r3
> 1.85-r2
>
> installed. It would seem that the error message indicates some sort of
> update procedure on each repository to convert database storage formats.
> Alternatively, I wouldn't mind doing a dump-restore on each, if someone
> can spell out the steps.
The recommended procedure for moving between BDB versions is to "svnadmin
dump" using a svnadmin linked to the old bdb version, and "svnadmin load"
using a svnadmin linked to the new bdb version. There are other ways in some
circumstances, but this is the simple, recommended, all-purpose way to do
it.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 21 21:33:34 2004