pysvn bug - incorrect libsvn1 for current python-svn package
Guys,
In the latest versions of w3af we've added a new dependency, "python-svn". We've tested this in Ubuntu 8 and 10 and it works, but in BT we get the following:
Code:
>>> import pysvn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/pysvn/__init__.py", line 116, in <module>
raise ImportError, 'pysvn was built against newer (svn, apr, etc.) libraries then the ones installed on this system. %s' % str(e)
ImportError: pysvn was built against newer (svn, apr, etc.) libraries then the ones installed on this system. /usr/lib/libsvn_subr-1.so.1: undefined symbol: apr_memcache_add_server
This message appears after running "sudo apt-get install python-svn" and trying to use the recently installed library. My understanding is that the "libsvn1" package that's bundled with BT is incompatible with python-svn.
I'm trying to find an easy solution for w3af users to use while we identify the definitive solution; but I don't really have much time. I'll let you know what I can find.
Regards,
Andrés Riancho
w3af Project leader
Re: pysvn bug - incorrect libsvn1 for current python-svn package
EDIT: Issue has been resolved.
Re: pysvn bug - incorrect libsvn1 for current python-svn package
How can I test the fix? I just run:
Code:
apt-get update
apt-get dist-upgrade
apt-get remove python-svn
apt-get install python-svn
./w3af_console
And I still get the same error.
Re: pysvn bug - incorrect libsvn1 for current python-svn package
Hi,
I am getting the following w3af error:
"It looks like your pysvn installation is broken [...]"
Here are the steps I took after you posted about the fix:
$apt-get update && apt-get upgrade
$apt-get -f install
$apt-get install subversion
$cd /root/w3af
$svn update
Thank you,
Ryan
Re: pysvn bug - incorrect libsvn1 for current python-svn package
We will be flushing the repositories today. Then you can grab the latest, packages.
Thanks.
Re: pysvn bug - incorrect libsvn1 for current python-svn package
I've tried again but I still get the same error. What steps should we follow to get the latest packages?
Re: pysvn bug - incorrect libsvn1 for current python-svn package
Yes the package is available in the dev repo, so if there are any last minute issues we can fix them.
Uncommenting the dev repo and installing packages from their is not always the best idea.