Skip to main content
Topic: trying to add arch repositories to mirrorlist (Read 1254 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

trying to add arch repositories to mirrorlist

so i am trying to add the arch extra repository because of blender,
i got the mirrors from here for artix
https://wiki.artixlinux.org/Main/Mirrors

and then followed the Arch repositories GuIdE
https://wiki.artixlinux.org/Main/Repositories
i comented out the [extra], w that comented out syncing everything works fine, but with it uncomented im getting that following error
Code: [Select]
# cat /etc/pacman.conf 
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Artix Linux
# packagers with `pacman-key --populate artix`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The gremlins repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[system-gremlins]
#Include = /etc/pacman.d/mirrorlist

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

#[world-gremlins]
#Include = /etc/pacman.d/mirrorlist

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

#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist

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

# If you want to run 32 bit applications on your x86_64 system,
# enable the lib32 repositories as required here.

#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist

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

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs


########################################### i added these to support arch reopsitories not just artix, refer to artixlinux dot org/Main/Repositories


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


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


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


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


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


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


the error im getting
Code: [Select]
pacman -Syu
error: GPGME error: No data
:: Synchronizing package databases...
error: failed to synchronize all databases (no servers configured for repository)

mirrorlist artix
Code: [Select]
# cat /etc/pacman.d/mirrorlist
##
## Artix Linux repository mirrorlist
## Generated on 2023-08-09
##

# Artix mirrors
# Use rankmirrors(1) to get a list of the fastest mirrors for your location,
# e.g.: rankmirrors -v -n 5 /etc/pacman.d/mirrorlist
# Then put the resulting list on top of this file.

# Default mirrors
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch
#Server = http://ftp.ntua.gr/pub/linux/artix-linux/$repo/os/$arch

## Europe
# Czech Republic
Server = https://ftp.sh.cvut.cz/artix-linux/$repo/os/$arch
# Denmark
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://mirror.one.com/artix/$repo/os/$arch
# France
Server = https://artix.cccp.io/$repo/os/$arch
Server = https://ftp.crifo.org/artix/repos/$repo/os/$arch
Server = https://mirror.opensrv.org/artixlinux/$repo/os/$arch
# Hungary
Server = https://quantum-mirror.hu/mirrors/pub/artix-linux/$repo/os/$arch
# Germany
Server = https://mirror.netcologne.de/artix-linux/$repo/os/$arch
#Server = http://mirrors.redcorelinux.org/artixlinux/$repo/os/$arch
Server = https://mirror.pascalpuffke.de/artix-linux/$repo/os/$arch
Server = https://ftp.uni-bayreuth.de/linux/artix-linux/$repo/os/$arch
Server = https://ftp.halifax.rwth-aachen.de/artixlinux/$repo/os/$arch
Server = https://artix.unixpeople.org/repos/$repo/os/$arch
Server = https://mirror1.artixlinux.org/repos/$repo/os/$arch
Server = https://eu-mirror.artixlinux.org/repos/$repo/os/$arch
Server = https://tools.sphnet.in/mirror/artix/$repo/os/$arch
# Greece
Server = https://ftp.cc.uoc.gr/mirrors/linux/artixlinux/$repo/os/$arch
Server = http://ftp.ntua.gr/pub/linux/artix-linux/$repo/os/$arch
# Monaco
Server = https://mirrors.qontinuum.space/artixlinux/$repo/os/$arch
# Poland
Server = https://artix.sakamoto.pl/$repo/os/$arch
# Sweden
Server = https://ftp.ludd.ltu.se/mirrors/artix/$repo/os/$arch
# Switzerland
Server = https://artix.kurdy.org/$repo/os/$arch
# United Kingdom
Server = http://artist.artixlinux.org/repos/$repo/os/$arch
Server = https://mirror.vinehost.net/artix-linux/$repo/os/$arch

## North America
# United States
Server = https://artix.wheaton.edu/repos/$repo/os/$arch
Server = https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch
Server = https://mirrors.rit.edu/artixlinux/$repo/os/$arch
Server = https://mirrors.ocf.berkeley.edu/artix-linux/$repo/os/$arch
Server = http://www.nylxs.com/mirror/repos/$repo/os/$arch
Server = https://us-mirror.artixlinux.org/$repo/os/$arch
# Canada
Server = https://mirror.csclub.uwaterloo.ca/artixlinux/$repo/os/$arch

## South America
# Brazil
Server = https://gnlug.org/pub/artix-linux/$repo/os/$arch
# Chile
Server = https://mirror1.cl.netactuate.com/artix/repos/$repo/os/$arch

## Asia
# China
Server = https://mirrors.tuna.tsinghua.edu.cn/artixlinux/$repo/os/$arch
Server = https://mirrors.aliyun.com/artixlinux/$repo/os/$arch
Server = https://mirror.nju.edu.cn/artixlinux/$repo/os/$arch
# India
Server = https://mirror.albony.xyz/artix/$repo/os/$arch
# Korea, Republic of
Server = https://mirror.funami.tech/artix/$repo/os/$arch
# Singapore
Server = https://mirror.freedif.org/Artix/$repo/os/$arch
# Taiwan
Server = https://mirrors.cloud.tencent.com/artixlinux/$repo/os/$arch
# Vietnam
Server = https://mirrors.42tm.tech/artix-linux/$repo/os/$arch

## Oceania
# Australia
Server = https://mirror.aarnet.edu.au/pub/artix/$repo/os/$arch


mirrorlist arch- just one, according to the website where u can check if these mirrors are up n active it is active and all good
Code: [Select]
# cat /etc/pacman.d/mirrorlist-arch-myjustcanada 
##
## Arch Linux repository mirrorlist
## Generated on 2023-12-31
##

## Canada
Server = https://mirror.quantum5.ca/archlinux/$repo/os/$arch



Re: trying to add arch repositories to mirrorlist

Reply #1
Code: [Select]
#[extra]
#Include = /etc/pacman.d/mirrorlist-arch
If we take your post to the letter, shouldn't this point to /etc/pacman.d/mirrorlist-arch-myjustcanada instead?