You are not logged in.
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
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
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-1However when i run avahi-discover -which according to the wiki is the program that requires python-dbus- seems to work fine. ![]()
Last edited by 89c51 (2012-06-11 12:42:44)
Offline
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 librarySeems that it is installed. ![]()
Offline
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
Do we need to file a bug or something??
Offline
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
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 DBUSI 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
It's fixed
. 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