You are not logged in.
Pages: 1
Topic closed
It seems that some files already exist:
Paquetes (3): pygobject-devel-3.8.3-1 python-gobject-3.8.3-1 python2-gobject-3.8.3-1
error: error al realizar la transacción (archivos en conflicto)
python-gobject: /usr/lib/python3.3/site-packages/gi/__pycache__/__init__.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/__pycache__/importer.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/__pycache__/module.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/__pycache__/types.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/_glib/__pycache__/__init__.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/_glib/__pycache__/option.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/_gobject/__pycache__/__init__.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/_gobject/__pycache__/constants.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/_gobject/__pycache__/propertyhelper.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/_gobject/__pycache__/signalhelper.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/GLib.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/GObject.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/Gdk.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/Gio.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/Gtk.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/Pango.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/__init__.cpython-33.pyc existe en el sistema de archivos
python-gobject: /usr/lib/python3.3/site-packages/gi/repository/__pycache__/__init__.cpython-33.pyc existe en el sistema de archivos
Is it safe to remove those files?
mod edit: added code tags (Xyne)
Last edited by David López (2013-07-07 11:58:25)
Offline
I'm a gambler.
Right or wrong but I renamed the "gi" directory in "/usr/lib/python3.3/site-packages" and ran pacman again. All appears OK.
Offline
I think it's safe to delete the "__pycache__" folders
# pacman -Qo /usr/lib/python3.3/site-packages/gi/__pycache__
error: No package owns /usr/lib/python3.3/site-packages/gi/__pycache__
# pacman -Qo /usr/lib/python3.3/site-packages/gi/
/usr/lib/python3.3/site-packages/gi is owned by python-gobject 3.8.2-1
Offline
As I am concern, I removed the « gi » directory, ran the update again, it worked fine.
But if you have Gedit, remember to reinstall it, as there is some of its files in « /usr/lib/python3.3/site-packages/gi/overrides/ ».
« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock
Offline
So, I'm updating and this happens...
(81/81) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
python-gobject: /usr/lib/python3.3/site-packages/gi/__pycache__/__init__.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/__pycache__/importer.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/__pycache__/module.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/__pycache__/types.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/_glib/__pycache__/__init__.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/_glib/__pycache__/option.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/_gobject/__pycache__/__init__.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/_gobject/__pycache__/constants.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/_gobject/__pycache__/propertyhelper.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/_gobject/__pycache__/signalhelper.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/GLib.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/GObject.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/Gio.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/overrides/__pycache__/__init__.cpython-33.pyc exists in filesystem
python-gobject: /usr/lib/python3.3/site-packages/gi/repository/__pycache__/__init__.cpython-33.pyc exists in filesystem
(I have both Python[3] and Python2 installed if that makes any difference)
Edit: doing...
pacman -Qo /usr/lib/python3.3/site-packages/gi/__pycache__/__init__.cpython-33.py
...comes back with...
error: failed to read file '/usr/lib/python3.3/site-packages/gi/__pycache__/__init__.cpython-33.py': No such file or directory
Last edited by oldtimeyjunk (2013-07-06 16:28:46)
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed." - Unix for Dummies, 2nd Edition
Offline
Offline
Offline
Couldn't find that thread while searching. Thanks.
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed." - Unix for Dummies, 2nd Edition
Offline
You have a typo there, it's not /usr/lib/python3.3/site-packages/gi/__pycache__/__init__.cpython-33.py but /usr/lib/python3.3/site-packages/gi/__pycache__/__init__.cpython-33.pyc.
*.pyc files sometimes cause conflicts like these.
Offline
merging
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I've removed the existing files and run the update; everything seems OK. Thanks for your help.
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Oops, sorry. Now it's done.
Offline
What merging where now? I'm confused. Just to be clear:
- I deleted all the pycache directories to get rid of the error, updated afterwards. Do I need to reinstall some packages now?
- How did this happen in the first place? Did I do something pythony as root that I shouldn't have?
Offline
@whoops: I think, some cache files were not part of the package, but were generated during the installation. python-gobject has been modified so that the precompiled files are part of the package as it should be. Now you should find packages with missing files and reinstall them.
LC_ALL=C pacman -Qk | grep -v ", 0 missing"
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
What merging where now? I'm confused.
That's just the moderator merging another thread into this one
Offline
I had to remove the following files:
/usr/lib/python3.6/site-packages/__pycache__/mdx_math.cpython-36.pyc
/usr/lib/python3.6/site-packages/mdx_math.py
After that, pacman completed the upgrade
Last edited by ludenticus (2018-06-07 14:45:18)
Offline
Which has nothing to do with this thread, especially since it's 5 years old. Don't threadjack and don't necrobump.
Online
Closing this old thread.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed