Comment 5 for bug 893091

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 893091] Re: Port dbus-python to Python 3

On Jan 07, 2012, at 09:04 PM, Jason Gerard DeRose wrote:

>Barry, awesome, exciting stuff!
>
>I just tried upgrading to the package in your PPA, and got this error:
>
>dpkg: error processing /var/cache/apt/archives/python-dbus-common_0.84.0-2ubuntu1~ppa3_amd64.deb (--unpack):
> trying to overwrite '/usr/include/dbus-1.0/dbus/dbus-python.h', which is also in package python-dbus 0.84.0-2build1
>Preparing to replace python-dbus 0.84.0-2build1 (using .../python-dbus_0.84.0-2ubuntu1~ppa3_amd64.deb) ...
>Unpacking replacement python-dbus ...
>Errors were encountered while processing:
> /var/cache/apt/archives/python-dbus-common_0.84.0-2ubuntu1~ppa3_amd64.deb
>
>Doing a `sudo apt-get install -f` afterward fixed it though. Looks like
>the problem is it's trying to install python-dbus-common before
>upgrading the old python-dbus, which I think this would fix:
>
>Package: python-dbus-common
>Conflicts: python-dbus (<< ${source:Version})

Good catch! I just uploaded ~ppa4 which adds this (and fixes the _compat.py
problem). Please test it again when the PPA eventually builds. ;)