• Simon McVittie's avatar
    debi: Consider installing foreign 'Multi-Arch: same' packages · 941f76ed
    Simon McVittie authored
    Multi-Arch: same packages need to be installed in lockstep.
    
    For example, if you have a merged .changes file for dbus on amd64,
    i386 and s390x, and you use
    
        debi --upgrade dbus_x.y-z_source+amd64+i386+s390x+all.changes
    
    with i386 enabled as a foreign architecture and libdbus-1-3:amd64 and
    libdbus-1-3:i386 both installed, it seems better to install both than
    to fail to configure some packages.  However, installing dbus:i386 is
    undesirable, assuming dbus:amd64 is the one currently installed.
    
    The logic used when dpkg -Oi decides whether a package is already
    installed appears to be: if it is Multi-Arch: same, see whether this
    (package, architecture) pair is already installed; if not, see whether
    this package is already installed for any architecture.
    
    However, we don't want to try to install packages for unconfigured
    foreign architectures (s390x in the example above).
    Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@debian.org>
    Closes: #915668
    941f76ed
Name
Last commit
Last update
debian Loading commit data...
doc Loading commit data...
examples Loading commit data...
lib/Devscripts Loading commit data...
po4a Loading commit data...
scripts Loading commit data...
templates Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.perltidyrc Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
Makefile.common Loading commit data...
README Loading commit data...
README.newscripts Loading commit data...
conf.default.in Loading commit data...
cowpoke.conf Loading commit data...