You are not logged in.

#1 2024-07-31 23:23:09

samurai_code
Member
Registered: 2024-07-31
Posts: 2

how to make pacman use configured arch linux servers

Hello, everyone. I have a question:
I am interested in my own Arch Linux build and am working on it in Archiso. At the moment, I have Manjaro Linux. I studied the Archiso documentation, configured it, and built Archiso. And after building, I encountered an unexpected problem.
The build was successful. However, it turned out that when building in Archiso, pacman uses Manjaro Linux servers, the system from which I ran the build. Accordingly, all the packages that were downloaded and placed in the build are Manjaro Linux packages, not Arch Linux. Including the Linux kernel.

I know how to set up additional, custom pacman repositories. But this is deeper. In this case, separate repositories are not needed. How can I make pacman use the configured Arch Linux servers to download packages for this distribution, and not packages for my distribution, which I have Manjaro Linux installed on me?

I understand that one way to do this is to boot from a virtual machine or a live Arch Linux distribution and build in that environment. But that's not the most convenient way. Is there another way?

Offline

#2 2024-07-31 23:45:49

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,576

Re: how to make pacman use configured arch linux servers

Edit the mirrorlist

Offline

#3 2024-08-01 23:42:05

samurai_code
Member
Registered: 2024-07-31
Posts: 2

Re: how to make pacman use configured arch linux servers

Thank you! You helped me and saved me a lot of time.

Offline

Board footer

Powered by FluxBB