Also, please donât hammer the mirrors by using sudo pacman -Syyu, which forces a local database refresh even if it is already in sync with the mirror. One y is usually enough:
[sudo] password for jkl-pc:
error: GPGME error: No data
:: Synchronizing package databases...
core is up to date
extra is up to date
community 29.0 B 2.83 KiB/s 00:00 [####################################] 100%
multilib is up to date
error: GPGME error: No data
error: failed to synchronize all databases (unexpected error)
:: Synchronizing package databases...
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "libffi=3.4.7", a dependency of "lib32-libffi"
warning: cannot resolve "pcre2=10.45", a dependency of "lib32-pcre2"
:: The following packages cannot be upgraded due to unresolvable dependencies:
lib32-libffi lib32-pcre2
:: Do you want to skip the above packages for this upgrade? [y/N] y
looking for conflicting packages...
there is nothing to do
warning: cannot resolve âlibffi=3.4.7â, a dependency of âlib32-libffiâ
warning: cannot resolve âpcre2=10.45â, a dependency of âlib32-pcre2â
:: The following packages cannot be upgraded due to unresolvable dependencies:
lib32-libffi lib32-pcre2
whatever canât be resolved you can just remove.
You can get information about those using pamac info too.
pamac info
Summary
Name : libffi
Version : 3.4.7-1
Description : Portable foreign function interface library
URL : https://sourceware.org/libffi/
Licences : MIT
Repository : core
Installed Size : 98.9 kB
Groups : --
Depends On : glibc
Optional Dependencies : --
Required By : electron31 electron32 electron33 electron34 flaresolverr-bin ghc-libs
gjs glib2 gnustep-base gobject-introspection guile lib32-libffi
libgirepository libp11-kit llvm-libs llvm18-libs openmp python
python-gobject python2 python2-gobject2 ruby thunderbird wayland
Optional For : --
Provides : libffi.so=8-64
Replaces : --
Conflicts With : --
Packager : David Runge <dvzrv@archlinux.org>
Build Date : Thu 20 Feb 2025 00:28:06 +07
Install Date : Sat 01 Mar 2025 21:06:42 +07
Install Reason : Installed as a dependency for another package
Validated By : Signature
Backup files : --
ď î° ď ~ î° cat /etc/pacman.conf î˛ 1 â
#
# /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
#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
#NoProgressBar
# We cannot check disk space from within a chroot environment
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 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.
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[multilib]
SigLevel = PackageRequired
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
ď î° ď ~ î°
You seem to be missing the core & extra repos in your /etc/pacman.conf file. It should look like this:
#
# /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
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
#IgnorePkg =
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ParallelDownloads = 4
DownloadUser = alpm
#DisableSandbox
#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 = 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 and 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.
#
[core]
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]
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
You might be best off replacing your /etc/pacman.conf file with the one Iâve provided. Then, update your mirrors as per @linux-aarhusâs earlier instructions:
Extra note:
After making the required edits and syncing etc, the following command
sudo pacman -Sc
will also provide an option to remove unused repositories (after offering to remove cache of uninstalled packages).
PS
In case it was not clear or some removals already occurred ⌠use likely does not want to remove glib2, lib32-glib2 or other associated packages like pcre2.
I am getting a similar error with the pacman -Syyu command:
sudo pacman -Syyu
[sudo] password for
:: Synchronizing package databasesâŚ
core 139.9 KiB 245 KiB/s 00:01 [####################################################################] 100%
extra 8.3 MiB 1753 KiB/s 00:05 [####################################################################] 100%
community.db failed to download
error: failed retrieving file âcommunity.dbâ from mnvoip.mm.fcix dot net : The requested URL returned error: 404
error: failed retrieving file âcommunity.dbâ from repo.ialab.dsu dot edu : The requested URL returned error: 404
error: failed retrieving file âcommunity.dbâ from ridgewireless.mm.fcix dot net : The requested URL returned error: 404
error: failed retrieving file âcommunity.dbâ from mirror.fcix dot net : The requested URL returned error: 404
error: failed retrieving file âcommunity.dbâ from coresite.mm.fcix dot net : The requested URL returned error: 404
error: failed retrieving file âcommunity.dbâ from forksystems.mm.fcix dot net : The requested URL returned error: 404
error: failed retrieving file âcommunity.dbâ from mirrors.ocf.berkeley dot edu : The requested URL returned error: 404
error: failed retrieving file âcommunity.dbâ from mirror.math.princeton dot edu : The requested URL returned error: 404
In your case you have the original problem of not managing your pacnews - and in particular the removal of the [community] repo which happened 2 years ago (but the empty end points were recently formally deleted).
Replacing your file with the example above would technically âfixâ this particular issue but one should become familiar with pacnews in general ⌠and do that maintenance with the likely multiple other pacnew/pacsave files already existing and any future ones that may be created.
See the dozens of related recent threads, the update announcement, the pinned topic, etc.
And it did a great deal of downloading and thrashing but it seems to be happy. I rebooted the computer just to be sure, and PTL, it came back to the login box and I was able to log in!!
I clicked on the shield icon in the lower right tray of the desktop (presumably it runs pamac GUI) and it said the system was up to date. I clicked on refresh and it still said it was up to date. I rebooted again and it seems tobe happy so I am going to resume my work now with a BIG sigh of relief!
After a few tries I am able to run âsudo pacman -Syuâ without any issues.
I had to remove syncthingtray in order to achieve this,
Now need help to install syncthingtray.
out put is:
ď î° ď ~ î° pamac build syncthingtray î˛ 1 â î˛ 4s ď
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Error: target not found: syncthingtray
~~~