You are not logged in.

#1 2011-03-05 04:32:46

markz79
Member
Registered: 2009-05-17
Posts: 74

sage-mathematics-4.6.2-2 has file conflicts

I got the errors below when updating. I have sage-mathematics-4.6.2-1 already installed.

error: failed to commit transaction (conflicting files)
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/__init__.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/interfaces/__init__.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/interfaces/expect.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/interfaces/limits.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/interfaces/reference.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/interfaces/status.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/interfaces/worksheet_process.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/misc/__init__.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/misc/format.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/misc/misc.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/misc/remote_file.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/misc/sageinspect.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/misc/sphinxify.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/misc/support.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/__init__.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/all.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/cell.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/compress/BaseConvert.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/compress/JavaScriptCompressor.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/compress/SourceMap.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/compress/__init__.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/conf.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/config.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/css.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/interact.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/js.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/jsmath.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/keyboards.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/notebook.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/notebook_object.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/run_notebook.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/sage_email.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/server_conf.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/template.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/user.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/user_conf.pyc exists in filesystem
sage-mathematics: /opt/sage/devel/sagenb-main/sagenb/notebook/worksheet.pyc exists in filesystem
Errors occurred, no packages were upgraded.

Offline

#2 2011-03-05 04:47:00

markz79
Member
Registered: 2009-05-17
Posts: 74

Re: sage-mathematics-4.6.2-2 has file conflicts

4.6.2-1 didn't have these files, and I guess it should have.

The following command executed in the /opt/sage/devel/sagenb-main/sagenb directory solved the issue for me:

find . -name '*.pyc' -exec rm {} \;

Offline

Board footer

Powered by FluxBB