Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122877 - upgrading to db-4.2.52_p2-r1 requires subversion repository recovery
Summary: upgrading to db-4.2.52_p2-r1 requires subversion repository recovery
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-14 22:09 UTC by Tom Hosiawa
Modified: 2007-09-08 14:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hosiawa 2006-02-14 22:09:47 UTC
After upgrading to db-4.2.52_p2-r1, subversion repositories need to be recovered.

# svnlook youngest /srv/svn/pub/portage/
svnlook: Berkeley DB error for filesystem /srv/svn/pub/portage/db while opening environment:
Invalid argument
svnlook: bdb: Program version 4.2 doesn't match environment version

I noticed this when I saw the error in websvn. Maybe a note should be made in the db ebuild reminding users to recover all their repositories "svn recover repo" and checks permission on repository after upgrading.
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2006-02-15 03:32:47 UTC
I'll create a check for it sometime. The problem is that this requires some magic on the actually installed binaries as it's not that easy to just record the used db version. It should be in the subversion ebuild though. In general db is mainly a cause of lots of suffering.

In any case there might be merrits on using fsfs as your repository format. In general it has a lot less problems.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-09-03 23:21:18 UTC
It is fixed in subversion-1.5_pre26438 in Eaedificāta Repository.
http://www.ffta.host.sk/Eaedificata/index.html
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2007-09-08 14:20:18 UTC
fixed in 1.4.4-r4