The problem is that when you select "Try Ubuntu without installation", the
"universe" repository is not enabled and lots of packages that fenics
depends on are not available. You will have to enable "universe", but it is
probably a better idea to install Ubuntu properly in VirtualBox and then
install fenics.

Johannes

On Fri, Aug 21, 2015 at 8:13 PM toheed ghandriz <[email protected]> wrote:

> Hi,
> Thanks for the response.
> The output is as following.
>
> ubuntu@ubuntu:~$ sudo apt-get -s install python-dolfin dolfin-doc
> python-mshr mshr-demos python-uflacs
>
> 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:
>  dolfin-doc : Depends: libdolfin-dev (>= 1.6.0-1~ppa1~trusty1) but it is
> not going to be installed
>  mshr-demos : Depends: libmshr-dev (>= 1.6.0-1~ppa1~trusty3) but it is not
> going to be installed
>
>               Depends: libdolfin-dev (>= 1.6.0) but it is not going to be
> installed
>  python-dolfin : Depends: libdolfin-dev (= 1.6.0-1~ppa1~trusty1) but it is
> not going to be installed
>                  Depends: libdolfin1.6 (= 1.6.0-1~ppa1~trusty1) but it is
> not going to be installed
>
>                  Depends: python-ffc (>= 1.6.0) but it is not going to be
> installed
>                  Depends: python-netcdf but it is not installable
>                  Depends: python-sympy but it is not installable
>                  Depends: python-petsc4py but it is not going to be
> installed
>                  Depends: libopenmpi1.6 but it is not installable
>                  Depends: libpetsc3.4.2 but it is not installable
>  python-mshr : Depends: libmshr-dev (= 1.6.0-1~ppa1~trusty3) but it is not
> going to be installed
>                Depends: libmshr1.6 (= 1.6.0-1~ppa1~trusty3) but it is not
> going to be installed
>                Depends: libdolfin1.6 but it is not going to be installed
>  python-uflacs : Depends: python-ffc (>= 1.6.0) but it is not going to be
> installed
>
> E: Unable to correct problems, you have held broken packages.
>
> It might worth mentioning that when I run Ubuntu from a usb or VirtualBox,
> I select "try Ubuntu without installation".
>
> Best Regards,
> Toheed
>
>
>
> On Friday, August 21, 2015 1:34 PM, Johannes Ring <[email protected]>
> wrote:
>
>
> Please report back with the output from the following command:
>
> sudo apt-get -s install python-dolfin dolfin-doc python-mshr mshr-demos
> python-uflacs
>
> Johannes
>
> On Fri, Aug 21, 2015 at 3:16 PM toheed ghandriz <[email protected]>
> wrote:
>
> Hi,
>
> I am a windows user. I tried to install fenics on Unbuntu which I run from
> a Virtualbox. I run the following commands in the terminal as described in
> http://fenicsproject.org/download/ubuntu_details.html .
>
> sudo add-apt-repository ppa:fenics-packages/fenics
> sudo apt-get update
> sudo apt-get install fenics
> sudo apt-get dist-upgrade
>
>
> For the third line I get the following error:
>
> ubuntu@ubuntu:~$ sudo apt-get install fenics
> 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:
>  fenics : Depends: libdolfin-dev (>= 1.6.0) but it is not going to be
> installed
>           Depends: python-dolfin (>= 1.6.0) but it is not going to be
> installed
>           Depends: dolfin-doc (>= 1.6.0) but it is not going to be
> installed
>           Depends: dolfin-bin (>= 1.6.0) but it is not going to be
> installed
>           Depends: python-ffc (>= 1.6.0) but it is not going to be
> installed
>           Depends: python-fiat (>= 1.6.0) but it is not going to be
> installed
>           Depends: libmshr-dev (>= 1.6.0) but it is not going to be
> installed
>           Depends: python-mshr (>= 1.6.0) but it is not going to be
> installed
>           Depends: mshr-demos (>= 1.6.0) but it is not going to be
> installed
>           Depends: python-uflacs (>= 1.6.0) but it is not going to be
> installed
>           Recommends: python-scitools but it is not installable
> E: Unable to correct problems, you have held broken packages.
>
>
>
> This is my first time installation. The Ubuntu version is 14.04. What do I
> miss?
> Thanks in advanced.
>
> Regards,
> Toheed
> _______________________________________________
> fenics-support mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics-support
>
>
>
>
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to