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

Re: Multiarch interfaces: print foreign arches, pkgname I/O



On Mon, 12 Dec 2011, Sven Joachim wrote:
> > dpkg supports the cross-grade, you can tell it to install a foreign
> > package when a native one is already installed.
> > 
> > So the goal is to allow the user to cross-grade his system with
> > a "dpkg -i dpkg_1.16.2_<foreignarch>.deb" (modulo the need to pre-install
> > the predependencies).
> 
> With dpkg from your pu/multiarch/full branch, this does not work:
> | # dpkg -i /var/cache/apt/archives/libc-bin_2.13-22_amd64.deb 
> | dpkg: error processing /var/cache/apt/archives/libc-bin_2.13-22_amd64.deb (--install):
> |  libc-bin:amd64 2.13-22 (Multi-Arch: foreign) is not co-installable with libc-bin:i386 2.13-22 (Multi-Arch: foreign) which is currently installed

Hum, right, it does not work currently. I mixed because I called
cross-grade some tests in the test-suite that ensure that we can switch
between various kind of M-A packages.

So this is currently not supported "as-is" and it would require
supplementary work. It could be fixed though and made to work with a
supplementary --force option.

Sorry for the mis-information.
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/


Reply to: