libgtksourceview2.0-0:i386 depends on libgtksourceview2.0-common:i386, but it is not installable

Asked by Pieter Agten

I am trying to install the i386 version of libgtksourceview2.0-0 on my 64-bit Trusty Tahr installation, but when I run

apt-get install libgtksourceview2.0-0:i386

I get:

[...]
The following packages have unmet dependencies:
 libgtksourceview2.0-0:i386 : Depends: libgtksourceview2.0-common:i386 (>= 2.10) but it is not installable
                              Depends: libgtksourceview2.0-common:i386 (< 2.11) but it is not installable
E: Unable to correct problems, you have held broken packages.

When looking at the package page of libgtksourceview2.0-common, it appears the package is universal (not for any specific architecture), hence I cannot install an i386-specific version of it. The universal version of libgtksourceview2.0-common is installed.

If I tell apt-get to ignore dependencies, libgtksourceview2.0-0:i386 installs just fine and appears to be working correctly (so far).

Is this a bug, or am I doing something wrong?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gtksourceview2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

What is the output of

lsb_release -a
uname -a
dpkg -l | grep gtksourceview
sudo dpkg --audit

Revision history for this message
Pieter Agten (pieter-agten) said :
#2

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

$ uname -a
Linux kif 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ dpkg -l | grep gtksourceview
ii libgtksourceview-3.0-1:amd64 3.10.2-0ubuntu1 amd64 shared libraries for the GTK+ syntax highlighting widget
ii libgtksourceview-3.0-1:i386 3.10.2-0ubuntu1 i386 shared libraries for the GTK+ syntax highlighting widget
ii libgtksourceview-3.0-common 3.10.2-0ubuntu1 all common files for the GTK+ syntax highlighting widget
(of course, this is after I purged libgtksourceview2.0-0, because I installed it by disabling the dependency checks)

$ sudo dpkg --audit
<no output>

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

What is the output of the command

apt-get --simulate install libgtksourceview2.0-common libgtksourceview2.0-0 libgtksourceview2.0-0:i386

Revision history for this message
Pieter Agten (pieter-agten) said :
#4

$ apt-get --simulate install libgtksourceview2.0-common libgtksourceview2.0-0 libgtksourceview2.0-0:i386
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
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:
 libgtksourceview2.0-0 : Conflicts: libgtksourceview2.0-0:i386 but 2.10.5-1ubuntu2 is to be installed
 libgtksourceview2.0-0:i386 : Depends: libgtksourceview2.0-common:i386 (>= 2.10) but it is not installable
                              Depends: libgtksourceview2.0-common:i386 (< 2.11) but it is not installable
                              Conflicts: libgtksourceview2.0-0 but 2.10.5-1ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

What is the output of:

apt-cache policy `dpkg -l | grep gtksourceview | awk {'print $2'}`

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

An please do another test:

What is the output of the commands

apt-get --simulate install libgtksourceview2.0-common libgtksourceview2.0-0:amd64 libgtksourceview2.0-0:i386

and

apt-get --simulate install libgtksourceview2.0-common libgtksourceview2.0-0:i386

Revision history for this message
Pieter Agten (pieter-agten) said :
#7

$ apt-cache policy `dpkg -l | grep gtksourceview | awk {'print $2'}`
libgtksourceview-3.0-1:
  Installed: 3.10.2-0ubuntu1
  Candidate: 3.10.2-0ubuntu1
  Version table:
 *** 3.10.2-0ubuntu1 0
        500 http://be.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
libgtksourceview-3.0-1:i386:
  Installed: 3.10.2-0ubuntu1
  Candidate: 3.10.2-0ubuntu1
  Version table:
 *** 3.10.2-0ubuntu1 0
        500 http://be.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
        100 /var/lib/dpkg/status
libgtksourceview-3.0-common:
  Installed: 3.10.2-0ubuntu1
  Candidate: 3.10.2-0ubuntu1
  Version table:
 *** 3.10.2-0ubuntu1 0
        500 http://be.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

$ apt-get --simulate install libgtksourceview2.0-common libgtksourceview2.0-0:amd64 libgtksourceview2.0-0:i386
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
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:
 libgtksourceview2.0-0 : Conflicts: libgtksourceview2.0-0:i386 but 2.10.5-1ubuntu2 is to be installed
 libgtksourceview2.0-0:i386 : Depends: libgtksourceview2.0-common:i386 (>= 2.10) but it is not installable
                              Depends: libgtksourceview2.0-common:i386 (< 2.11) but it is not installable
                              Conflicts: libgtksourceview2.0-0 but 2.10.5-1ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

$ apt-get --simulate install libgtksourceview2.0-common libgtksourceview2.0-0:i386
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
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:
 libgtksourceview2.0-0:i386 : Depends: libgtksourceview2.0-common:i386 (>= 2.10) but it is not installable
                              Depends: libgtksourceview2.0-common:i386 (< 2.11) but it is not installable
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Based on the output above and some additional investigation, it seems to me that in the gtksourceview2 packages there is no multi-arch information in the control file. If that is really the root cause of your problem, then you night create a bug report about that.

Can you help with this problem?

Provide an answer of your own, or ask Pieter Agten for more information if necessary.

To post a message you must log in.