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

Bug#914418: apt: Foreign packages that depend on "all" arch packages won't install



Control: reassign -1 vim-common
Control: severity -1 wishlist

On Fri, Nov 23, 2018 at 07:16:43PM +1030, John Pearson wrote:
> Package: apt
> Version: 1.4.8
> Severity: important
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation?
> 
> I have a number of i386 and amd64 systems, mostly running amd64 kernels
> and with support for both architectures in dpkg/apt.  When attempting to
> crossgrade an i386 systyem to amd64, I ran into a ton of trouble that seems
> to boil down to this.
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
> Attempting to install a foreign arch package that depends on an "all"
> architecture package fails, as apt looks for a copy of the "all" arch
> package that is explicitly built for the same arch as the package I'm 
> installing.

That's not a bug. Architecture: all packages need to explicitly declare
that they are usable by foreign architectures by setting Multi-Arch: foreign.

> 
>    * What was the outcome of this action?
> 
> For instance, on an amd64 system:
> 
>  # apt-get install vim-tiny: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:
>   vim-tiny:i386 : Depends: vim-common:i386 (= 2:8.0.0197-4+deb9u1) but it is not installable
>  E: Unable to correct problems, you have held broken packages.

vim-common is not Multi-Arch: foreign.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: