Re: dpkg: native package in rc state prevents installation of m-a:foreign counterpart
On Mon, 2012-07-23 at 11:06:31 +0200, Goswin von Brederlow wrote:
> On Sun, Jul 22, 2012 at 05:51:08AM +0200, Guillem Jover wrote:
> > On Sat, 2012-07-21 at 22:30:30 -0500, Jonathan Nieder wrote:
> > > How does crossgrading normally work?
> >
> > Cross-grading happens whenever a new package instance is installed
> > with a different architecture from the current single instance, as
> > long as both old and new are not M-A:same, or they switch from
> > non-M-A:same to M-A:same or the reverse.
> >
> > > If Arno had not had libwine:i386 installed, would the upgrade have worked?
> >
> > Yeah (assuming not-installed == not-present), that would have been a
> > cross-grade. Because the old one is M-A:same and the new one is
> > M-A:foreign.
>
> Corect me if I'm wrong but your saying the following work:
>
> foo:i386 same 1.2-3 -> foo:i386 foreign 1.2-4
> foo:amd64 same 1.2-3 -> foo:i386 foreign 1.2-4
> foo:i386 same 1.2-3 -> foo:amd64 foreign 1.2-4
> foo:amd64 same 1.2-3 -> foo:amd64 foreign 1.2-4
> But not:
>
> foo:amd64 same 1.2-3 -\
> -> foo:i386 foreign 1.2-4
> foo:i386 same 1.2-3 -/
Yes (where ‘foreign’ could be also ‘allowed’ or implicit ‘no’).
regards,
guillem
Reply to: