Re: Using multiarch on wheezy

2012-11-04 Thread Florian Ernst
Hello there,

On Sun, Nov 04, 2012 at 11:31:12AM +0100, Florian Weimer wrote:
 I'm trying to install the i386 version of openjdk-7-jre on an amd64
 system.  So I did:
 
 # dpkg --add-architecture i386
 # apt-get update
 
 This appears to have been successful.  But I still cannot install
 packages:
 [...]
 The following packages have unmet dependencies:
  emacs23 : Depends: libgif4 (= 4.1.4) but it is not going to be installed
 E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
 held packages.
 
 This does not make much sense.  A proper version of libgif4 is
 available:
 [...] 
 It is also installed for amd64:
 [...]
 Why does apt-get complain about dependency, which is already
 fullfilled?

giflib hasn't been converted to multi-arch yet, cf.
http://bugs.debian.org/647497. As such, you can now install either the 
amd64 version or the i386 version, but not both.
The dependency apt-get complains about stems from the Conflicts of the
package on itself, which would be broken if trying to have both versions
installed at the same time. As such, once you install libgif4:i386, apt
would try to remove libgif4:amd64 which in turn is something
emacs23:amd64 doesn't quite like.

Yes, it seems apt and friends need some more helpful output when dealing
with multi-arch, and methinks some people work on that. Using aptitude
myself, I most of the time didn't have much trouble seeing where it
breaks, though ...

HTH,
Flo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121104114651.gi29...@fernst.no-ip.org



Re: Using multiarch on wheezy

2012-11-04 Thread Claudius Hubig
Hello Florian,

Florian Weimer f...@deneb.enyo.de wrote:
 Why does apt-get complain about dependency, which is already
 fullfilled?

Not all packages are yet multi-archified, that is, declare that they
can be used on a multi-arch system (and how). In particular, since
libgif4 does not declare Multi-Arch:same, it cannot be installed at
the same time as another architecture of itself: libgif4:amd64 and
libgif4:i386 ‘conflict’.

Since it also not declares Multi-Arch:foreign, the libgif4:amd64
package cannot be used to satisfy the dependency of
openjdk-7-jre:i386 (and vice versa, libgif4:i386 cannot be used to
satisfy the dependency of emacs23:amd64).

At the current moment, your best bet is probably to use an i386
chroot or wait until libgif4 gets multiarchified. There is already a
bug report about this (http://bugs.debian.org/647497).

Best,

Claudius


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121104112731.4daf1...@ares.home.chubig.net



Re: Using multiarch on wheezy

2012-11-04 Thread Claudius Hubig
Hey,

Claudius Hubig debian_1...@chubig.net wrote:
 Florian Weimer f...@deneb.enyo.de wrote:
  Why does apt-get complain about dependency, which is already
  fullfilled?

following up on myself: It seems that openjdk-7-jre-headless:i386
installs fine on Multi-Arch (amd64 host). Maybe that is sufficient
for your needs?

Best,

Claudius


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121104120039.3f78e...@ares.home.chubig.net