Hi, I've been getting this update error for the past couple of days now, saying I'm not synced and that I should wait for my mirror to sync before I update. I thought it would resolve itself but it still hasn't. I found a post recommending to change the mirror using "kate /etc/pacman.d/mirrorlist" but I'm not exactly sure how to do this. The file that pops up upon using the mentioned command looks like this:

#
# KaOS repository mirrorlist
#

# Default mirror
# United Kingdom
Server = https://mirrors.fossho.st/kaos/$repo

# Germany
Server = http://mirrors.redcorelinux.org/kaosx/$repo
Server = http://mirror6.layerjet.com/kaos/$repo
Server = https://mirror.alpix.eu/kaos/$repo

etc..

Does this mean my current default mirror is the UK because I checked the mirror status on the website and the UK mirror is showing as online and fully synced. I also noticed that the UK URL on the mirror status page doesn't end with /$repo but I'm not sure if that means anything.
Sorry if this is a silly question 😅 , thanks in advance for your help 🙂

If you checked https://kaosx.us/packages/mirrors.php for mirror status, then you are correct, the fosshost mirror shows as synced.
But that mirror uses Fastly to connect to some 20 mirrors around the world (that is why it is the default mirror). So there is a slight possibility you are connecting to a not syncing mirror. But before accepting that, a little more info is needed.
Post the complete /etc/pacman.d/mirrorlist and /etc/pacman.conf. Enclose the output of those files with 3 backticks (```) for readability. That is done for you now in the first post. And post the full output of the syncing error message you get.
To make sure it is not a bad local database, run sudo pacman -Syy to force a refreshing of the db.

  • Sky likes this.

'core' is not synced.Do not update, wait for your mirror to sync.

I am constantly getting this message.Can someone help?

Thanks a lot

Hi, here's the info you requested, thanks!

sudo pacman -Syy
Password: 
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirrors.fossho.st : The requested URL returned error: 503
 core                   52.2 KiB   127 KiB/s 00:00 [---------------------] 100%
error: failed retrieving file 'main.db' from mirrors.fossho.st : The requested URL returned error: 503
 main                  195.3 KiB   473 KiB/s 00:00 [---------------------] 100%
error: failed retrieving file 'apps.db' from mirrors.fossho.st : The requested URL returned error: 503


/etc/pacman.d/mirrorlist

#
# KaOS repository mirrorlist
#

# Default mirror
# United Kingdom
Server = https://mirrors.fossho.st/kaos/$repo

# Germany
Server = http://mirrors.redcorelinux.org/kaosx/$repo
Server = http://mirror6.layerjet.com/kaos/$repo
Server = https://mirror.alpix.eu/kaos/$repo

# Canada
Server = https://ca.kaosx.cf/$repo

# China
Server = https://mirrors.tuna.tsinghua.edu.cn/KaOS/$repo
Server = https://mirrors.nju.edu.cn/kaos/$repo
Server = http://mirrors.nju.edu.cn/kaos/$repo
Server = https://mirrors.aliyun.com/KaOS/$repo
Server = http://mirrors.aliyun.com/KaOS/$repo

# Czech Republic
Server = http://mirror.234.cz/kaos/$repo

# France
Server = https://fr.kaosx.cf/$repo
Server = http://kaos.youm.org/$repo

# Netherlands
Server = https://mirror.easylee.nl/kaos/$repo
Server = http://mirror.easylee.nl/kaos/$repo
Server = https://repo.kaosx.us/$repo

# United States
Server = https://mirror.math.princeton.edu/pub/kaoslinux/$repo
Server = http://mirror.dacentec.com/kaosx/$repo
Server = http://kaosx.tk/repo/$repo
Server = https://kqtos.tk/repo/$repo


# Vietnam
Server = https://mirror.freedif.org/KaOS/$repo




#
# /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
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -L -C - -f -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 (all disabled by default)
#UseSyslog
#ShowSize
Color
#TotalDownload
CheckSpace
VerbosePkgLists
ILoveCandy

# 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 = Never
LocalFileSigLevel = Never
#RemoteFileSigLevel = Required

#
# 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.
#

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

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

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

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs  ```
    Merged 1 post from Core Update.

    @drago merged into existing thread, see my first reply here for needed additional info.

      Sky I tried to replicate with a few installs, to see if something is wrong with fosshost, all good here, so it probably is a location issue.
      Just try a different mirror, best one close to you. Comment out the fosshost mirror (place a # in front of the Server line, like:

      # Server = https://mirrors.fossho.st/kaos/$repo

      then place the mirror you want to use as the first uncommented mirror. To update & force a new database, it will be good to update with sudo pacman -Syyuu

      • Sky replied to this.
      • Sky likes this.

        demm So I did as you suggested and picked a different mirror (from the Netherlands this time) and it's now syncing but then it's offering to downgrade the knotification fix you posted a couple of days ago. Is this something I have to do just to be fully synced again and then later get the updates and the knotification fix back? thanks

        sudo pacman -Syyuu
        Password: 
        :: Synchronizing package databases...
         core                   52.2 KiB   149 KiB/s 00:00 [---------------------] 100%
         main                  195.3 KiB   416 KiB/s 00:00 [---------------------] 100%
         apps                  194.1 KiB  1449 KiB/s 00:00 [---------------------] 100%
        :: Starting full system upgrade...
        warning: knotifications: downgrading from version 5.83.0-2 to version 5.83.0-1
        resolving dependencies...
        looking for conflicting packages...
        
        Package (1)          Old Version  New Version  Net Change  Download Size
        
        apps/knotifications  5.83.0-2     5.83.0-1       0.00 MiB       0.16 MiB
        
        Total Download Size:   0.16 MiB
        Total Installed Size:  0.53 MiB
        Net Upgrade Size:      0.00 MiB
        
        :: Proceed with installation? [Y/n]  ```

        The uu part forces install of packages in the database only, thus the downgrade offering for knotification (it has not moved yet from the build repo, but will move shortly). Your choice to downgrade, or update with regular pacman -Syu now that you databases are properly synced. Even a regular update will give a warning that a local package is newer then repo, but you know why. Message will go away once knotification has moved & mirrors have synced.

        • Sky replied to this.
        • Sky likes this.

          demm Ok great I'll just do a regular Syu update then, thanks a lot for all your help!! 😄

          Sky thanks a lot....
          tried but no luck, keep getting this message:md5sum:
          /tmp/.1000mirrordb.tmp: No such file or directory
          'core' is not synced.Do not update, wait for your mirror to sync.

          demm
          getting this as well after checking....rror: failed retrieving file 'core.db' from mirrors.fossho.st : Resolving timed out after 10000 milliseconds
          core 52.2 KiB 65.7 KiB/s 00:01 [------------------------------------------------------------] 100%
          error: failed retrieving file 'main.db' from mirrors.fossho.st : Could not resolve host: mirrors.fossho.st
          main 195.4 KiB 158 KiB/s 00:01 [------------------------------------------------------------] 100%
          error: failed retrieving file 'apps.db' from mirrors.fossho.

          Hi, you have a whole big tutorial here, I'm going to deal with it half the night tonight, thanks for your work !!