You are not logged in.

#1 2010-11-25 22:51:09

wheybags
Member
Registered: 2010-11-01
Posts: 8

pacman guake

Trying to install guake, which requires python2-gconf. When I try to install that, I get this:

[wheybags@FAMILY ~]$ sudo pacman -S python2-gconf
resolving dependencies...
looking for inter-conflicts...

Targets (1): python2-gconf-2.28.1-5

Total Download Size:    0.00 MB
Total Installed Size:   0.18 MB

Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts                                                                                                              [#######################################################################################] 100%
error: failed to commit transaction (conflicting files)
python2-gconf: /usr/lib/python2.7/site-packages/gtk-2.0/gconf.so exists in filesystem
python2-gconf: /usr/share/pygtk/2.0/argtypes/gconf-arg-types.py exists in filesystem
python2-gconf: /usr/share/pygtk/2.0/argtypes/gconf-arg-types.pyc exists in filesystem
python2-gconf: /usr/share/pygtk/2.0/argtypes/gconf-arg-types.pyo exists in filesystem
python2-gconf: /usr/share/pygtk/2.0/defs/gconf.defs exists in filesystem
Errors occurred, no packages were upgraded.

Would it be safe to just remove those files?

Offline

#2 2010-11-25 22:57:13

3])
Member
From: Netherlands
Registered: 2009-10-12
Posts: 215

Re: pacman guake

It look as if you're reinstalling an application. In that case you should
"pacman -f -S python-gconf2".

-f means force overwrite.


“There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.”-- C.A.R. Hoare

Offline

#3 2010-11-25 23:04:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: pacman guake

Always check that another package does not own those files (pacman -Qo) before using -Sf.   If it is an actual package conflict, do not overwrite them.   In fact, it is better to manually delete the conflicting files ifthey are owned by no package rather than using -Sf...

Offline

#4 2010-11-25 23:15:05

3])
Member
From: Netherlands
Registered: 2009-10-12
Posts: 215

Re: pacman guake

Allan wrote:

Always check that another package does not own those files (pacman -Qo) before using -Sf.   If it is an actual package conflict, do not overwrite them.   In fact, it is better to manually delete the conflicting files ifthey are owned by no package rather than using -Sf...

I learn new things everyday.  smile
Thanks for the correction.

Last edited by 3]) (2010-11-25 23:15:40)


“There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.”-- C.A.R. Hoare

Offline

#5 2010-11-26 02:56:53

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Offline

Board footer

Powered by FluxBB