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

Using multiarch on wheezy



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:

# apt-get install openjdk-7-jre: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:
 openjdk-7-jre:i386 : Depends: libgif4:i386 (>= 4.1.4) but it is not going to be installed
                      Recommends: libgnome2-0:i386 but it is not going to be installed
                      Recommends: libgnomevfs2-0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
# apt-get install libgif4: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:
 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:

# apt-cache show libgif4:i386
Package: libgif4
Source: giflib
Version: 4.1.6-9.1
Installed-Size: 87
Maintainer: Thibaut GRIDEL <tgridel@free.fr>
Architecture: i386
Provides: libungif4g
Depends: libc6 (>= 2.1.3)
Description-en: library for GIF images (library)
 GIFLIB is a package of portable tools and library routines for working with GIF
 images.
 .
 This package contains the library.
Homepage: http://giflib.sourceforge.net/
Description-md5: 6e1b50f7983687352e4b68758c6a50d6
Tag: implemented-in::c, role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/g/giflib/libgif4_4.1.6-9.1_i386.deb
Size: 42198
MD5sum: 7881f3c5f903f745d108325e8a743178
SHA1: 6518f571ed6dbb232e42c78b9e25aa79d1c2a2a6
SHA256: c21c28bd6fd14c68dee1023eaf0132645b45800f7700f1e247ee538a8cab7301

Package: libgif4
Source: giflib
Version: 4.1.6-9.1
Installed-Size: 62
Maintainer: Thibaut GRIDEL <tgridel@free.fr>
Architecture: amd64
Provides: libungif4g
Depends: libc6 (>= 2.2.5)
Description-en: library for GIF images (library)
 GIFLIB is a package of portable tools and library routines for working with GIF
 images.
 .
 This package contains the library.
Homepage: http://giflib.sourceforge.net/
Description-md5: 6e1b50f7983687352e4b68758c6a50d6
Tag: implemented-in::c, role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/g/giflib/libgif4_4.1.6-9.1_amd64.deb
Size: 42098
MD5sum: 0003397b0895147c8f83c6fb65dfdf28
SHA1: d2bfc2deb9bf96ab57a2eb5466d3acfb32a6671f
SHA256: b309d7723d528becfc9c448822ddefdf9746c4558890134010a5b0791a668915

It is also installed for amd64:

# dpkg -l libgif4
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  libgif4        4.1.6-9.1    amd64        library for GIF images (library)

Why does apt-get complain about dependency, which is already
fullfilled?


Reply to: