libadjoint installation fails in Ubuntu 16.04

Issue #6 new
Sophia Wright created an issue

On doing

sudo apt-add-repository ppa:libadjoint/ppa
sudo apt-get update
sudo apt-get install python-libadjoint

I get the following error:

sudo apt-get install python-libadjoint
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-libadjoint : Depends: libadjoint (= 2017.1.0~xenial) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Am I doing something wrong? Any help to fix this would be greatly appreciated.

Thank you,

Comments (3)

  1. Sophia Wright reporter

    To add to the post, when I try to install libadjoint, it asks me to install slepc3.6; when i try to install slepc3.6, it asks me to install petsc3.6, when i try to install petsc3.6, it prompts that it is going to remove fenics!

  2. Simon Funke

    Hi Sophia,

    This seems to be a problem of how I built the Ubuntu packages - sorry about this. Unfortunately I do not have time to rebuild the packages at the moment. I suggest that you build and install libadjoint and dolfin-adjoint from source instead (instructions see here: http://www.dolfin-adjoint.org/en/latest/download/index.html)

    The good news is that the next version of dolfin-adjoint will not need to be compiled anymore, making the installation a lot easier.

    Best wishes,

    Simon

  3. Sophia Wright reporter

    Thank you, that worked. I am able to import dolfin_adjoint, however on doing import timestepping, i get an error 'No module named timestepping' ; I see that the timestepping module is in the dolfin-adjoint directory, how do i make import timestepping work?

    Thank you for your help - I'm very excited to start using dolfin-adjoint!

  4. Log in to comment