Re: Cross-upgrading packages with multiarch packages

2011-02-20 Thread Raphael Hertzog
Hi, On Sat, 19 Feb 2011, Steve Langasek wrote: > > If this needs 2 dpkg calls, one for removing, one for reinstalling then > > I'm flat out against it. That would harm all the reverse depends and > > cause significant blockage on upgrades. > > No, that's what 'dpkg --remove --force-depends' is f

Re: Cross-upgrading packages with multiarch packages

2011-02-19 Thread Steve Langasek
On Sat, Feb 19, 2011 at 10:48:49PM +0100, Goswin von Brederlow wrote: > >> I'd like to seek feedback about what kind of upgrades dpkg should support > >> with multi-arch packages. > >> dpkg treats foo:native and foo:all like the same package and it's thus > >> possible to upgrade foo_1.0_all to fo

Re: Cross-upgrading packages with multiarch packages

2011-02-19 Thread Goswin von Brederlow
Steve Langasek writes: > On Fri, Feb 18, 2011 at 12:31:18PM +0100, Raphael Hertzog wrote: > >> I'd like to seek feedback about what kind of upgrades dpkg should support >> with multi-arch packages. > >> dpkg treats foo:native and foo:all like the same package and it's thus >> possible to upgrade

Re: Cross-upgrading packages with multiarch packages

2011-02-18 Thread Steve Langasek
On Fri, Feb 18, 2011 at 08:37:05PM +0100, Raphael Hertzog wrote: > Upgrading multiple M-A: same to a single foo_2.0_all should definitely be > forbidden though. But the opposite foo_1.0_all -> M-A: same > foo_2.0_ ? I think the applicable principle here is KISS. You could allow dpkg to upgrade f

Re: Cross-upgrading packages with multiarch packages

2011-02-18 Thread Raphael Hertzog
On Fri, 18 Feb 2011, Steve Langasek wrote: > So yeah, that seems ok to me, but I guess you're not convinced or you > wouldn't have asked. :) What other way do you see this working? Should > dpkg auto-remove multiarch packages when an upgrade to _all is requested? > That seems very inconsistent wi

Re: Cross-upgrading packages with multiarch packages

2011-02-18 Thread Steve Langasek
On Fri, Feb 18, 2011 at 12:31:18PM +0100, Raphael Hertzog wrote: > I'd like to seek feedback about what kind of upgrades dpkg should support > with multi-arch packages. > dpkg treats foo:native and foo:all like the same package and it's thus > possible to upgrade foo_1.0_all to foo_2.0_ and vice-

Cross-upgrading packages with multiarch packages

2011-02-18 Thread Raphael Hertzog
Hello, I'd like to seek feedback about what kind of upgrades dpkg should support with multi-arch packages. dpkg treats foo:native and foo:all like the same package and it's thus possible to upgrade foo_1.0_all to foo_2.0_ and vice-versa. However if you have installed foo_1.0_, you can't upgrade