error: failed to cache JSON data ([Errno 2] No such file or directory: '/root/.cache/mirrorstatus.json')
I then tried to touch the file and I got this:
# touch /root/.cache/mirrorstatus.json
touch: cannot touch ‘/root/.cache/mirrorstatus.json’: No such file or directory
So I mkdir ~/.cache and it worked. Somehow, it was working just fine before, but now it required a new cache directory that it didn't make.
]]> (13/13) checking package integrity [######################] 100%
(13/13) loading package files [######################] 100%
(13/13) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
reflector: /usr/lib/python3.2/site-packages/__pycache__/Reflector.cpython-32.pyc exists in filesystem
Errors occurred, no packages were upgraded.
[ashu@hplaptop ~]$ pacman -Qi reflector
Name : reflector
Version : 2012.3.26-1
URL : http://xyne.archlinux.ca/projects/reflector
Licences : GPL
Groups : None
Provides : None
Depends On : python3
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 76.00 KiB
Packager : Xyne
Architecture : any
Build Date : Mon 26 Mar 2012 11:02:28 BST
Install Date : Mon 26 Mar 2012 23:15:40 BST
Install Reason : Explicitly installed
Install Script : No
Description : A Python 3 module and script to retrieve and filter the latest
Pacman mirror list.
[ashu@hplaptop ~]$ pacman -Ql reflector
reflector /usr/
reflector /usr/bin/
reflector /usr/bin/reflector
reflector /usr/lib/
reflector /usr/lib/python3.2/
reflector /usr/lib/python3.2/site-packages/
reflector /usr/lib/python3.2/site-packages/Reflector-2012.3.26-py3.2.egg-info
reflector /usr/lib/python3.2/site-packages/Reflector.py
reflector /usr/lib/python3.2/site-packages/Reflector.pyc
reflector /usr/lib/python3.2/site-packages/Reflector.pyo
Does anyone know if this is due to a recent Python update? It seems that the default location for byte-compiled code has changed.
Just force the update (pacman -Sf reflector") for now. Do not force a full system upgrade, only the individual package.
]]>(31/31) checking for file conflicts [########################################################] 100%
error: failed to commit transaction (conflicting files)
reflector: /usr/lib/python3.2/site-packages/__pycache__/Reflector.cpython-32.pyc exists in filesystem
Errors occurred, no packages were upgraded.
[walt@athlonx2 ~]$ pacman -Qi reflector;pacman -Ql reflector
Name : reflector
Version : 2012.3.26-1
URL : http://xyne.archlinux.ca/projects/reflector
Licenses : GPL
Groups : None
Provides : None
Depends On : python3
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 76.00 KiB
Packager : Xyne
Architecture : any
Build Date : Mon 26 Mar 2012 06:02:28 AM EDT
Install Date : Wed 28 Mar 2012 04:33:45 PM EDT
Install Reason : Explicitly installed
Install Script : No
Description : A Python 3 module and script to retrieve and filter the latest Pacman mirror list.
reflector /usr/
reflector /usr/bin/
reflector /usr/bin/reflector
reflector /usr/lib/
reflector /usr/lib/python3.2/
reflector /usr/lib/python3.2/site-packages/
reflector /usr/lib/python3.2/site-packages/Reflector-2012.3.26-py3.2.egg-info
reflector /usr/lib/python3.2/site-packages/Reflector.py
reflector /usr/lib/python3.2/site-packages/Reflector.pyc
reflector /usr/lib/python3.2/site-packages/Reflector.pyo
[walt@athlonx2 ~]$ pacman -Qo /usr/lib/python3.2/site-packages/__pycache__/Reflector.cpython-32.pyc
error: No package owns /usr/lib/python3.2/site-packages/__pycache__/Reflector.cpython-32.pyc
]]>I haven't changed those functions in ages so I really don't know why the previous reflector package failed to track the .pyc file. Regardless, I have just updated all of my own packages and checked for conflicts. There were none.
If the conflict persists, please post the output of "pacman -Qi reflector; pacman -Ql reflector".
]]>My mirror seems up-to-date:
community/reflector 2012.7.1-1 [installed: 2012.3.26-1]
xyne-any/reflector 2012.7.1-1 [installed: 2012.3.26-1]
error: failed to commit transaction (conflicting files)
reflector: /usr/lib/python3.2/site-packages/__pycache__/Reflector.cpython-32.pyc exists in filesystem
Should we
rm /usr/lib/python3.2/site-packages/__pycache__/Reflector.cpython-32.pyc
Or wait for the mirrors to sync?
]]>feil: kunne ikke utføre transaksjon (motstridende filer)
reflector: /usr/lib/python3.2/site-packages/__pycache__/Reflector.cpython-32.pyc finnes i filsystemet
Feil oppstod, ingen pakker ble oppgradert.
What repo are you using?
]]>Cheers. ;-)
]]>