Bug#739663: Processed: libboinc7: fails to upgrade from 'wheezy' - trying to overwrite /usr/lib/libboinc_zip.so.7

Andreas Beckmann anbe at debian.org
Fri Feb 21 13:54:09 UTC 2014


On 2014-02-21 14:37, Gianfranco Costamagna wrote:
> Hi Andreas,
> 
> I tried to add a Break+Replaces, but it didn't work, 

How did this look like? And how did it fail?

> I think because now boinc-dev is not a real package anymore, just a transition virtual package.

Since the B+R you add are versioned, they only match against real
packages. And the old one is a real package.

> For this reason I only added a "breaks" on libboinc7, and I tested on a virtual machine.
>
> It seems to be working, but this is the first time I play with breaks/replaces fields, so I might be wrong somewhere.

This probably breaks if I torture-test it :-) And it will definitely
break in case you add a transitional boing-dev package.

> this is the commit, I'll upload a version in the next few days if no answer, since I think this bug is pretty serious.
> 
> http://anonscm.debian.org/gitweb/?p=pkg-boinc/boinc.git;a=commitdiff;h=c993dd1d92d58a03562c52c3d2f8b180303eb84f
> 
> Can I kindly ask you to review the patch?

7.0.39+dfsg-1 is the version that split up boinc-dev? And this was the
first upload of the new 7.0.39+dfsg upstream, i.e. there have not been
any 7.0.39+dfsg-1~experimental0 or similar versions?

So each package that got a bit of the previous content (and ships it at
the same location) should have
  Breaks: boinc-dev (<< 7.0.39+dfsg)
  Replaces: boinc-dev (<< 7.0.39+dfsg)
(in addition to other B+R it might already have).

(this review is based solely on your reply and the commitdiff you
linked, I haven't looked at the boinc package in more detail, but I
might take a further look at the weekend)

Andreas



More information about the pkg-boinc-devel mailing list