Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Cannot sync Arch Repos (Read 921 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Cannot sync Arch Repos

Hello,

I've put  the Arch repos into /etc/pacman.conf  following the Artix wiki : https://wiki.artixlinux.org/Main/Repositories

Looks like this now :

Code: [Select]
### Artix ###
[system]
Include = /etc/pacman.d/mirrorlist

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

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

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

### Arch ###
 [extra]
 Include = /etc/pacman.d/mirrorlist-arch

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

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


The error is:
Code: [Select]
error: config file /etc/pacman.d/mirrorlist-arch could not be read: No such file or directory

This is a fresh base install with runit, no DE, no WM, no xorg.

I wanted to use the Artix repos only but cannot find what I needed.

Re: Cannot sync Arch Repos

Reply #1
Code: [Select]
pacman -S artix-archlinux-support

Re: Cannot sync Arch Repos

Reply #2
Thank you, looks like is working now.

Re: Cannot sync Arch Repos

Reply #3
As a lesson: read the wiki again

 

Re: [SOLVED] Cannot sync Arch Repos

Reply #4
another way of diagnosing problems is to real read what the error says:

Code: [Select]
/etc/pacman.d/mirrorlist-arch could not be read: No such file or directory

if you run a search for arch mirrorlist you will find many recent entries of mirrors, you select a few near you, you add them in this missing file mirrorlist-arch, and most likely the problem is gone, till those mirrors stop working.

The artix pkg, among other things, takes Arch's archlinux-mirrorlist pkg and the produced mirrorlist file and renames if mirrorlist-arch and places it into /etc/pacman.d 

Also, say you have a reliable mirror next-door to you called https://arch-mirror-site.edu.ez   you can comment #Include = .....rlist-arch and add Server = https://arch-mirror-site.edu.ez in each arch repository on pacman.conf, a single mirror solution.

So there are various ways to skin an arch-cat