APT installation of DataBank failsdue to VersionConflict error
--------------------------------------------------------------
Key: DATAFLOW-360
URL:
http://dataflow-jira.bodleian.ox.ac.uk/jira/browse/DATAFLOW-360
Project: DataFlow
Issue Type: Bug
Components: DataBank
Environment: Ubuntu 12.04 LTS
Reporter: Mark Johnson
Assignee: Anusha Ranganathan
I attempted to install Databank on a clean Ubuntu server.
I added the debian repository according to the instructions at
http://apt-repo.bodleian.ox.ac.uk/databank/
After running {{apt-get install databank}} and going through the debconf screens, the installation crashed with the following error:
{noformat}
Using /var/lib/databank/lib/python2.7/site-packages/repoze.who-2.0a4-py2.7.egg
Processing dependencies for repoze.who==2.0a4
Finished processing dependencies for repoze.who==2.0a4
Configuring the database
Traceback (most recent call last):
File "/var/lib/databank/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File "/var/lib/databank/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 93, in run
commands = get_commands()
File "/var/lib/databank/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 135, in get_commands
plugins = pluginlib.resolve_plugins(plugins)
File "/var/lib/databank/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/pluginlib.py", line 82, in resolve_plugins
pkg_resources.require(plugin)
File "/var/lib/databank/local/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 696, in require
needed = self.resolve(parse_requirements(requirements))
File "/var/lib/databank/local/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 598, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (WebOb 1.0.8 (/var/lib/databank/lib/python2.7/site-packages/WebOb-1.0.8-py2.7.egg), Requirement.parse('WebOb>=1.2'))
dpkg: error processing databank (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
databank
E: Sub-process /usr/bin/dpkg returned an error code (1)
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://dataflow-jira.bodleian.ox.ac.uk/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira