30.01.2016 в 22:50:52 +0100 Michal Suchanek написал: > On 30 January 2016 at 10:22, Stepan Golosunov <ste...@golosunov.pp.ru> wrote: > > 30.01.2016 в 01:15:27 +0100 Michal Suchanek написал: > >> I still cannot install arch:i386 package that depends on arch:all > >> package because apt wrongly tries to search for the arch:all package as > >> arch:i386. > >> > >> # apt-get -m -d install libgtksourceview2.0-0:i386 > >> Reading package lists... Done > >> Building dependency tree > >> Reading state information... Done > >> Some packages could not be installed. This may mean that you have > >> requested an impossible situation or if you are using the unstable > >> distribution that some required packages have not yet been created > >> or been moved out of Incoming. > >> The following information may help to resolve the situation: > >> > >> The following packages have unmet dependencies: > >> libgtksourceview2.0-0:i386 : Depends: libgtksourceview2.0-common:i386 (>= > >> 2.10) but it is not installable > >> Depends: libgtksourceview2.0-common:i386 (< > >> 2.11) but it is not installable > >> E: Unable to correct problems, you have held broken packages. > > > > That's exactly the expected situation given that > > libgtksourceview2.0-common package forbids installation of > > foreign-arch reverse dependencies by not providing a > > "Multi-Arch: foreign" header. > > > > Lack of that header is probably a bug in libgtksourceview2.0-common. > > Lack of multiarch headers is probably a bug in libgtksourceview2.0 all > right. That would prevent installing the library for two archs. I > install only Arch:i386 and Arch:all package so there should be nothing > preventing the installation. Arch:all is still Arch:all.
Yes, lack of Multi-Arch header in libgtksourceview2.0 does prevent installation of the library for two archs. But I am talking about lack of Multi-Arch header in libgtksourceview2.0-common, not in libgtksourceview2.0. And that one forbids installation of foreign reverse dependencies of libgtksourceview2.0-common. And libgtksourceview2.0-0:i386 happens to be such a foreign reverse dependency on an armhf system. And no, Arch:all is Arch:armhf on an armhf system. And dpkg does not implement any mechanism to change that for one package.