Hi Martin

Thanks for the answer.

On 26.04.2004, at 17:11, Martin Costabel wrote:

Christian Schaffner wrote:
Dear Fink Developers
I couple of times i encountered the problem that an install or upgrade of a package failed with the error message: "Failed: can't batch-install packages". I also got an report like that from a user of one of my packages. For details see this log:
<http://bwv988.pdl.cmu.edu:8080/svn_comp_err>
Therefore i plan to add the FAQ entry shown below. Does anybody have more information on that? Or does anybody has any objections to add this FAQ?

Since the real error message in this case was


dpkg: error processing /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/svn-client- ssl_1.0.2-11_darwin-powerpc.deb (--install): trying to overwrite `/sw/share/man/man1/svnversion.1', which is also in package svn-ssl

Oops... right! How did i miss that.


he might have found FAQ#Q6.5: When I try to install a package I get an error message about trying to overwrite a file that is in another package.

I am not sure if the advice given in #6.5, namely using dpkg -i --force-overwrite, is optimal. You should probably combine your answer with that one and cover the ground between the two extremes, using force or doing nothing and trying again, depending on what is really going on.

Mhmm... ok. I will try to rewrite the FAQ then. Or do you have a more concrete idea? (I don't have time today.)


In the case at hand, the error came from moving a file into a splitoff, and therefore it could perhaps even have been avoided altogether, by placing

Replaces: svn-ssl

You are absolutely right. I didn't really think of the problems that arise if i move some files from one splitoff to another (they were at the wrong place in the old package). I should have tried something like you are proposing. Too bad i didn't look close enough before.


Do you think i could still fix it now?

into the svn-client-ssl splitoff. BTW, looking at this, I don't understand the usefulness of having

  Conflicts: svn-client-ssl (<= 0.26.0-2)
  Replaces: svn-client-ssl (<= 0.26.0-2)

in a splitoff named svn-client-ssl. Doesn't every package conflict with and replace older versions of itself? Am I missing something?

This is because there was a stand-alone package called 'svn-client-ssl' before it appeared as a splitoff. At the time i did this (couple of years ago...) i thought it made sense. I am no longer sure now, but i think it doesn't hurt either.


Chris.



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to