View Issue Details

IDProjectCategoryView StatusLast Update
0001551OpenFOAMBugpublic2015-03-14 15:26
Reporterwyldckat Assigned Tochris  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformGNU/LinuxOSUbuntuOS Version14.04
Summary0001551: Ubuntu 14.04.2 doesn't allow installing "paraviewopenfoam410"
DescriptionThis report refers to these instructions: http://www.openfoam.org/download/ubuntu.php

I'm sad to report that a clean installation of Ubuntu 14.04.2 has (an annoying) bug fix that breaks the dependency packages for the package "paraviewopenfoam410". The whole output is provided in the following section "Steps To Reproduce".

The solution seems to be to remove the package "libcheese7", but that will break the standard Ubuntu installation, i.e. the user is no longer able to log in into the Desktop. This is due to some weird configuration bug or missing package, because removing "libcheese7" leads to apt-get to turn on pre-emptive measures for fixing the removal of this package, by installing a lot of other packages that are allegedly needed for keeping the installation still working as intended... ironically, it misses something.

The complete solution I've figured out is explained here: http://www.cfd-online.com/Forums/openfoam-installation/149007-cannot-install-paraview-4-1-0-ubuntu-14-04-lts.html#post533805 - post #8.
In a nutshell:
 1- Update and upgrade: sudo apt-get update && sudo apt-get upgrade
 2- Install another desktop manager: http://askubuntu.com/questions/65083/what-kinds-of-desktop-environments-and-shells-are-available
 3- Logout and log back in, to check if the new desktop manager is working.
 4- Remove the annoying package "libcheese7": sudo apt-get remove libcheese7
 5- And now it should be possible to install "paraviewopenfoam410".

I've tested this twice in a virtual machine, but I have not yet tested in a real machine. I'm currently testing in a VM with an original 14.04 installation and updating it to check if the problem is strictly due to a new 14.04.2 installation or not.
I still want to also double check if it's possible to enforce the re-installation of the default "Unity" desktop manager (although I don't like it).
Steps To Reproduceofuser@ofuser-virtual-machine:~$ sudo apt-get install paraviewopenfoam410
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:
libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed
                  Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed
              Depends: gstreamer1.0-clutter but it is not going to be installed
libclutter-1.0-0 : Depends: libcogl-pango15 (>= 1.15.8) but it is not going to be installed
                    Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
TagsNo tags attached.

Activities

wyldckat

2015-02-28 23:27

updater   ~0003924

OK, so I've finished the tests:

 a) Updating/upgrading from Ubuntu 14.04 to 14.04.2 will not have any problems, at least not from a clean installation.

 b) Yesterday something might have gone wrong in a test I did, because today the following worked just fine in a fresh new installation of Ubuntu 14.04.2, without the need to install a second desktop manager:

   sudo apt-get update
   sudo apt-get upgrade

   # reboot optional!?

   sudo apt-get remove libcheese7

   # reboot advised, to check if everything is in place and working as intended.

 And then simply follow the official instructions http://www.openfoam.org/download/ubuntu.php - and you're good to go!


... then again, maybe not. A cold boot showed that the default desktop manager wouldn't start. I then did from a shell:

   sudo apt-get install ubuntu-desktop

which installed "libcheese7" again. Then I removed it again and it seemed to work again.


Well... it seems like there is at least one package that "paraviewopenfoam410" doesn't need to depend upon. I just don't know which one it is. I say this because in the midst of this confusion, "paraviewopenfoam410" did not get uninstalled.

wyldckat

2015-03-01 00:13

updater   ~0003925

Last edited: 2015-03-01 08:57

OK, I think I've figured it out. Here's the "easy" instructions, where there is no need to go around installing a 2nd desktop manager and no need to remove "libcheese7":

  sudo apt-get download paraviewopenfoam410 --allow-unauthenticated
  sudo dpkg -i paraviewopenfoam410_0-1_amd64.deb
  sudo apt-get install qt4-dev-tools
  sudo dpkg -i paraviewopenfoam410_0-1_amd64.deb

Apparently this manages to go around some weird dependency bug.

chris

2015-03-14 15:26

manager   ~0004126

OK, I have noted this on http://openfoam.org/download/ubuntu.php, so closing the report and if problems arise, I guess someone will send a new report. Thanks, Chris

Issue History

Date Modified Username Field Change
2015-02-28 21:14 wyldckat New Issue
2015-02-28 23:27 wyldckat Note Added: 0003924
2015-03-01 00:13 wyldckat Note Added: 0003925
2015-03-01 08:57 wyldckat Note Edited: 0003925
2015-03-14 15:26 chris Note Added: 0004126
2015-03-14 15:26 chris Status new => closed
2015-03-14 15:26 chris Assigned To => chris
2015-03-14 15:26 chris Resolution open => fixed
2015-03-24 00:17 liuhuafei Issue cloned: 0001609