I just tried updating and it was taking a long time, hanging on retrieving, until Cachy-Update aborted with too many errors from krfoss.org. I ran cachyos-rate-mirrors and tried again with the same results. Any ideas?
I’m also having issues with any mirror I try.
do a cachyos-rate-mirrorsthen try again.
I just had to do it because I was having same problems.
As others have said .. if you have trouble with mirrors then one of the first things would probably be to sort or rank them.
For whatever it is worth krfoss is an Arch mirror and not a Cachy one.
(Though our systems should be using both.)
As I mentioned in the OP, the first thing I did was to run cachyos-rate-mirrors with the same results.
I don’t know why an Arch mirror would be in my list, I haven’t manually edited anything that would add it to my knowledge. I’ll run another rate mirrors and try again. Should I edit a mirror list somewhere and if so, with what?
All functional Cachy systems should be using both Arch and Cachy mirrors.
If you want to double check the repositories are correctly configured we could look at the /etc/pacman.conf file.
The mirrorlist files populated by the ranking tools (qnd what you would use if you wanted to, for example, manually comment out a mirror) would be at /etc/pacman.d/*mirrorlist.
I just did another cachyos-rate-mirrors and Cachy-Update completed.
Thanks everyone.
@cscs Thanks for the info. How would I check if the repositories are correctly configured?
It depends on multiple factors what exactly it would look like.
They are not all the same. v3 or v4 for example. Some only have [cachyos] on top of arch.
But if you showed the file we could see.
Otherwise I guess you could compare to the instructions/examples here;
@cscs Here’s my /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
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
ILoveCandy
#NoProgressBar
CheckSpace
VerbosePkgLists
DisableDownloadTimeout
ParallelDownloads = 10
DownloadUser = alpm
#DisableSandbox
#DisableSandboxFilesystem
#DisableSandboxSyscalls
# 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 Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# 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.
#
# cachyos repos
[cachyos-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-core-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-extra-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
# The testing 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.
#[core-testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
#[extra-testing]
#Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
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’ve got 4 mirrorlists in etc/pacman.d/
cachyos-mirrorlist
cachyos-v3-mirrorlist
cachyos-v4-mirrorlist
mirrorlist
Do you want me to paste their contents?
I’m not sure why I have a v4 mirrorlist, my CPU is a Ryzen 7 3700x?
P.S. Sorry, I’m a little slow and focus is fuzzy after my chemo today.
No worries. Seems fine to me even if it has an odd number of empty lines.