Hello everyone.
It’s been a week or so since I’ve last updated my endeavourOS machine. I can’t update it with yay, an error pops up for the package “python-charset-normalizer”.
error: failed to commit transaction (conflicting files)
python-charset-normalizer: /usr/bin/normalizer exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__init__.py exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__pycache__/__init__.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__pycache__/api.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__pycache__/cd.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__pycache__/constant.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__pycache__/legacy.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__pycache__/md.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__pycache__/models.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__pycache__/utils.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/__pycache__/version.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/api.py exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/cd.py exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/cli/__init__.py exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/cli/__pycache__/__init__.cpython-311.pyc exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/constant.py exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/legacy.py exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/md.py exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/models.py exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/py.typed exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/utils.py exists in filesystem
python-charset-normalizer: /usr/lib/python3.11/site-packages/charset_normalizer/version.py exists in filesystem
Errors occurred, no packages were upgraded.
-> error installing repo packages
Yay says I do not have it installed.
[roller@hpenvy ~]$ yay python-charset-normalizer
1 extra/python-charset-normalizer 3.3.0-1 (91.9 KiB 468.1 KiB)
Encoding and language detection alternative to chardet
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==>
When I try to enter the directory, I am told it doesn’t exist.
[roller@hpenvy ~]$ cd /user/lib/python3.11/site-packages/charset_normalizer
bash: cd: /user/lib/python3.11/site-packages/charset_normalizer: No such file or directory
Things I have tried so far:
- running pacman with --overwrite for the files listed in the error
- checking ownership with pacman -Qo (before I noticed the files and directories don’t exist…)
What can I do to get rid of this error and update my system? Why is a package I don’t have installed creating an error?