this post was submitted on 07 Sep 2024
4 points (83.3% liked)

Arch Linux

7759 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 months ago (1 children)

giving this a try: sudo reflector --latest 10 --protocol https --country 'United States' --sort rate --save /etc/pacman.d/mirrorlist

[–] [email protected] 1 points 2 months ago (1 children)

no luck. still getting: error: target not found: python-polib

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago) (1 children)

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

[–] [email protected] 1 points 2 months ago (1 children)
[–] [email protected] 3 points 2 months ago (1 children)

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?

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

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

[–] [email protected] 4 points 2 months ago* (last edited 2 months ago) (1 children)

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 so we can rule out any weird dns fuckiness?

[–] [email protected] 1 points 2 months ago (1 children)

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.

[–] [email protected] 2 points 2 months ago (1 children)

Entertain me, what's the output of pacman -Qi python| grep Architecture?

[–] [email protected] 1 points 2 months ago (1 children)

pacman -Qi python | grep Architecture yields Architecture : x86_64

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago) (5 children)

this is very, very strange behavior you're seeing then. I have the following in my /etc/pacman.conf

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

Does yours look like that?

and for mirror list, I have the following mirrors:

Server = https://mirror.stephanie.is/archlinux/$repo/os/$arch
Server = https://nocix.mm.fcix.net/archlinux/$repo/os/$arch
Server = https://ohioix.mm.fcix.net/archlinux/$repo/os/$arch
Server = https://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch
Server = https://arch.mirror.ivo.st/$repo/os/$arch

these settings yield me the python library just fine

Edit: the multilib repo is optional in the pacman.conf, as the package you want is in the Extra repo.

[–] [email protected] 1 points 2 months ago

that asciicinema thing is super cool too

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

so... i did another reflector refresh and then did an Syyu. Now this is happening...

this is with the mirrorlist shown in the picture below. not sure why i'd be getting almost 3 gigs of updates right now. i've been updating this and using this machine daily for months on this installation. when that is complete i'll try for python-polib again.

about 15 ruby packages got replaced with extra/ruby just now too.

[–] [email protected] 2 points 2 months ago

well... thats a good sign at least. hopefully it finally latched on to some working mirrors then. I'd surely think it should find that library now lol

[–] [email protected] 1 points 2 months ago (1 children)

okay i got it now.

was something wrong with the mirror i was using? if so, is there some way to know if i have a "lesser" mirror? or was the arch linux world just going thru a major update today and i had to wait it out?

[–] [email protected] 2 points 2 months ago (1 children)

My only gut 'guess' is that your original mirror was out of date, then you happened to switch to one mid sync potentially.

[–] [email protected] 2 points 2 months ago

thanks so much for the coaching!