You are not logged in.

#1 2012-06-11 11:41:28

89c51
Member
Registered: 2012-06-05
Posts: 741

[SOLVED]Python-dbus conflicting files

I was trying to set up avahi and the wiki recomends installing python-dbus

sudo pacman -S python-dbus
resolving dependencies...
looking for inter-conflicts...

Targets (3): python-3.2.3-3  python-dbus-common-1.1.0-1  python-dbus-1.1.0-1

Total Installed Size:   80.24 MiB

Proceed with installation? [Y/n] y
(3/3) checking package integrity                                                [#############################################] 100%
(3/3) loading package files                                                     [#############################################] 100%
(3/3) checking for file conflicts                                               [#############################################] 100%
error: failed to commit transaction (conflicting files)
python-dbus-common: /usr/include/dbus-1.0/dbus/dbus-python.h exists in filesystem
python-dbus-common: /usr/lib/pkgconfig/dbus-python.pc exists in filesystem
python-dbus-common: /usr/share/doc/dbus-python/API_CHANGES.txt exists in filesystem
python-dbus-common: /usr/share/doc/dbus-python/HACKING.txt exists in filesystem
python-dbus-common: /usr/share/doc/dbus-python/NEWS exists in filesystem
python-dbus-common: /usr/share/doc/dbus-python/PY3PORT.txt exists in filesystem
python-dbus-common: /usr/share/doc/dbus-python/README exists in filesystem
python-dbus-common: /usr/share/doc/dbus-python/tutorial.txt exists in filesystem
Errors occurred, no packages were upgraded.

any ideas how to solve this?

Last edited by 89c51 (2012-06-12 06:57:49)

Offline

#2 2012-06-11 11:58:07

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [SOLVED]Python-dbus conflicting files

Either use the --force flag or rename the conflicting files (like add .bkp) and remove them afterwards if the install is successful. Probably the files aren't owned by any package, you can check this with pacman -Qo file.

Offline

#3 2012-06-11 12:42:00

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]Python-dbus conflicting files

Thanks for the reply

pacman -Qo /usr/share/doc/dbus-python/tutorial.txt
/usr/share/doc/dbus-python/tutorial.txt is owned by dbus-python 1.0.0-1

However when i run avahi-discover -which according to the wiki is the program that requires python-dbus- seems to work fine. hmm

Last edited by 89c51 (2012-06-11 12:42:44)

Offline

#4 2012-06-11 12:54:28

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]Python-dbus conflicting files

Also

pacman -Qs python
local/dbus-python 1.0.0-1
    Python bindings for DBUS
local/pyatspi 2.4.0-1
    Python bindings for at-spi
local/pygtk 2.24.0-3
    Python bindings for the GTK widget set
local/python2 2.7.3-2
    A high-level scripting language
local/python2-cairo 1.10.0-1
    Python2 bindings for the cairo graphics library
local/python2-gobject 3.2.2-1
    Python 2 bindings for GObject
local/python2-gobject2 2.28.6-6
    Python 2 bindings for GObject2
local/pyxml 0.8.4-9
    Python XML parsing library

Seems that it is installed. neutral

Offline

#5 2012-06-11 13:15:48

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [SOLVED]Python-dbus conflicting files

Apparently there are two packages that provide the same files: python-dbus and dbus-python. My system also lists a number of packages as local when running 'pacman -Qs python', although I'm sure I have installed them from the repositories :s.

edit: The packages listed as local will obviously still work, but we won't get any upgrades for them anymore. I'm a bit baffled and hope someone else can explain why this happened.

Last edited by Terminator (2012-06-11 13:18:47)

Offline

#6 2012-06-11 13:20:08

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]Python-dbus conflicting files

Do we need to file a bug or something??

Offline

#7 2012-06-11 17:05:27

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [SOLVED]Python-dbus conflicting files

The wiki says to file a bug report: Q: I get an error when updating: "file exists in filesystem"!.

I just made one: https://bugs.archlinux.org/task/30257

Also, I believe I was wrong to assume the local in the output of 'pacman -Qs' means that we won't get updates for it.

Offline

#8 2012-06-11 18:16:00

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]Python-dbus conflicting files

Something from gnome (caribou?) pulled it in i assume.

My system is quite fresh i am new to arch and i haven't done anything funky with it.

pacman -Qi dbus-python
Name           : dbus-python
Version        : 1.0.0-1
URL            : http://www.freedesktop.org/wiki/Software/DBusBindings
Licenses       : GPL  LGPL
Groups         : None
Provides       : None
Depends On     : dbus-core  python2
Optional Deps  : dbus-glib: glib mainloop support
Required By    : caribou
Conflicts With : None
Replaces       : None
Installed Size : 786.00 KiB
Packager       : Andreas Radke <andyrtr@archlinux.org>
Architecture   : x86_64
Build Date     : Fri 06 Apr 2012 06:20:36 PM EEST
Install Date   : Fri 08 Jun 2012 10:13:12 PM EEST
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : Python bindings for DBUS

I would be interested in a solution that wont break the system and packages that depend on dbus. Probably remove it and install the other one but I ll wait for the devs.

Last edited by 89c51 (2012-06-11 18:17:00)

Offline

#9 2012-06-11 19:07:18

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [SOLVED]Python-dbus conflicting files

It's fixed smile. I just upgraded and dbus-python is replaced by python2-dbus. The only program I had that depended on dbus-python, picard, still works.

So you can add solved to the thread title I assume.

Offline

Board footer

Powered by FluxBB