[Pkg-scicomp-devel] Bug#557054: tulip-doc and libmesh-doc: error when trying to install together

Adam C Powell IV hazelsct at debian.org
Fri Nov 20 18:29:36 UTC 2009


It seems that it would not be hard to resolve this by using
/etc/alternatives to select between the four files in these two
packages.  Here's what I propose (for postinst):

update-alternatives --install /usr/share/man/man3/std.3.gz std.3.gz  /usr/share/man/man3/std_libmesh.3.gz 10 \
  --slave /usr/share/man/man3/Point.3.gz Point.3.gz usr/share/man/man3/Point_libmesh.3.gz \
  --slave /usr/share/man/man3/Sphere.3.gz Sphere.3.gz usr/share/man/man3/Sphere_libmesh.3.gz \
  --slave /usr/share/man/man3/Triangle.3.gz Triangle.3.gz usr/share/man/man3/Triangle_libmesh.3.gz

and you can change _libmesh to _tulip, and we both undo them in prerm.
What do you think?

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20091120/9f562477/attachment.pgp>

More information about the Pkg-scicomp-devel mailing list