You are not logged in.

#1 2019-03-18 19:31:53

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

[SOLVED]several no such file or directory warning messages

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

#2 2019-03-18 20:05:59

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED]several no such file or directory warning messages

Reinstall btrfs-progs and ipython.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2019-03-18 21:01:57

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: [SOLVED]several no such file or directory warning messages

Trilby wrote:

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

#4 2019-03-18 21:37:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED]several no such file or directory warning messages

Offline

#5 2019-03-19 09:26:47

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: [SOLVED]several no such file or directory warning messages

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

Board footer

Powered by FluxBB