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

Re: automatically cross-grading lib32nss-mdns to libnss-mdns:i386?



On 1 November 2013 13:28, Simon McVittie <smcv@debian.org> wrote:
> If cross-architecture dependencies are allowed in the archive (and don't
> break dak or britney) these days, then it's easy:
>
>     Package: libnss-mdns
>     Architecture: any
>     Multi-Arch: same
>
>     Package: lib32nss-mdns
>     Architecture: amd64
>     Depends: libnss-mdns:i386 (= ${binary:Version})
>     Description: ... transitional package ...
>
> I thought I remembered an announcement that cross-arch dependencies were
> OK for jessie, but I couldn't find it, so that might just be wishful
> thinking?
>

This one is allowed:
   Depends: python:any

Actually spelling out the arch, is not.


> The only other option I can think of is to imitate Wine:
>
>     Package: libnss-mdns
>     Architecture: any
>     Multi-Arch: same
>
>     Package: lib32nss-mdns
>     Architecture: amd64
>     Depends: libnss-mdns-i386 (= ${binary:Version})
>     Description: ... transitional package ...
>
>     Package: libnss-mdns-i386
>     Architecture: i386
>     Depends: libnss-mdns (= ${binary:Version})
>     Description: ... transitional package ...
>
> but that requires yet another content-free package, and a trip through
> the NEW queue. So, before I upload that: is there a better way?
>

That's the currently supported way of doing such migration.

Regards,

Dmitrijs.


Reply to: