I'm not certain whether I have bionic-updates enabled, although I have
realised the issue has been caused by the versions of packages (namely
1.15.10-2ubuntu0.1) being more recent than 1.15.10-2, I guess this means
that the system on which I am installing has indeed had some updates to
the original Bionic package list. Apologies for the bug if this means it
was filed in error, as this is my first time using Ubuntu in a while I
did not expect these two versions to be different.

I have manually downgraded all of the dependencies e.g.:

$sudo apt install libcairo-gobject2=1.15.10-2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be DOWNGRADED:
  libcairo-gobject2
0 to upgrade, 0 to newly install, 1 to downgrade, 0 to remove and 0 not to 
upgrade.
Need to get 17.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libcairo-gobject2 
amd64 1.15.10-2 [17.2 kB]
Fetched 17.2 kB in 0s (506 kB/s)     

Which has allowed me to correctly install libcairo2-dev as required. One
perhaps useful update to come from this would be adjusting
libcairo2-dev's dependencies to include those packages from the Bionic
updates.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cairo in Ubuntu.
https://bugs.launchpad.net/bugs/1859030

Title:
  libcairo2 does not install on Bionic (18.04)

Status in cairo package in Ubuntu:
  Incomplete

Bug description:
  Attempt at installing libcairo2-dev on a clean Bionic install fails as
  follows:

  $ sudo apt install libcairo2-dev
  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.
   libcairo2-dev : Depends: libcairo2 (= 1.15.10-2) but 1.15.10-2ubuntu0.1 is 
to be installed
                   Depends: libcairo-gobject2 (= 1.15.10-2) but 
1.15.10-2ubuntu0.1 is to be installed
                   Depends: libxcb-shm0-dev but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.

  
  Similar issues reported previously on Launchpad are: 
https://answers.launchpad.net/ubuntu/+source/cairo/+question/262830 and most 
recently on StackOverflow (just over a week ago) here: 
https://stackoverflow.com/questions/9437246/unable-to-install-cairo-package-under-linux

  $ lsb_release -a; uname -a; apt-cache policy libcairo2-dev
  No LSB modules are available.
  Distributor ID:       Ubuntu
  Description:  Ubuntu 18.04.3 LTS
  Release:      18.04
  Codename:     bionic
  Linux gnuradio 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 
UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  libcairo2-dev:
    Installed: (none)
    Candidate: 1.15.10-2
    Version table:
       1.15.10-2 500
          500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1859030/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to