[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Error: Failed dependencies: db42 conflicts during the installation of subversion-1.2.0-1

From: Soren 'Frank' Munch <sm_sbv_at_u5.com>
Date: 2005-07-02 22:33:05 CEST

2005 rjordan@groupemutuel.ch wrote:
> On Fri, 1 Jul 2005 rjordan@groupemutuel.ch wrote:
> > I try to install subversion 1.2.0-1 on Redhat Linux 3.
> > I have downloaded the file subversion-1.2.0-1.rhel3.i386.rpm
> > from /pub/subversion/latest/rhel-3/bin.
> Berkeley... error ... failed ... conflicts ... version RHEL3....
> ...not recommended ... patches welcome... not supporting...

OMG! There are times where packages are just not it. Does this mean that you
now can't run svn at all? If you somehow get access to your repos again
consider installing SVN from source. Here (FreeBSD 5.4) it runs out of the
box with things some of us could type while sleeping:

svnadmin dump myrepo > myrepo.dump
tar jxf subversion-1.2.0.tar.bz2
cd subversion-1.2.0
./configure (with no options this will install fsfs backend only)
gmake
su
gmake install
mv myrepo myrepo_bdb
svnadmin create myrepo
svnadmin load myrepo < myrepo.dump

If it works on RH3 I don't know but it is fast to try.

If you want to keep your old installation run ./configure with --prefix=....
and type full pathnames to svn-commands. Does not interfere with anything.

You are over all this these headaches with versions of Berkeley - which BTW is
mighty fine stuff...

- - -

I just converted our 30 repos (ok, the fsfs gang got me at last) and not a
single blip. Hat off for the svn-devs.

Soren 'Frank'

On Sunday 03 July 2005 02:12, David Summers wrote:
> On Fri, 1 Jul 2005 rjordan@groupemutuel.ch wrote:
> > I try to install subversion 1.2.0-1 on Redhat Linux 3.
> > I have downloaded the file subversion-1.2.0-1.rhel3.i386.rpm
> > from /pub/subversion/latest/rhel-3/bin.
> > During the installation I receive the following error message:
> >
> > # rpm -Uh --test -p subversion-1.2.0-1.rhel3.i386.rpm
> >
> > error: Failed dependencies:
> > db42 conflicts with subversion-1.2.0-1
>
> That is correct. The new RHEL3 Subversion 1.2.0 only supports FSFS
> backend and not Berkeley DB as the Berkeley DB version that comes with
> RHEL3 is version 4.1.25 which is not recommended for use with Subversion,
> and trying to get Subversion to use Berkeley DB 4.2.52 has so far proved
> impossible to do (patches welcome).
>
> See the "rpm -qp --changelog subversion-1.2.0-1.rhel3.i386.rpm" release
> notes.
>
> If you are using the Berkeley DB backend before you upgrade you will need
> to do a svnadmin dump/load cycle. This is not a problem with Subversion
> but a consequence of the new RHEL3 Subversion 1.2.0 *RPM* not supporting
> Berkeley DB.
>
> If anyone can figure out how to get the RPM to correctly use 4.2.52 RPMs
> when 4.1.25 RPMs are still installed, please let me know. I've not been
> able to figure it out.
>
>
> - Thanks
> - David Summers
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 2 22:37:25 2005

This is an archived mail posted to the Subversion Users mailing list.