You are not logged in.

#1 2011-06-27 11:04:51

fema
Member
From: Hungary
Registered: 2010-11-13
Posts: 39

[SOLVED] update error, python2-zope-interface

Hi!

I encountered the following error when I wanted to update my system today. What should I do?

[martin@faye ~]$ pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
:: Replace zope-interface with extra/python2-zope-interface? [Y/n] y
resolving dependencies...
looking for inter-conflicts...

Remove (1): zope-interface-3.6.3-1

Total Removed Size:   0.97 MB

Targets (1): python2-zope-interface-3.6.3-1

Total Download Size:    0.00 MB
Total Installed Size:   1.26 MB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                   [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
python2-zope-interface: /usr/lib/python2.7/site-packages/zope.interface-3.6.3-py2.7.egg-info/ exists in filesystem
Errors occurred, no packages were upgraded.

Last edited by fema (2011-06-27 11:37:07)

Offline

#2 2011-06-27 11:22:13

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

Re: [SOLVED] update error, python2-zope-interface

Workaround:

pacman -R zope-interface
pacman -Syu python2-zope-interface

Offline

#3 2011-06-27 11:28:07

fema
Member
From: Hungary
Registered: 2010-11-13
Posts: 39

Re: [SOLVED] update error, python2-zope-interface

Thanks for your reply.

If I'm not mistaken, pacman tried to remove it before, when I tried -Syu and failed to remove it, exactly as now:

[martin@faye ~]$ pacman -R zope-interface
Password:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: twisted: requires zope-interface


I haven't seen this before. hmm

Offline

#4 2011-06-27 11:34:00

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] update error, python2-zope-interface

pacman -Rdd zope-interface && pacman -Syu python2-zope-interface


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-06-27 11:36:35

fema
Member
From: Hungary
Registered: 2010-11-13
Posts: 39

Re: [SOLVED] update error, python2-zope-interface

Thank you both for your answer. Wonder's solution worked. smile

Offline

#6 2011-06-27 12:59:22

Osiris
Member
Registered: 2003-01-18
Posts: 157
Website

Re: [SOLVED] update error, python2-zope-interface

Woudn't it be better to re-install zope.interface with --asdeps?

Offline

#7 2011-06-27 18:25:10

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: [SOLVED] update error, python2-zope-interface

Is this due to a bug in pacman incorrectly handling dependencies?

Offline

#8 2011-06-27 18:27:18

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] update error, python2-zope-interface

Wilco wrote:

Is this due to a bug in pacman incorrectly handling dependencies?

here is the report

https://bugs.archlinux.org/task/24904

here is the fix for pacman if you are interested
http://mailman.archlinux.org/pipermail/ … 13573.html


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2011-06-29 19:16:30

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: [SOLVED] update error, python2-zope-interface

Thanks, I'll wait for the pacman upgrade!

Offline

Board footer

Powered by FluxBB