FS#24905 - [zope-interface] upgrade failure

Attached to Project: Arch Linux
Opened by Sébastien Luttringer (seblu) - Monday, 27 June 2011, 09:50 GMT
Last edited by Ionut Biru (wonder) - Monday, 27 June 2011, 21:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

sluttrin ~ 1 $ up
:: Synchronizing package databases...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3533 100 3533 0 0 1145k 0 --:--:-- --:--:-- --:--:-- 3450k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 37924 100 37924 0 0 6192k 0 --:--:-- --:--:-- --:--:-- 9258k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 464k 100 464k 0 0 3302k 0 --:--:-- --:--:-- --:--:-- 3342k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 443k 100 443k 0 0 1131k 0 --:--:-- --:--:-- --:--:-- 1134k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26180 100 26180 0 0 3861k 0 --:--:-- --:--:-- --:--:-- 6391k
:: Starting full system upgrade...
warning: mdadm: local (3.2.1-3.1) is newer than core (3.2.1-3)
:: Replace zope-interface with extra/python2-zope-interface? [Y/n]
resolving dependencies...
looking for inter-conflicts...

Remove (1): zope-interface-3.6.3-1 [0.97 MB]

Total Removed Size: 0.97 MB

Targets (7): dbus-glib-0.94-2 [0.10 MB] gptfdisk-0.7.2-1 [0.12 MB] kernel26-lts-2.6.32.42-1 [31.28 MB] kernel26-manpages-2.6.39-1 [2.48 MB]
neon-0.29.6-2 [0.17 MB] pyalpm-0.4.3-1 [0.04 MB] python2-zope-interface-3.6.3-1 [0.11 MB]

Total Download Size: 0.00 MB
Total Installed Size: 63.46 MB

Proceed with installation? [Y/n]
(7/7) checking package integrity [########################################################] 100%
(7/7) 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.
sluttrin ~ 1 $ pacman -Qo /usr/lib/python2.7/site-packages/zope.interface-3.6.3-py2.7.egg-info/
error: failed to read file '/usr/lib/python2.7/site-packages/zope.interface-3.6.3-py2.7.egg-info/': Not a directory
sluttrin ~ 1 $ pacman -Qo /usr/lib/python2.7/site-packages/zope.interface-3.6.3-py2.7.egg-info
/usr/lib/python2.7/site-packages/zope.interface-3.6.3-py2.7.egg-info is owned by zope-interface 3.6.3-1

There is a simple file conflict between zope-interface and python2-zope-interface during the switch.
This is maybe related to pacman.
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 27 June 2011, 21:29 GMT
Reason for closing:  Not a bug
Additional comments about closing:  the package is fine and the update exposed a bug in pacman report at  FS#24904 . A news entry was posted having the proper steps for handling this update
Comment by Sébastien Luttringer (seblu) - Monday, 27 June 2011, 09:53 GMT
removing it manually fix the issue, but i think this should not append


luttrin /home/seblu 2 # pacman -Rd zope-interface
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: pitivi: requires zope-interface
:: twisted: requires zope-interface
sluttrin /home/seblu 1 # pacman -Rdd zope-interface

Remove (1): zope-interface-3.6.3-1 [0.97 MB]

Total Removed Size: 0.97 MB

Do you want to remove these packages? [Y/n]
(1/1) removing zope-interface [######################] 100%
Comment by Ionut Biru (wonder) - Monday, 27 June 2011, 10:03 GMT
i'm going to leave this open and suggest to use
pacman -Rdd zope-interface and pacman -Su python2-zope-interface


this is indeed a pacman bug. see  FS#24904 
Comment by Dan McGee (toofishes) - Monday, 27 June 2011, 20:40 GMT
It might be worth posting a front page news item about this, since we rarely tell people using -d/-dd is safe, but in this case it is the best workaround.

Loading...