Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Can't find package python-pytorch (Read 965 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Can't find package python-pytorch

Hi, I'm new to Artix.
pacman -Ss python-pytorch doesn't return anything, while the package exists in the arch repo ( https://archlinux.org/packages/community/x86_64/python-pytorch/ ). I don't think python-pytorch depends on systemd, is there any other reason why I can't find it.

Re: Can't find package python-pytorch

Reply #1
Hi,
Welcome to Artix.
Do you have the arch community repo enabled in /etc/pacman.conf ?

Re: Can't find package python-pytorch

Reply #2
yes, probably very easy reason, you don't enabled archlinux repo in your pacman.conf

Re: Can't find package python-pytorch

Reply #3
Yeah pacman was updated and seems that repos like extra and community vanished. Searched for firefox and same was not available cos i have only system, world and galaxy repos enabled. We have to add "extra" and "community" repos in /etc/pacman.conf but i don't know how yet. Thanks once again Alium for your making it clear. :)
All we have to do is adding this if i get it right. Wait for some confirmation from experienced artix users if this is correct

Code: [Select]
[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include =/etc/pacman.d/mirrorlist

After "system", "world" and "galaxy" cos artix has to be first

Re: Can't find package python-pytorch

Reply #4
"Include = /etc/pacman.d/mirrorlist-arch" is right!!! 😉

new pacman.conf was installed as pacman.conf.pacnew. so my originally pacman.conf was not touched. but i edited it a some time ago, so i guess  a pacman.conf which was never edited could be replaced by new pacman.conf directly... and your extra and community repo was gone...

Re: Can't find package python-pytorch

Reply #5
So i should rename from "pacman.conf" into "pacman.conf.pacnew" and add "......mirrorlist-arch" at the end? Cos i have no pacman.conf.pacnew file. Tried to add mirrorlist-arch at the end and now doesn't seem to work at all :o . I have to mention i'm on runit flavor of artix if that has something to do with this problem

Re: Can't find package python-pytorch

Reply #6
https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave
you should manually adapt new changes from pacman.conf.pacnew to your  pacman. conf.
if missing extra, community in your pacman.conf, you should add this entries at end of pacman.conf :
Code: [Select]
[extra]
Include = /etc/pacman.d/mirrorlist-arch

[community]
Include =/etc/pacman.d/mirrorlist-arch

what for difficulties you search on simple update of pacman package? my pacman working with new pacman package even without modify/adapting from pacman.conf.pacnew

guys, what you did, that you broke your pacman configuration??  :o

 

Re: Can't find package python-pytorch

Reply #7
There is a new optdepend of pacman called artix-archlinux-support.
If you want to use arch repos, you better have this new package installed, it provides compatibility symlinks.
If not installed, arch packages that use sysusers and/or tmpfiles will throw errors on installing them.