[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689813: libgraphite2-3: misses Breaks: libgraphite2-2.0.0



On Sat, Oct 06, 2012 at 09:10:09PM +0200, Andreas Beckmann wrote:
> On 2012-10-06 19:44, Rene Engelhard wrote:
> > I added a Breaks: libgraphite2-2.0.0 and get this:
> > 
> > rene@frodo:~/Debian/Pakete/graphite2$ sudo dpkg -i libgraphite2-3_1.2.0-2_amd64.deb
> > rene@frodo:~/Debian/Pakete/graphite2$ sudo dpkg -i --auto-deconfigure libgraphite2-3_1.2.0-2_amd64.deb
> > -> boom.
> 
> dpkg is not the right tool to test non-trivial upgrade scenarios.
> And Breaks/Replaces are non-trivial.

OK, true...

> everything is fine :-)

And in that scenario, with the "real" libgraphite2-2.0.0 not known to apt
anymore, a apt-get install libreoffice will still work? That's the point
here.

> There is only one problem with your upgrade scenario: if only 
> libgraphite2-2.0.0 is installed, and nothing adds a dependency on
> libgraphite2-3, apt sees no reason to install the new library and

True.

> keeps the obsolete one installed instead. So you will either need

True.

> a transition (binNMU libreoffice, probably sourceful update the two

Yes, but not immediately.

> packages in Suggests, fonts-sil-padauk and grcompiler) or a

Not immediately either, given that it will pick up libgraphite3-2
due to the Provides:

> Having -dev installed would probably make the difference as it
> will add the dependency on 2-3.

Exactly. -dev will be upgraded on normal upgrades and anything new
will LO will automatically pick up 3-2. But that doesn't need to be
immediate and the new graphite2 can't migrate until the rebuilt
LO also is ready.

Regards,

Rene


Reply to: