Eschwartz.db 404ing on package sync

pacman has been failing to sync databases for a few month now which means ive not been able to install updates or new packages. I finally got some time last night to take a look. The error message I am getting is a 404 when trying to sync the eschwartz.db.

This only occurs/tries to check when I have AUR packages on.

Has the location changed? how do I get/set the new one?

Thanks,

Mark

run update again with: pamac update and post the output here, and use formating, click this icon in the editor: </>

Wow, so quick as a response. Thanks.

Ive included only the first part, which is where the error shows as the rest just say “checking… package name” and then it asks if I want to edit the build files at the end

Preparing...
Synchronizing package databases...
Refreshing core.db...                                                                                                                                                                                                                                                                       
Refreshing extra.db...                                                                                                                                                                                                                                                                      
Refreshing community.db...                                                                                                                                                                                                                                                                  
Refreshing multilib.db...                                                                                                                                                                                                                                                                   
https://pkgbuild.com/~eschwartz/repo/x86_64/eschwartz.db: Error 404                                                                                                                                                                                                                         
Failed to synchronize databases
Refreshing AUR...

it looks like thats a third party repository… can you try:
sudo pacman-mirrors -f && sudo pacman -Syyu

::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using custom mirror file
::INFO Querying mirrors - This may take some time
  0.219 United_Kingdom : https://mirror.cyberhost.uk/sites/manjaro/
  0.192 United_Kingdom : http://manjaro.mirrors.uk2.net/
::INFO Writing mirror list
::United_Kingdom  : http://manjaro.mirrors.uk2.net/stable/$repo/$arch
::United_Kingdom  : https://mirror.cyberhost.uk/sites/manjaro/stable/$repo/$arch
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronising package databases...
 core                                                                                                                                          169.4 KiB  1107 KiB/s 00:00 [##########################################################################################################] 100%
 extra                                                                                                                                        1884.0 KiB  3.58 MiB/s 00:01 [##########################################################################################################] 100%
 community                                                                                                                                       7.0 MiB  2.34 MiB/s 00:03 [##########################################################################################################] 100%
 multilib                                                                                                                                      178.9 KiB  1017 KiB/s 00:00 [##########################################################################################################] 100%
 eschwartz.db failed to download
error: failed retrieving file 'eschwartz.db' from pkgbuild.com : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)

Remove the third party repository from your /etc/pacman.conf and resync.

Then report the issue to the repository maintainer.

yes what Strit is saying… however, as you said you didnt update for several months, so be ready for possible issues with your system…

Thanks - I’m not sure how that got into the conf in the first place or which package its there to support.

Ive commented it out and now get the following

Synchronizing package databases...
no servers configured for repository

Is there a way I can identify which package uses it so I can remove it?

try these commands:
sudo pacman-mirrors -c all
sudo pacman-mirrors -f && sudo pacman -Syyu

...
::Singapore       : https://download.nus.edu.sg/mirror/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronising package databases...
error: failed to synchronize all databases (no servers configured for repository)

Seem to get a similar error

so try this:
sudo rm -f /var/lib/pacman/sync/*
sudo pacman-mirrors --continent
sudo pacman -Syyu

Thanks for persevering… same error

sudo pacman -Syyu
:: Synchronising package databases...
error: failed to synchronize all databases (no servers configured for repository)

try this:

sudo sed -i 's/SigLevel.*/SigLevel = Never/' /etc/pacman.conf
sudo pacman -Syy gnupg archlinux-keyring manjaro-keyring --ignore manjaro-system
sudo pacman -Syyu
sudo pacman -Syy gnupg archlinux-keyring manjaro-keyring --ignore manjaro-system
:: Synchronising package databases...
error: failed to synchronize all databases (no servers configured for repository)

so navigate to /etc/pacman.d/mirrorlist and open the mirrorlist file and is it empty?
try put in there this:

##
## Manjaro Linux custom mirrorlist
## Generated on 2022-05-13 19:23
##
## Please use 'pacman-mirrors -id' To reset custom mirrorlist
## Please use 'pacman-mirrors -c all' To reset custom mirrorlist
## To remove custom config run  'pacman-mirrors -c all'
##

## Country : Austria
Server = https://mirror.easyname.at/manjaro/stable/$repo/$arch

## Country : Germany
Server = https://manjaro.moson.eu/stable/$repo/$arch

## Country : Germany
Server = https://mirror.alpix.eu/manjaro/stable/$repo/$arch

## Country : United_Kingdom
Server = https://mirror.cyberhost.uk/sites/manjaro/stable/$repo/$arch

## Country : Bulgaria
Server = https://manjaro.ipacct.com/manjaro/stable/$repo/$arch

## Country : Finland
Server = https://manjaro.kyberorg.fi/stable/$repo/$arch

## Country : Germany
Server = https://ftp.gwdg.de/pub/linux/manjaro/stable/$repo/$arch

## Country : Portugal
Server = https://mirrors.up.pt/pub/manjaro/stable/$repo/$arch


run again: sudo pacman -Syyu

File seems to be populated correctly already…

##
## Manjaro Linux default mirrorlist
## Generated on 2022-05-16 09:19
##
## Please use 'pacman-mirrors -f [NUMBER] [NUMBER]' to modify mirrorlist
## (Use 0 for all mirrors)
##

## Country : United_Kingdom
Server = https://mirror.cyberhost.uk/sites/manjaro/stable/$repo/$arch

## Country : United_Kingdom
Server = https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch

## Country : United_Kingdom
Server = https://mirrors.gethosted.online/manjaro/repos/stable/$repo/$arch

## Country : Netherlands
Server = http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch

## Country : Netherlands
Server = https://mirror.koddos.net/manjaro/stable/$repo/$arch

There were more in the file but cropped it for brevity

post also output from:
cat /etc/pacman.conf
and try this:
sudo pacman-mirrors --api --protocol https && sudo pacman -Syyu

#
# /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 manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst    = manjaro-system archlinux-keyring manjaro-keyring
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

IgnorePkg   = python docker-compose
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
# We cannot check disk space from within a chroot environment
CheckSpace
#VerbosePkgLists

# 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 = Never

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

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

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

[extra]
SigLevel = Never
Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = Never
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]
SigLevel = Never
Include = /etc/pacman.d/mirrorlist

[eschwartz]
# Server = https://pkgbuild.com/~eschwartz/repo/$arch

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

Runs through countries and then…

 ::INFO To remove custom config run  'sudo pacman-mirrors -c all'
 :: Synchronising package databases...
 error: failed to synchronize all databases (no servers configured for repository)

are you properly connected to internet?
try running this:
sudo pacman -Syu --debug