I have file conflicts while updating my system

Hi everyone,
I have the following errors, thank you in advance :slightly_smiling_face:

error: failed to commit transaction (conflicting files)
python-setuptools: /usr/lib/python3.10/site-packages/setuptools/pycache/logging.cpython-310.pyc exists in filesystem
python-setuptools: /usr/lib/python3.10/site-packages/setuptools/_distutils/pycache/_collections.cpython-310.pyc exists in filesystem
python-setuptools: /usr/lib/python3.10/site-packages/setuptools/_distutils/_collections.py exists in filesystem
python-setuptools: /usr/lib/python3.10/site-packages/setuptools/logging.py exists in filesystem
Errors occurred, no packages were upgraded.

See the Manjaro wiki

And the Arch wiki

If you use pip to install python packages, you may want to read

Possibly - but I would prefer to use manjaro-tools to create a Manjaro ISO.

And yes you can create an ISO from your running system - it requires som manual doing but possible.

Basically you need to

  1. install the manjaro-tools-iso package
  2. initialize iso-profiles repo
  3. copy the folder /etc/manjaro-tools to your ~/.coinfig
  4. create a file in ~/.config/manjaro-tools/iso-profiles.conf with content
    run_dir $HOME/iso-profiles
    
  5. copy the content of your user’s home to the iso-profile’s desktop-overlay/etc/skel
  6. build the profile
    buildiso -p profile-name
    

Your error comes from having installed a system wide python package using sudo pip.

Remove the package using sudo pip - Reinstall it using the package manager

Then rerun your update