[dataflow] (DATAFLOW-360) APT installation of DataBank failsdue to VersionConflict error

17 views
Skip to first unread message

Mark Johnson (Created) (JIRA)

unread,
Apr 18, 2013, 7:17:56 AM4/18/13
to dataflo...@googlegroups.com
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


Anusha Ranganathan (Resolved) (JIRA)

unread,
May 13, 2013, 5:52:56 AM5/13/13
to dataflo...@googlegroups.com

[ http://dataflow-jira.bodleian.ox.ac.uk/jira/browse/DATAFLOW-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anusha Ranganathan resolved DATAFLOW-360.
-----------------------------------------

Resolution: Fixed

Fixed version conflict in packages during installation.
Pushed the new debian package (version 1.0.2) to http://apt-repo.bodleian.ox.ac.uk/databank/

Steps to uninstall the broken databank package and install this version:
sudo apt-get purge databank
sudo rm -r /var/lib/databank
sudo apt-get update
sudo apt-get install databank
* It would be good to give it the same password for the database during installation. Otherwise, you will need to do this manually.
* See section III https://github.com/dataflow/RDFDatabank/blob/master/docs/Databank_VM_Installation.txt#L65 to create a database and user in mysql
* Section V point no.4 describes adding this to the ini file https://github.com/dataflow/RDFDatabank/blob/master/docs/Databank_VM_Installation.txt#L188
* Once this is done, restart Apache /etc/init.d/apache2 restart

> 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
> Labels: Databank, installation

Anusha Ranganathan (Commented) (JIRA)

unread,
May 13, 2013, 5:54:57 AM5/13/13
to dataflo...@googlegroups.com

[ http://dataflow-jira.bodleian.ox.ac.uk/jira/browse/DATAFLOW-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10502#comment-10502 ]

Anusha Ranganathan commented on DATAFLOW-360:
---------------------------------------------

Also, version 1.0.2 has an added feature - the properties of the manifest.rdf are represented as a hash when reading the dataset information in application/json

> 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
> Labels: Databank, installation
Reply all
Reply to author
Forward
0 new messages