Hello and welcome,
I’ve been using this for a while now and it’s working fine :
reflector --completion-percent 100 --delay 0.5 -f 15 -p https --sort rate --country FR,DE,AT,SE,US --save /etc/pacman.d/mirrorlist
Hello and welcome,
I’ve been using this for a while now and it’s working fine :
reflector --completion-percent 100 --delay 0.5 -f 15 -p https --sort rate --country FR,DE,AT,SE,US --save /etc/pacman.d/mirrorlist
when i ping any link it just says
“ping: name or service not known”
ping: https://mirror.dal10.us.leaseweb.net/archlinux//os/: Name or service not known
maybe that’s not how i should write the links idk
and when i write eos-update --check-mirrors
this is the output
==> eos-rankmirrors: error: error detected at function Main, line 712:
internet connection not available!
Usage: eos-rankmirrors [options]
Options:
--help, -h
This help.
--ignore '<wordlist>'
Mirrors to be ignored from the result.
This is useful for e.g. ignoring non-functional mirrors.
The <wordlist> is a list of words separated by a pipe '|' character.
Each word should be a unique part of a mirror address.
Note that the list should be enclosed in single quotes
if it includes more than one word.
Example:
eos-rankmirrors --ignore='funami|pizza'
--mirror-verbosity <value>
How much information will be shown when a mirror fails.
Supported values: see file /etc/eos-rankmirrors.conf, setting
EOS_RANKMIRRORS_EXIT_CODE_VERBOSITY.
--no-save, -n
Don't save the generated mirrorlist.
--prefer '<list-of-mirrors>'
List of preferred mirror addresses.
[idir@Arch-machine ~]$ eos-update --check-mirrors
eos-update: unrecognized option '--check-mirrors'
eos-update is a package updater for EndeavourOS and Arch.
eos-update is implemented as a wrapper around commands pacman and optionally yay/paru.
Essentially runs commands 'pacman -Syu' and optionally 'yay -Sua' or 'paru -Sua'.
eos-update includes (by default) special help in the following situations:
[idir@Arch-machine ~]$ eos-update --check-mirrors
eos-update: unrecognized option '--check-mirrors'
eos-update is a package updater for EndeavourOS and Arch.
eos-update is implemented as a wrapper around commands pacman and optionally yay/paru.
Essentially runs commands 'pacman -Syu' and optionally 'yay -Sua' or 'paru -Sua'.
eos-update includes (by default) special help in the following situations:
- A dangling pacman db lock file (/var/lib/pacman/db.lck).
- Disk space availability for updates (with a configurable minimum space).
- Keyring package updating before others.
- Running the 'sync' command after update.
Optional help:
- Can clear package databases in case of contant problems with them.
- Can reset keyrings in case of constant problems with them.
- Updates AUR packages (with option --helper, see Usage below).
- Ad hoc check for Nvidia GPU driver vs. kernel updates (non-dkms only).
Usage: eos-update [options]
Options:
--help, -h This help.
--nvidia Check also nvidia driver vs. kernel updates. Useful only with the Nvidia GPU.
--clear-databases Clears package database files.
Use this only if package database issues constantly make system update fail.
--keyrings-reset Resets Arch and EndeavourOS keyrings.
Use this only if keyring issues constantly make system update fail.
--no-keyring Do not try to update keyrings first.
--no-sync Do not run 'sync' after update.
--show-only-fixed Show only packages that have already been fixed (runs: arch-audit -u) and exit.
--show-upstream-news Show the news page of the upstream site and exit.
--helper AUR helper name. Supported: yay, paru, pacman.
Default: pacman
Other AUR helpers supporting option -Sua like yay should work as well.
--paru Same as --helper=paru.
--yay Same as --helper=yay.
--aur Uses the AUR helper configured in /etc/eos-script-lib-yad.conf.
--pacman Same as --helper=pacman. Default. (Note: pacman does not support AUR directly).
--min-free-bytes Minimum amount of free space (in bytes) that the root partition should have
before updating. Otherwise a warning message will be displayed.
Default: 1000000000
Tip: create an alias in file ~/.bashrc for eos-update to have the options you need, for example:
# Enable Nvidia update check, disable sync execution, use paru for AUR updates.
alias eos-update='eos-update --nvidia --no-sync --paru'
alright thx it didn’t really fix it but the command looks sophisticated imma use it
==> eos-rankmirrors: error: error detected at function Main, line 712:
internet connection not available!
Usage: eos-rankmirrors [options]
Options:
--help, -h
This help.
--ignore '<wordlist>'
Mirrors to be ignored from the result.
This is useful for e.g. ignoring non-functional mirrors.
The <wordlist> is a list of words separated by a pipe '|' character.
Each word should be a unique part of a mirror address.
Note that the list should be enclosed in single quotes
if it includes more than one word.
Example:
eos-rankmirrors --ignore='funami|pizza'
--mirror-verbosity <value>
How much information will be shown when a mirror fails.
Supported values: see file /etc/eos-rankmirrors.conf, setting
EOS_RANKMIRRORS_EXIT_CODE_VERBOSITY.
--no-save, -n
Don't save the generated mirrorlist.
--prefer '<list-of-mirrors>'
List of preferred mirror addresses.
Adds given mirror addresses as the first in the EndeavourOS mirrorlist.
The <list-of-mirrors> is a list of mirror addresses separated by
a pipe '|' character.
Note that the list must be enclosed in single quotes.
Example:
eos-rankmirrors --prefer='https://endeavour.remi.lu/repo/$repo/$arch'
--show-orig-list
Add the original mirror list into /etc/pacman.d/endeavouros-mirrorlist.
Supported values: "yes" (default) or "no".
--show-rank-info
Show the ranking data in /etc/pacman.d/endeavouros-mirrorlist.
Supported values: "yes" (default) or "no".
--sort <value>
Primary key for sorting the mirrors.
Supported key values:
age (latest first)
rate (fastest first)
Default: age.
--timeout, -t <value>
Set the timeout value (in seconds) for checking a mirror.
Default: 30.
--use-local-mirrorlist
For testing purposes.
Uses information in local /etc/pacman.d/endeavouros-mirrorlist as the base for ranking.
--verbose
Show more detailed output.
Advanced options:
--list-only
Save only the mirrorlist without the ranking statistics.
--mirror-add
Temporarily add a mirror URL for ranking (for testing purposes only).
I tried no luck i was using france then added germani, spain, swiss, and just in case i used usa, canada didnt work so i just switched back
i used this recommended by @vazicebon reflector --completion-percent 100 --delay 0.5 -f 15 -p https --sort rate --country FR,DE,AT,SE,US --save /etc/pacman.d/mirrorlist
I don’t know how to help you here, but I will say that this freezing during the update process has happened to me twice and both times, it lead to the complete destruction of the OS. It has ultimately lead me to switch off EnOS to see if it is a problem with the distro or something else.
ping works with servernames, not with URLs. You should do:
ping mirror.dal10.us.leaseweb.net
Your adding more countries …maybe it’s one of the countries your using that has bad mirrors you need to remove such as France? Try one or another and see after adding another country as suggested.
I just tried my command above, and I have no errors, it seems like there’s something else.
What does the following command show?
eos-connection-checker && echo OK || echo FAIL
Edit: you might want to try adding this line into your /etc/pacman.conf:
DisableDownloadTimeout
(for example right after the line about ParallelDownloads
).
I am starting to think that is a hardware/compatibility issue if it’s possible bcuz it happened to me in both distros i used (arch/endeavour)
so each of my servers in the mirror list pings as normal
idk if this what u meant but what i did is every time i add only one country mirrors then delete it and put another one and so on, i used the mirror list gen from archlinux.org i made sure to ping each server, well it works but again this is the output
sudo pacman -Syu
gives
:: Synchronizing package databases...
error: failed to synchronize all databases (no servers configured for repository)
same for yay
before adding the line the output is FAIL
after adding the line in pacman.conf
Color
ILoveCandy
#NoProgressBar
#CheckSpace
VerbosePkgLists
ParallelDownloads = 5
DisableDownloadTimeout
# By default, pacman accepts packages signed by keys that its local keyring
the output is still FAIL
Check /etc/pacman.conf
Should be like this https://0x0.st/Xw9-.txt
Do you have a firewall anywhere in the chain? Anything that is blocking ports?
Post contents of /etc/pacman.conf
nope pretty sure no cuz i tried on a VM and it works perfectly
This means that you have a repo in your /etc/pacman.conf for which you have no mirrors/servers specified.
Post the contents of /etc/pacman.conf as requested before.
Also run sudo pacman -Syu
and post the whole of the output from the beginning and not only the error part.
#
# /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 dracut kernel-install-for-dracut eos-dracut
#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
ILoveCandy
#NoProgressBar
#CheckSpace
VerbosePkgLists
ParallelDownloads = 5
DisableDownloadTimeout
# 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.
#
# 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.
[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist
#[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
looks the same as the conf that @ricklinux posted