You are not logged in.

#1 2015-08-22 19:20:28

kleskjr
Member
Registered: 2011-12-31
Posts: 34

[solved] conflicting files error while upgrading ipython2

Hi there,

while trying to update the system got the following error:

...
(106/106) checking for file conflicts
error: failed to commit transaction (conflicting files)
ipython2: /usr/lib/python2.7/site-packages/IPython/__init__.pyc exists in filesystem
ipython2: /usr/lib/python2.7/site-packages/IPython/core/__init__.pyc exists in filesystem
...
(and a whole bunch of conflicting .pyc files follows)
...

Apparently no one owns these files:

pacman -Qo /usr/lib/python2.7/site-packages/IPython/__init__.pyc
error: No package owns /usr/lib/python2.7/site-packages/IPython/__init__.pyc

Would it be save to remove these .pycs?
Wiki says to rename them but they are so many that I would rather skip such a step.

cheers, kleskjr

Last edited by kleskjr (2015-08-23 10:12:20)

Offline

#2 2015-08-22 19:35:36

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,290

Re: [solved] conflicting files error while upgrading ipython2

You've run ipython as root at some point in the past. Just force the install.

Online

#3 2015-08-23 08:13:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] conflicting files error while upgrading ipython2

Yes, .pyc are just some compiled leftovers, it's OK to just remove them.

Offline

#4 2015-08-23 10:11:58

kleskjr
Member
Registered: 2011-12-31
Posts: 34

Re: [solved] conflicting files error while upgrading ipython2

thanks guys!

Offline

Board footer

Powered by FluxBB