I think this error will be automatically resolved in karmic, but (at least in a debootstrap now) it cannot be installed. I'll wait to karmic to close this bug:
(karmic)root@mycomputer:/# apt-get install libmesh-dev
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:
libmesh-dev: Depends: libmesh0.6.3 (>= 0.6.3.dfsg~rc1-1) but it is not going to be installed Depends: libpetsc2.3.3-dev (>= 2.3.3-3) but it is not installable
E: Broken packages
It seems that it is a problem with a package version. You can override this by rebuilding libmesh in an updated ubuntu 9.04
just:
$ apt-get source libmesh-dev 0.6.3.dfsg~ rc1/ 6.3_0.6. 3.dfsg~ rc1-1_i386. deb dev_0.6. 3.dfsg~ rc1-1_all. deb 0.6.3.dfsg~ rc1 libmesh0. 6.3_0.6. 3.dfsg~ rc1-1_i386. deb libmesh_ 0.6.3.dfsg~ rc1-1.diff. gz \ 0.6.3.dfsg~ rc1-1.dsc libmesh_ 0.6.3.dfsg~ rc1-1_i386. changes libmesh_ 0.6.3.dfsg~ rc1.orig. tar.gz \ dev_0.6. 3.dfsg~ rc1-1_all. deb
$ cd libmesh-
$ dpkg-buildpackage -rfakeroot -uc -b
$ cd ..
$ sudo dpkg -i libmesh0.
$ sudo dpkg -i libmesh-
$ rm -r libmesh-
> libmesh_
> libmesh-
And now you can compile without any error:
$ cp -r /usr/share/ doc/libmesh- dev/examples/ ex1 . include/ petsc -I/usr/ include/ libmesh -c -o ex1.o
$ cd ex1
$ make
g++ ex1.C -I/usr/include/mpi -I/usr/
g++ ex1.o -lmesh -o ex1
I think this error will be automatically resolved in karmic, but (at least in a debootstrap now) it cannot be installed. I'll wait to karmic to close this bug:
(karmic) root@mycomputer :/# apt-get install libmesh-dev
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:
Depends: libpetsc2.3.3-dev (>= 2.3.3-3) but it is not installable
libmesh-dev: Depends: libmesh0.6.3 (>= 0.6.3.dfsg~rc1-1) but it is not going to be installed
E: Broken packages