I attempted to install Fenics and receive the following message:

Asked by Richard Brodzinski

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: libdolfin1.0-dev (>= 1.0.0) but it is not going to be installed
          Depends: python-dolfin (>= 1.0.0) but it is not going to be installed
          Depends: dolfin-doc (>= 1.0.0) but it is not going to be installed
          Depends: dolfin-bin (>= 1.0.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have Ubuntu ver 12.04 LTS
Woud appreciate any comments?
Thank you
Richard

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu fenics Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

apt-cache policy fenics; apt-cache policy libdolfin1.0-dev; lsb_release -a; uname -a

Thanks

Revision history for this message
Richard Brodzinski (brodzirp) said :
#2

apt-cache policy fenics:
Installed: (none)
  Candidate: 1:1.0.0-1
  Version table:
     1:1.0.0-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

apt-cache policy libdolfin1.0-dev:
libdolfin1.0-dev:
  Installed: (none)
  Candidate: 1.0.0-1
  Version table:
     1.0.0-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise

uname -a:
Linux richard-DX4860 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Thanks
Richard

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

All I can suggest is report a bug, you are using the official repos so deps should be satisfied automaticall

Revision history for this message
Richard Brodzinski (brodzirp) said :
#4

could you please advise who exactly I should report this to?
Thank you

On Sun, Jun 3, 2012 at 1:30 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #199223 on fenics in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/fenics/+question/199223
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> All I can suggest is report a bug, you are using the official repos so
> deps should be satisfied automaticall
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/fenics/+question/199223/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/fenics/+question/199223
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

run:

ubuntu-bug fenics

And it will start the process.

Revision history for this message
Johannes Ring (johannr) said :
#6

Hi Richard,

Try to run this in a terminal:

  sudo apt-get install libdolfin1.0-dev

What do you get?

Revision history for this message
Richard Brodzinski (brodzirp) said :
#7

Hi Johannes:

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:
 libdolfin1.0-dev : Depends: libdolfin1.0 (= 1.0.0-1) but
1.0.0-2~ppa2~oneiric1 is to be installed
E: Unable to correct problems, you have held broken packages.

On Wed, Jun 13, 2012 at 2:56 AM, Johannes Ring <
<email address hidden>> wrote:

> Your question #199223 on fenics in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/fenics/+question/199223
>
> Johannes Ring requested more information:
> Hi Richard,
>
> Try to run this in a terminal:
>
> sudo apt-get install libdolfin1.0-dev
>
> What do you get?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/fenics/+question/199223
>
> You received this question notification because you asked the question.
>

Revision history for this message
Johannes Ring (johannr) said :
#8

Please remove any old fenics and dolfin packages by running the following commands:

  sudo apt-get remove dolfin* fenics
  sudo apt-get autoremove

Then try to install fenics again:

  sudo apt-get update
  sudo apt-get install fenics

Revision history for this message
Richard Brodzinski (brodzirp) said :
#9

Thank you. This worked.

Sent from my iPad

On Jun 14, 2012, at 3:26 AM, Johannes Ring <email address hidden> wrote:

> Your question #199223 on fenics in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/fenics/+question/199223
>
> Status: Open => Answered
>
> Johannes Ring proposed the following answer:
> Please remove any old fenics and dolfin packages by running the
> following commands:
>
> sudo apt-get remove dolfin* fenics
> sudo apt-get autoremove
>
> Then try to install fenics again:
>
> sudo apt-get update
> sudo apt-get install fenics
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/fenics/+question/199223/+confirm?answer_id=7
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/fenics/+question/199223
>
> You received this question notification because you asked the question.

Revision history for this message
Johannes Ring (johannr) said :
#10

Thanks for letting us know. Could you please set the status to "solved"?

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#11

Click the button on the right of the post that says that the post solved your issue.

Revision history for this message
Richard Brodzinski (brodzirp) said :
#12

Thanks actionparsnip, that solved my question.