Ubuntu 12.04 amd64 - Unable to install libgcr-3-1:i386 - APT can't resolve dependency to libgcr-3-common:all
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcr (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Summary:
I've tried on a freshly installed Ubuntu 12.04 amd64 to install libgcr-3-1:i386.
APT fails to resolve the dependency libgcr-
Installation details:
Fresh install of Ubuntu 12.04 amd64
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Package management system status:
$ sudo apt-get update -q=2 ; echo $?
0
$ sudo apt-get dist-upgrade -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Attempt to install libgcr-3-1:i386:
$ sudo apt-get install libgcr-3-1: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:
libgcr-3-1:i386 : Depends: libgck-1-0:i386 (>= 3.2.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Details about the packages:
$ sudo apt-cache show libgcr-3-1:i386
Package: libgcr-3-1
Priority: optional
Section: libs
Installed-Size: 715
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: i386
Source: gnome-keyring
Version: 3.2.2-2ubuntu4
Depends: libc6 (>= 2.15), libcairo2 (>= 1.2.4), libgck-1-0 (>= 3.2.2), libgcrypt11 (>= 1.4.5), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.31.8), libgtk-3-0 (>= 3.1.4), libp11-kit0 (>= 0.6), libpango1.0-0 (>= 1.18.0), libgcr-3-common
Filename: pool/main/
Size: 195902
MD5sum: f6174dd35a866a2
SHA1: f2da89ca3d6e672
SHA256: 75f7f3173a15aea
Description-en: Library for Crypto UI related task - runtime
GCR is a library for crypto UI and related tasks.
.
This package contains the shared libraries needed to run programs
built against the GCR library.
Homepage: http://
Description-md5: 8a00eb544ac1338
Bugs: https:/
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-
$ apt-cache show libgcr-
N: Can't select versions from package 'libgcr-
N: No packages found
$ apt-cache show libgcr-3-common
Package: libgcr-3-common
Priority: optional
Section: libs
Installed-Size: 242
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: all
Source: gnome-keyring
Version: 3.2.2-2ubuntu4
Replaces: libgcr-3-1 (<< 3.2.2-1)
Breaks: libgcr-3-1 (<< 3.2.2-1)
Filename: pool/main/
Size: 19850
MD5sum: 2a79d7c683df510
SHA1: 11ae097567312aa
SHA256: 9ac34fc318295e8
Description-en: Library for Crypto UI related task - common files
GCR is a library for crypto UI and related tasks.
.
This package contains data files uses by the GCR library.
Homepage: http://
Description-md5: 62051b31c323709
Bugs: https:/
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-
affects: | linux (Ubuntu) → gcr (Ubuntu) |
It looks like this is caused because the package libgcr is not multiarch ready. de.archive. ubuntu. com/ubuntu/ pool/main/ g/gnome- keyring/ libgcr- 3-1_3.2. 2-2ubuntu4_ i386.deb ; echo $?
$ wget -q http://
0
$ sudo dpkg -i libgcr- 3-1_3.2. 2-2ubuntu4_ i386.deb 3-1_3.2. 2-2ubuntu4_ i386.deb (--install): 3-1_3.2. 2-2ubuntu4_ i386.deb
dpkg: error processing libgcr-
libgcr-3-1:i386 3.2.2-2ubuntu4 (Multi-Arch: no) is not co-installable with libgcr-3-1:amd64 3.2.2-2ubuntu4 (Multi-Arch: no) which is currently installed
Errors were encountered while processing:
libgcr-
Still remains the question why APT gives this misleading/wrong error message:
The following packages have unmet dependencies:
Depends: libgcr- 3-common: i386 but it is not installable
libgcr-3-1:i386 : Depends: libgck-1-0:i386 (>= 3.2.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
libgcr- 3-common: i386 just plain doesn't exist and thus APT should give a better error message in my eyes.