You are not logged in.
➜ ~ sudo pacman -Q python-pip
python-pip 19.2.3-3
➜ ~ sudo pacman -Q python
python 3.8.0-1
➜ ~ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib-testing is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
there is nothing to do
➜ ~ pip list
Traceback (most recent call last):
File "/usr/bin/pip", line 11, in <module>
load_entry_point('pip==19.2.3', 'console_scripts', 'pip')()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
return ep.load()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
return self.resolve()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3.8/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "/usr/lib/python3.8/site-packages/pip/_internal/cli/cmdoptions.py", line 24, in <module>
from pip._internal.models.search_scope import SearchScope
File "/usr/lib/python3.8/site-packages/pip/_internal/models/search_scope.py", line 11, in <module>
from pip._internal.utils.misc import normalize_path, redact_password_from_url
File "/usr/lib/python3.8/site-packages/pip/_internal/utils/misc.py", line 24, in <module>
from pip._vendor.retrying import retry # type: ignore
ModuleNotFoundError: No module named 'pip._vendor.retrying'
Anyone else seeing this?
The non-obvious solution -- Well, at least initially upfront to me and therefore the reason why I asked for help. -- turns out to be
pacman -S $(pacman -Qqo /usr/lib/python3.8/)
To query for what packages own (i.e., change the contents of) the path /usr/lib/python3.8/ (For me with a 2 day old install, this was 117 packages.) and then synchronize these packages thereby removing problem.
I also removed unneeded multilib-test repo and archfr repos by commenting them the first and deleting the second out of my pacman.conf and then executing
pacman -Suu
to synchronize enabling both upgrades and down grades. This one is a bit more unobvious to me, but this is the command the documentation tells you to do.
Thank you to those who responded graciously offering their assistance.
Last edited by nemonik (2019-11-16 05:02:38)
Offline
Please use [ code ] [ /code ] tags for pasting outputs.
type -a pip
Last edited by V1del (2019-11-15 08:53:43)
Offline
core is up to date
extra is up to date
community is up to date
multilib-testing is up to date
archlinuxfr is up to date
your pacman.conf repo-list shows atleast 2 issues that could cause big problems :
- archlinuxfr - yaourt stopped being maintained several years ago, what do you need from archlinuxfr repo ?
- You only have multilib-testing enabled and not the other testing repos, that is a very bad idea.
Check the colored box at https://wiki.archlinux.org/index.php/Of … positories
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I'm also seeing the same error.
I'm not using archlinuxfr nor mutlitib-testing though.
Offline
Same error for me after updating.
type -a pip:
pip is /bin/pip
pip is /usr/bin/pip
pacman -Syu:
core is up to date
extra is up to date
community is up to date
multilib is up to date
Offline
Are any of you holding back python-msgpack for some reason? Don't do that. Otherwise
python -c 'import pip._vendor.cachecontrol; print(repr(pip._vendor.cachecontrol))'
you might want to look through some things posted here: https://www.reddit.com/r/archlinux/comm … ositories/
Also general disclaimer, do not ever install pip packages system wide and doubly so if the package in question already exists as a pacman package, you will break something.
Offline
you might want to look through some things posted here: https://www.reddit.com/r/archlinux/comm … ositories/
That's it! I've a private python library which I configured with python-setuptools, build a package and installed it through pacman. I had to rebuild the pacman package.
Thanks a lot.
Offline
reinstall the python-retrying package, you'll likely need to reinstall the python-progress and more, look at the /usr/lib/python3.8/site-packages/pip/_vendor/__init__.py file for hints
when something gets installed and it appears to still break, load up idle and try to import it by hand to see what secondary module is breaking the original import
aka, python-html5lib will depend on python-webencodings
Last edited by FirefighterBlu3 (2019-11-15 15:25:11)
Offline
you might want to look through some things posted here: https://www.reddit.com/r/archlinux/comm … ositories/
Also general disclaimer, do not ever install pip packages system wide and doubly so if the package in question already exists as a pacman package, you will break something.
yay -S $(yay -Qqo /usr/lib/python3.8/)
fixed it for me.
Thanks!
Offline
@V1del i'm using code markup now... markdown is a habit.
@Lone_Wolf the link you provided had guidance for disDisabling testing repositories
If you enabled testing repositories, but later on decided to disable them, you should:
Remove (comment out) them from /etc/pacman.conf
Perform a pacman -Syuu to "rollback" your updates from these repositories.
The second item is optional, but keep it in mind if you notice any problems.abling the testing repos if no longer needed... Well, I don't need them
but the
pacman -Syuu
fails with
➜ ~ sudo pacman -Syuu
[sudo] password for nemonik:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
error: failed to update multilib-testing (no servers configured for repository)
error: failed to synchronize all databases
any idea how to fix?
this didn't work either
➜ ~ sudo pacman -Sc
Packages to keep:
All locally installed packages
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove all other packages from cache? [Y/n] y
removing old packages from cache...
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories...
➜ ~ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
error: failed to update multilib-testing (no servers configured for repository)
error: failed to synchronize all databases
nor did
➜ ~ ls /var/lib/pacman/sync
community.db community.files core.db core.files extra.db extra.files multilib-testing.db multilib-testing.files
➜ ~ sudo mv /var/lib/pacman/sync/multilib-testing.db /tmp/.
➜ ~ sudo mv /var/lib/pacman/sync/multilib-testing.files /tmp/.
➜ ~ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
error: failed to update multilib-testing (no servers configured for repository)
error: failed to synchronize all databases
Last edited by nemonik (2019-11-15 18:12:43)
Offline
You need to comment out the entire section - the [multilib-testing] line as well.
Offline
i did.
[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
i think i read too much into the docs... the second command is in fact optional and you have to do a system update like so
➜ ~ sudo pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (5) dhcpcd-8.1.2-1 docker-1:19.03.5-1 ghostscript-9.50-2 libreoffice-fresh-6.3.3-1 python-astroid-2.3.3-1
Total Download Size: 179.37 MiB
Total Installed Size: 626.54 MiB
Net Upgrade Size: 18.01 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
dhcpcd-8.1.2-1-x86_64 170.2 KiB 164 KiB/s 00:01 [##########################################] 100%
ghostscript-9.50-2-x86_64 12.6 MiB 285 KiB/s 00:45 [##########################################] 100%
i think and this looks like it will resolve things once complete.
Last edited by nemonik (2019-11-15 18:38:57)
Offline
And nope
➜ ~ sudo pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (5) dhcpcd-8.1.2-1 docker-1:19.03.5-1 ghostscript-9.50-2 libreoffice-fresh-6.3.3-1 python-astroid-2.3.3-1
Total Download Size: 179.37 MiB
Total Installed Size: 626.54 MiB
Net Upgrade Size: 18.01 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
dhcpcd-8.1.2-1-x86_64 170.2 KiB 164 KiB/s 00:01 [##########################################] 100%
ghostscript-9.50-2-x86_64 12.6 MiB 285 KiB/s 00:45 [##########################################] 100%
libreoffice-fresh-6.3.3-1-x86_64 129.5 MiB 236 KiB/s 09:21 [##########################################] 100%
python-astroid-2.3.3-1-any 268.1 KiB 494 KiB/s 00:01 [##########################################] 100%
docker-1:19.03.5-1-x86_64 36.8 MiB 334 KiB/s 01:53 [##########################################] 100%
(5/5) checking keys in keyring [##########################################] 100%
(5/5) checking package integrity [##########################################] 100%
(5/5) loading package files [##########################################] 100%
(5/5) checking for file conflicts [##########################################] 100%
(5/5) checking available disk space [##########################################] 100%
:: Processing package changes...
(1/5) upgrading dhcpcd [##########################################] 100%
(2/5) upgrading docker [##########################################] 100%
(3/5) upgrading ghostscript [##########################################] 100%
(4/5) upgrading libreoffice-fresh [##########################################] 100%
(5/5) upgrading python-astroid [##########################################] 100%
:: Running post-transaction hooks...
(1/7) Creating system user accounts...
(2/7) Reloading system manager configuration...
(3/7) Reloading device manager configuration...
(4/7) Arming ConditionNeedsUpdate...
(5/7) Updating icon theme caches...
(6/7) Updating the desktop file MIME type cache...
(7/7) Updating the MIME type database...
➜ ~ sudo pacman -Suy
[sudo] password for mjwalsh:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
error: failed to update multilib-testing (no servers configured for repository)
error: failed to synchronize all databases
odd the auto acknowledge
-y
would break it
Last edited by nemonik (2019-11-15 18:47:01)
Offline
my mirrorlist was generated from https://www.archlinux.org/mirrorlist/ fir my region.
Offline
i did.
[multilib-testing] #Include = /etc/pacman.d/mirrorlist
You clearly didn't. I repeat - you need to comment out the [multilib-testing] line as well.
And yes, you do need to run a....
pacman -Syuu
Offline
Dooh. Thank you.
Offline
yay -S $(yay -Qqo /usr/lib/python3.8/)
Fixed my problem too... I had yay installed.
Offline
This is ... absolutely ... f****ing absurd.
Yay is completely irrelevant in that command. That should be just the following:
pacman -S $(pacman -Qqo /usr/lib/python3.8/)
Yay just happens to be a pacman wrapper, so that is precisely what it does when you enter the yay command. If you do not understand this - and if even for a split second you thought 'yay' might actually be needed to follow that solution - then stop using yay immediately.
Last edited by Trilby (2019-11-16 00:41:16)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
@Trilby I am two days into Arch after getting it installed with a dual boot with win 10 and grub. Just two days. The gist of your message makes complete sense on reflection, but your delivery on a newbie forum is lacking.
Offline
If you have stopped using yay (or any aur helper for now), then consider the discomfort stemming from my delivery like the discomfort of being forcefully and abruptly shoved out of the way of oncoming traffic.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If anything it taught me.
Offline
@Trilby I am two days into Arch after getting it installed with a dual boot with win 10 and grub. Just two days. The gist of your message makes complete sense on reflection, but your delivery on a newbie forum is lacking.
You didn't post in Newbie Corner. You posted in the pacman forum, which is the Arch package manager.
Offline
I see, that makes your delivery okay then. Again, you have taught me something. Tip of the hat to you dear sir.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
V1del wrote:you might want to look through some things posted here: https://www.reddit.com/r/archlinux/comm … ositories/
That's it! I've a private python library which I configured with python-setuptools, build a package and installed it through pacman. I had to rebuild the pacman package.
Thanks a lot.
Thanks, I was very much saved by "pacman -Qqo /usr/lib/python3.7/ | yay -S -" from that thread. I had a very cranky Python and problems in several packages. Almost daily installation problems.
Offline