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

Arch Linux

7173 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
[–] egsaqmojz@lemmy.ml 1 points 1 week ago* (last edited 1 week ago) (13 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

[–] axum@lemmy.blahaj.zone 4 points 1 week ago* (last edited 1 week ago) (12 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?

[–] egsaqmojz@lemmy.ml 1 points 1 week ago (11 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.

[–] axum@lemmy.blahaj.zone 2 points 1 week ago (1 children)

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

[–] egsaqmojz@lemmy.ml 1 points 1 week ago (1 children)

pacman -Qi python | grep Architecture yields Architecture : x86_64

[–] axum@lemmy.blahaj.zone 2 points 1 week ago* (last edited 1 week 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.

[–] egsaqmojz@lemmy.ml 1 points 1 week 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?

[–] axum@lemmy.blahaj.zone 2 points 1 week 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.

[–] egsaqmojz@lemmy.ml 2 points 1 week ago

thanks so much for the coaching!

[–] egsaqmojz@lemmy.ml 1 points 1 week ago

that asciicinema thing is super cool too

[–] egsaqmojz@lemmy.ml 1 points 1 week ago* (last edited 1 week 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.

[–] axum@lemmy.blahaj.zone 2 points 1 week 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

load more comments (9 replies)
load more comments (9 replies)
load more comments (9 replies)