Attempts to Update Fail because of conflicting file

Hello guys.

I recently tried to perform a system update. However, there is a package that prevents the process from completing. Below is the output after it fails.

conflicting files:
- python-jade-application-kit: /usr/bin/jak-cli already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/Application.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/DevTools.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/IPC.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/KeyBindings.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/RequestInterceptor.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/Settings.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/Utils.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/WebEngine.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/Widgets.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__init__.py already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/Application.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/Application.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/DevTools.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/DevTools.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/IPC.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/IPC.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/KeyBindings.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/KeyBindings.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/RequestInterceptor.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/RequestInterceptor.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/Settings.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/Settings.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/Utils.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/Utils.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/WebEngine.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/WebEngine.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/Widgets.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/Widgets.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/__init__.cpython-38.opt-1.pyc already exists in filesystem (owned by jade-application-kit)
- python-jade-application-kit: /usr/lib/python3.8/site-packages/JAK/__pycache__/__init__.cpython-38.pyc already exists in filesystem (owned by jade-application-kit)

Could I have some help understanding why this happened and what I can do to resolve it?

This is so common that we had a topic for it

The solution is to remove the package you installed using sudo pip - then install the correct package using the pacman pacakge manager.

The lesson to be learned is

  • never use sudo pip
  • if possible - install the package using pacman
  • if not possible - use a virtual environment
1 Like

Thanks. Could I learn how to resolve it?

Just search the forum - there is a heap of topics on the matter - but a good place to start is this

https://wiki.archlinux.org/index.php/Pacman#"Failed_to_commit_transaction_(conflicting_files)"_error