Please update libcairo2-dev to match with installed version of libcairo2

Bug #382331 reported by patrix
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cairo (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Release : Ubuntu 8.10

Package Version :

libcairo2-dev:
  Installed: (none)
  Candidate: 1.8.0-0ubuntu1
  Version table:
     1.8.0-0ubuntu1 0
        500 http://de.archive.ubuntu.com intrepid/main Packages

I am unable to install libcario2-dev ( & other developer packages dependent on it, like libpango1.0-dev libgtk2.0-dev), because of dependency discrepancy between libcairo2-dev and libcairo2

libcairo2:
  Installed: 1.8.0-0ubuntu1.1
  Candidate: 1.8.0-0ubuntu1.1
  Version table:
 *** 1.8.0-0ubuntu1.1 0
        100 /var/lib/dpkg/status
     1.8.0-0ubuntu1 0
        500 http://de.archive.ubuntu.com intrepid/main Packages

The version of libcairo2 present in repository is 1.8.0-0ubuntu1.1 , where version of libcairo2-dev is 1.8.0-0ubuntu1, which is dependent on same version of libcairo2 as shown below

$ aptitude show libcairo2-dev
Package: libcairo2-dev
State: not installed
Version: 1.8.0-0ubuntu1
Priority: optional
Section: libdevel
Maintainer: Ubuntu Core Developers <email address hidden>
Uncompressed Size: 1171k
Depends: libcairo2 (= 1.8.0-0ubuntu1), libfontconfig1-dev (>= 2.5.92),
         libfreetype6-dev (>= 2.3.0), libxrender-dev (>= 0.6.0), libpng12-dev,
         libsm-dev, libpixman-1-dev (>= 0.11.2), libxcb1-dev,
         libxcb-render0-dev, libxcb-render-util0-dev
Suggests: libcairo2-doc
Conflicts: libcairo-dev, libcairo0.5.1-dev, libcairo0.6.0-dev, libcairo0.9.0-dev
Replaces: libcairo0.5.1-dev, libcairo0.6.0-dev, libcairo0.9.0-dev
Provides: libcairo-dev
Description: Development files for the Cairo 2D graphics library
 Cairo is a multi-platform library providing anti-aliased vector-based rendering
 for multiple target backends.

As we can see the dependency libcairo2 (= 1.8.0-0ubuntu1) is in conflict because present version in repository and also installed on my machine is libcairo2 (1.8.0-0ubuntu1.1) . This also results in dependency problems for other developer packages libgtk2.0-dev and libpango1.0-dev as shown below

Package: libgtk2.0-dev
State: not installed
Version: 2.14.4-0ubuntu1
Depends: libgtk2.0-0 (= 2.14.4-0ubuntu1), libgtk2.0-common, libc6 (>= 2.0),
         libglib2.0-0 (>= 2.17.6), libglib2.0-dev (>= 2.17.6), libpango1.0-dev
         (>= 1.20), libatk1.0-dev (>= 1.13.0), libcairo2-dev, libx11-dev (>=
         2:1.0.0-6), libxext-dev (>= 1:1.0.1-2), libxinerama-dev (>=
         1:1.0.1-4.1), libxi-dev (>= 1:1.0.1-4), libxrandr-dev (>= 1:1.0.2-2),
         libxcursor-dev, libxfixes-dev (>= 1:3.0.0-3), libxcomposite-dev (>=
         1:0.2.0-3), libxdamage-dev (>= 1:1.0.1-3), pkg-config

Package: libpango1.0-dev
State: not installed
Version: 1.22.2-0ubuntu1.1
Depends: libc6 (>= 2.4), libcairo2 (>= 1.7.6), libfontconfig1 (>= 2.4.0),
         libfreetype6 (>= 2.3.5), libglib2.0-0 (>= 2.17.3), libpixman-1-0,
         libpng12-0 (>= 1.2.13-4), libx11-6, libxcb-render-util0,
         libxcb-render0, libxcb1, libxft2 (> 2.1.1), libxrender1, zlib1g (>=
         1:1.1.4), libpango1.0-0 (= 1.22.2-0ubuntu1.1), libglib2.0-dev (>=
         2.12.0), libfreetype6-dev (>= 2.1.3), libx11-dev, libxrender-dev,
         pkg-config, libxft-dev, libfontconfig1-dev (>= 2.1.91), libcairo2-dev
         (>= 1.7.6)

Revision history for this message
patrix (neo-patrix) wrote :

Now, I doubt is libcairo (1.8.0-0ubuntu1.1 0) not an ubuntu version? based on policy output.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

There's no descrepancy - both binary packages are there. What is most likely to have happened is that you've installed libcairo2 from intrepid-updates and then disabled intrepid-updates so that you can only see libcairo2-dev from intrepid-release. Please re-enable intrepid-updates and run "sudo apt-get update" and try again.

Changed in cairo (Ubuntu):
status: New → Invalid
Revision history for this message
patrix (neo-patrix) wrote :

I already new before your post that it might turn out to be invalid bug, but I really doubt if it problem with intrepid-release and intrepid-updates. I do not have anything like that in my sources.list, just have intrepid (main, universe, multiverse, restricted). May be following ubuntu forum thread give some hint.

http://ubuntuforums.org/showthread.php?t=1170290

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Well, that is why then. You only have intrepid (release) in your sources.list and not intrepid-updates (which you need for the newer libcairo2-dev). That's not a bug - you need to enable intrepid-updates

Revision history for this message
Antonio Censi (accensi) wrote :

My problem in Utopic is:

The following packages have unmet dependencies:
 libcairo2-dev : Depends: libcairo2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
                 Depends: libcairo-gobject2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.