Bug#557054: tulip-doc and libmesh-doc: error when trying to install together

2009-11-23 Thread Adam C Powell IV
clone 557054 -1
reassign 557054 tulip
reassign -1 libmesh
thanks

On Fri, 2009-11-20 at 21:14 +0100, Yann Dirson wrote:
 On Fri, Nov 20, 2009 at 01:29:36PM -0500, Adam C Powell IV wrote:
  Hi,
  
  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?
 
 When I saw all these manpages generated upstream, my 1st thought was that 
 they would be better suited asi
 .3tulip section.  That way at the same time we avoid namespace clutter, and 
 we retain the man Point that
 may get suggested in other places (docs, forums, etc).
 
 That's even something for which we could push patches to our respective 
 upstreams.

That's an excellent idea.  I'll change libmesh in the same way, and will
push the change upstream.

I'm cloning the bug, you can close this number when you change tulip and
I'll close the new one when I change libmesh.

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

Engineering consulting with open source tools
http://www.opennovation.com/


signature.asc
Description: This is a digitally signed message part


Processed: Re: Bug#557054: tulip-doc and libmesh-doc: error when trying to install together

2009-11-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 clone 557054 -1
Bug#557054: tulip-doc and libmesh-doc: error when trying to install together
Bug 557054 cloned as bug 557691.

 reassign 557054 tulip
Bug #557054 [libmesh-doc,tulip-doc] tulip-doc and libmesh-doc: error when 
trying to install together
Bug reassigned from package 'libmesh-doc,tulip-doc' to 'tulip'.
 reassign -1 libmesh
Bug #557691 [libmesh-doc,tulip-doc] tulip-doc and libmesh-doc: error when 
trying to install together
Bug reassigned from package 'libmesh-doc,tulip-doc' to 'libmesh'.
 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557054: tulip-doc and libmesh-doc: error when trying to install together

2009-11-20 Thread Adam C Powell IV
Hi,

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?

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

Engineering consulting with open source tools
http://www.opennovation.com/


signature.asc
Description: This is a digitally signed message part


Bug#557054: tulip-doc and libmesh-doc: error when trying to install together

2009-11-20 Thread Yann Dirson
On Fri, Nov 20, 2009 at 01:29:36PM -0500, Adam C Powell IV wrote:
 Hi,
 
 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?

When I saw all these manpages generated upstream, my 1st thought was that they 
would be better suited asi
.3tulip section.  That way at the same time we avoid namespace clutter, and we 
retain the man Point that
may get suggested in other places (docs, forums, etc).

That's even something for which we could push patches to our respective 
upstreams.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557054: tulip-doc and libmesh-doc: error when trying to install together

2009-11-18 Thread Ralf Treinen
Package: libmesh-doc,tulip-doc
Version: libmesh-doc/0.6.4.dfsg-1
Version: tulip-doc/3.1.2-2
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2009-11-19
Architecture: amd64
Distribution: sid

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:


WARNING: The following packages cannot be authenticated!
  tulip-doc libmesh-doc
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package tulip-doc.
(Reading database ... 10432 files and directories currently installed.)
Unpacking tulip-doc (from .../tulip-doc_3.1.2-2_all.deb) ...
Selecting previously deselected package libmesh-doc.
Unpacking libmesh-doc (from .../libmesh-doc_0.6.4.dfsg-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libmesh-doc_0.6.4.dfsg-1_all.deb 
(--unpack):
 trying to overwrite '/usr/share/man/man3/Point.3.gz', which is also in package 
tulip-doc 0:3.1.2-2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libmesh-doc_0.6.4.dfsg-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cow-shell unlink .ilist: No such file or directory


This is a serious bug as it makes installation fail, and violate
section 7.6.1 of the policy. Possible solutions are to have the two
packages conflict, to rename the common file in one of the two
packages, or to remove the file from one package and have this package
depend on the other package. File diversions or a Replace relation are
another possibility.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):


  usr/share/man/man3/Point.3.gz
  usr/share/man/man3/Sphere.3.gz
  usr/share/man/man3/Triangle.3.gz
  usr/share/man/man3/std.3.gz
  

This bug is assigned to both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package.

-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org