You are not logged in.
Hi all,
i am here to ask some help trying to recover my arch installation.
I messed up python packages with sudo pip and pacman. I learned the lesson and now I am trying to clean up.
I uninstalled pip packages and when needed used pacman.
now, i do not know if this the cause, but using -Qk command with pacman and then filtering, i obtain more than 3k warning messages like the following:
pacman -Qk 2>&1 | egrep "^warni*."
warning: btrfs-progs: /usr/lib/python3.7/site-packages/btrfsutil-1.1.0-py3.7.egg-info/ (No such file or directory)
warning: btrfs-progs: /usr/lib/python3.7/site-packages/btrfsutil-1.1.0-py3.7.egg-info/PKG-INFO (No such file or directory)
warning: btrfs-progs: /usr/lib/python3.7/site-packages/btrfsutil-1.1.0-py3.7.egg-info/SOURCES.txt (No such file or directory)
warning: btrfs-progs: /usr/lib/python3.7/site-packages/btrfsutil-1.1.0-py3.7.egg-info/dependency_links.txt (No such file or directory)
warning: btrfs-progs: /usr/lib/python3.7/site-packages/btrfsutil-1.1.0-py3.7.egg-info/top_level.txt (No such file or directory)
warning: ipython: /usr/lib/python3.7/site-packages/backcall/ (No such file or directory)
warning: ipython: /usr/lib/python3.7/site-packages/backcall/__init__.py (No such file or directory)
warning: ipython: /usr/lib/python3.7/site-packages/backcall/__pycache__/ (No such file or directory)
warning: ipython: /usr/lib/python3.7/site-packages/backcall/__pycache__/__init__.cpython-37.pyc (No such file or directory)
...I followed this thread , however I think this is not the case.
Those files/folders effectively do not exist.
Can you help me better understand how to make everything clean?
Thanks in advance
Last edited by virusso80 (2019-03-19 09:42:47)
Offline
Reinstall btrfs-progs and ipython.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Reinstall btrfs-progs and ipython.
thanks i think i solved.
Can you please explain why that happened?
I reinstalled those packages (which according pacman were already there) twice.
The first time i got messages like:
pacman -S ipython
warning: ipython-7.3.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) ipython-7.3.0-1
Total Installed Size: 4.09 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
warning: could not get file information for usr/lib/python3.7/site-packages/backcall-0.1.0-py3.7.egg-info
warning: could not get file information for usr/lib/python3.7/site-packages/backcall/
warning: could not get file information for usr/lib/python3.7/site-packages/backcall/__init__.py
warning: could not get file information for usr/lib/python3.7/site-packages/backcall/__pycache__/
warning: could not get file information for usr/lib/python3.7/site-packages/backcall/__pycache__/__init__.cpython-37.pyc
warning: could not get file information for usr/lib/python3.7/site-packages/backcall/__pycache__/_signatures.cpython-37.pyc
warning: could not get file information for usr/lib/python3.7/site-packages/backcall/__pycache__/backcall.cpython-37.pyc
warning: could not get file information for usr/lib/python3.7/site-packages/backcall/_signatures.py
warning: could not get file information for usr/lib/python3.7/site-packages/backcall/backcall.py
:: Processing package changes...
(1/1) reinstalling ipython [######################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...then, reinstalling, again...
pacman -S ipython
warning: ipython-7.3.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) ipython-7.3.0-1
Total Installed Size: 4.09 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [################################################] 100%
(1/1) checking package integrity [################################################] 100%
(1/1) loading package files [################################################] 100%
(1/1) checking for file conflicts [################################################] 100%
(1/1) checking available disk space [################################################] 100%
:: Processing package changes...
(1/1) reinstalling ipython [################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...warning messages disappeared also grom the previous pacman -Qk command.
Thanks for the patience
Offline
Last sentence:
https://wiki.archlinux.org/index.php/Py … management
Offline
Last sentence:
https://wiki.archlinux.org/index.php/Py … management
you mean "If you must use pip, use a virtual environment, or pip install --user to avoid conflicts with packages in /usr. It is always preferred to use pacman to install software."
I got it.
Thanks
Last edited by virusso80 (2019-03-19 09:42:27)
Offline