Hi all,
I have reason to believe a package I use (python-polib) was moved from the aur to the official extra repo. I’m now having trouble getting it installed.
The old page gives a 404: https://aur.archlinux.org/packages/python-polib This now seems to be the right source for this package: https://archlinux.org/packages/extra/any/python-polib/
However, I do a # pacman -Syyu python-polib
and pacman can’t find the target. Do I need to do something here that I’m missing?
My pacman.conf includes the “extra” repo and it updates during the Syyu command.
giving this a try:
sudo reflector --latest 10 --protocol https --country 'United States' --sort rate --save /etc/pacman.d/mirrorlist
no luck. still getting:
error: target not found: python-polib
What mirror entry ended up in at the top after running reflector? I can just check the mirror directly.
The package comes up for me just fine on whatever I have for a mirror currently. I’ll have to look in a bit what mirror I use
output:
Server = https://arch.mirror.constant.com/$repo/os/$arch
Server = https://mirrors.rit.edu/archlinux/$repo/os/$arch
Server = https://us.mirrors.cicku.me/archlinux/$repo/os/$arch
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirrors.vectair.net/archlinux/$repo/os/$arch
Server = https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch
Server = https://arch.hu.fo/archlinux/$repo/os/$arch
Server = https://archmirror1.octyl.net/$repo/os/$arch
Server = https://mirror.theash.xyz/arch/$repo/os/$arch
Server = https://us.arch.niranjan.co/$repo/os/$arch
Well for the arch.mirror.constant.com mirror at the top, its certainly there. so doing
pacman -Syyu python-polib
Should find the package.For sanity’s sake, you are on a X86_64 system, right?
absolutely. i’ve tried this on two x86 systems as well, my desktop and laptop. if there’s no quick fix or obvious problem, i’m not above doing a full reinstall to fix this.
i’ll spin up a vm to test too
I suppose you could also clean out cached packages with
pacman -Scc
and then delete the package database files in/var/lib/pacman/sync
so that you know for a fact that you are getting a fresh sync and it not depending on anything cached.but the package is certainly there, are you able to directly download it from https://arch.mirror.constant.com/extra/os/x86_64/python-polib-1.2.0-2-any.pkg.tar.zst from a browser?
yep, dns points me to 108.61.5.83 and i can get there by hostname and address thru the browser. i spun up a new live arch session i built with archiso. still can’t get a hit thru pacman tho. really can’t explain it.
Entertain me, what’s the output of
pacman -Qi python| grep Architecture
?