Comment 2 for bug 395405

Revision history for this message
Andrew Grigorev (ei-grad) wrote :

Same issue, looks like a packaging bug:

[ ei-grad@ei-grad ~ ]
→ LANG=C sudo apt-get install python-cairo-dev 100 ↵
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  python-cairo-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
79 not fully installed or removed.
Need to get 0 B/432 kB of archives.
After this operation, 1178 kB of additional disk space will be used.
(Reading database ... 243759 files and directories currently installed.)
Preparing to unpack .../python-cairo-dev_1.8.8-1ubuntu5_all.deb ...
Unpacking python-cairo-dev (1.8.8-1ubuntu5) ...
dpkg: error processing archive /var/cache/apt/archives/python-cairo-dev_1.8.8-1ubuntu5_all.deb (--unpack):
 trying to overwrite '/usr/lib/pkgconfig/pycairo.pc', which is also in package python-cairo 1.10.2-utopic1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/python-cairo-dev_1.8.8-1ubuntu5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)