Yay from EndeavourOS repo conflicting with pacman update (SOLVED)

yay-pacman6

You could build yay-git from AUR if you need to update now, or wait till we rebuild yay and it will be synced on the mirrors.

@manuel done rebuild already and it should by available in a minute for you.

Notes:
warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew be aware to merge new features and settings possible :wink:

you can use welcome button for diff & merge or do it manually:
(But do not remove endeavoros repo lines and comment multilib!)

changed lines:

changed:
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u

removed:
#TotalDownload

newly added (the new killer feature)
#ParallelDownloads = 5

and also added:
#NoProgressBar

and be aware to not remove EndeavourOS:

This is a working pacman.conf for review:

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

#[testing]
#Include = /etc/pacman.d/mirrorlist

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

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

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
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

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-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
8 Likes

yay’s update was successful but pamac-aur was not

2 Likes

Pamac is utterly broken. See this bug report: https://gitlab.manjaro.org/applications/pamac/-/issues/1047

1 Like

hello;pamac-aur and pamac-all are being built, but they are nowhere to be found

warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew be aware to merge new features and settings possible :wink:

you can use welcome button for diff & merge changed lines:

changed:
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u

newly added (the new killer feature)
#ParallelDownloads = 5

1 Like

Would this be the cause of this message?

yay: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory

It updated fine with no errors a few minutes ago, now yay doesn’t work which was why I came searching.

Just reinstall yay with sudo pacman -S yay and afterwards, it will work again.

You cannot get it to build.

Here is what is happening with pacman 6.0 / libalpm 13:

[28/92] Compiling C object src/libpamac.so.p/meson-generated_database.c.o
FAILED: src/libpamac.so.p/meson-generated_database.c.o 
ccache cc -Isrc/libpamac.so.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/usr/include/libappstream-glib -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -fdiagnostics-color=always -w -O3 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -pthread '-DGETTEXT_PACKAGE="pamac"' -D_FILE_OFFSET_BITS=64 -MD -MQ src/libpamac.so.p/meson-generated_database.c.o -MF src/libpamac.so.p/meson-generated_database.c.o.d -o src/libpamac.so.p/meson-generated_database.c.o -c src/libpamac.so.p/database.c
src/libpamac.so.p/database.c: In function 'pamac_database_refresh_tmp_files_dbs':
src/libpamac.so.p/database.c:15672:33: error: too few arguments to function 'alpm_db_update'
15672 |                                 alpm_db_update (0, _tmp11_);
      |                                 ^~~~~~~~~~~~~~
In file included from src/libpamac.so.p/database.c:25:
/usr/include/alpm.h:1373:5: note: declared here
 1373 | int alpm_db_update(alpm_handle_t *handle, alpm_list_t *dbs, int force);
      |     ^~~~~~~~~~~~~~
src/libpamac.so.p/database.c: In function 'pamac_database_get_updates_real':
src/libpamac.so.p/database.c:16132:45: error: too few arguments to function 'alpm_db_update'
16132 |                                         if (alpm_db_update (0, _tmp21_) < 0) {
      |                                             ^~~~~~~~~~~~~~
In file included from src/libpamac.so.p/database.c:25:
/usr/include/alpm.h:1373:5: note: declared here
 1373 | int alpm_db_update(alpm_handle_t *handle, alpm_list_t *dbs, int force);
      |     ^~~~~~~~~~~~~~
[32/92] Compiling C object src/libpamac.so.p/meson-generated_alpm_utils.c.o
FAILED: src/libpamac.so.p/meson-generated_alpm_utils.c.o 
ccache cc -Isrc/libpamac.so.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/usr/include/libappstream-glib -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -fdiagnostics-color=always -w -O3 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -pthread '-DGETTEXT_PACKAGE="pamac"' -D_FILE_OFFSET_BITS=64 -MD -MQ src/libpamac.so.p/meson-generated_alpm_utils.c.o -MF src/libpamac.so.p/meson-generated_alpm_utils.c.o.d -o src/libpamac.so.p/meson-generated_alpm_utils.c.o -c src/libpamac.so.p/alpm_utils.c
src/libpamac.so.p/alpm_utils.c: In function 'pamac_alpm_utils_get_handle':
src/libpamac.so.p/alpm_utils.c:1623:25: error: too few arguments to function 'alpm_option_set_eventcb'
 1623 |                         alpm_option_set_eventcb (_tmp7_, (alpm_cb_event) cb_event);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1586:5: note: declared here
 1586 | int alpm_option_set_eventcb(alpm_handle_t *handle, alpm_cb_event cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:1625:25: error: too few arguments to function 'alpm_option_set_progresscb'
 1625 |                         alpm_option_set_progresscb (_tmp8_, (alpm_cb_progress) cb_progress);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1626:5: note: declared here
 1626 | int alpm_option_set_progresscb(alpm_handle_t *handle, alpm_cb_progress cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:1627:25: error: too few arguments to function 'alpm_option_set_questioncb'
 1627 |                         alpm_option_set_questioncb (_tmp9_, (alpm_cb_question) cb_question);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1606:5: note: declared here
 1606 | int alpm_option_set_questioncb(alpm_handle_t *handle, alpm_cb_question cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:1629:25: error: too few arguments to function 'alpm_option_set_fetchcb'
 1629 |                         alpm_option_set_fetchcb (_tmp10_, (alpm_cb_fetch) cb_fetch);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1566:5: note: declared here
 1566 | int alpm_option_set_fetchcb(alpm_handle_t *handle, alpm_cb_fetch cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:1631:62: error: 'alpm_cb_totaldl' undeclared (first use in this function)
 1631 |                         alpm_option_set_totaldlcb (_tmp11_, (alpm_cb_totaldl) cb_totaldownload);
      |                                                              ^~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:1631:62: note: each undeclared identifier is reported only once for each function it appears in
src/libpamac.so.p/alpm_utils.c:1631:78: error: expected ')' before 'cb_totaldownload'
 1631 |                         alpm_option_set_totaldlcb (_tmp11_, (alpm_cb_totaldl) cb_totaldownload);
      |                                                   ~                          ^~~~~~~~~~~~~~~~~
      |                                                                              )
src/libpamac.so.p/alpm_utils.c:1633:25: error: too few arguments to function 'alpm_option_set_logcb'
 1633 |                         alpm_option_set_logcb (_tmp12_, (alpm_cb_log) cb_log);
      |                         ^~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1526:5: note: declared here
 1526 | int alpm_option_set_logcb(alpm_handle_t *handle, alpm_cb_log cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c: In function 'pamac_alpm_utils_update_dbs':
src/libpamac.so.p/alpm_utils.c:1894:21: error: too few arguments to function 'alpm_db_update'
 1894 |                 if (alpm_db_update (force, _tmp6_) < 0) {
      |                     ^~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1373:5: note: declared here
 1373 | int alpm_db_update(alpm_handle_t *handle, alpm_list_t *dbs, int force);
      |     ^~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c: In function 'pamac_alpm_utils_download_pkg_priv':
src/libpamac.so.p/alpm_utils.c:3122:18: error: too few arguments to function 'alpm_fetch_pkgurl'
 3122 |         _tmp0_ = alpm_fetch_pkgurl (alpm_handle, url);
      |                  ^~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:2318:5: note: declared here
 2318 | int alpm_fetch_pkgurl(alpm_handle_t *handle, const alpm_list_t *urls,
      |     ^~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:3138:26: error: too few arguments to function 'alpm_fetch_pkgurl'
 3138 |                 _tmp6_ = alpm_fetch_pkgurl (alpm_handle, _tmp5_);
      |                          ^~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:2318:5: note: declared here
 2318 | int alpm_fetch_pkgurl(alpm_handle_t *handle, const alpm_list_t *urls,
      |     ^~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:3144:18: error: too few arguments to function 'alpm_fetch_pkgurl'
 3144 |         _tmp8_ = alpm_fetch_pkgurl (alpm_handle, url);
      |                  ^~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:2318:5: note: declared here
 2318 | int alpm_fetch_pkgurl(alpm_handle_t *handle, const alpm_list_t *urls,
      |     ^~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c: In function 'pamac_alpm_utils_trans_check_prepare':
src/libpamac.so.p/alpm_utils.c:4253:9: error: too few arguments to function 'alpm_option_set_questioncb'
 4253 |         alpm_option_set_questioncb (_tmp2_, (alpm_cb_question) cb_question);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1606:5: note: declared here
 1606 | int alpm_option_set_questioncb(alpm_handle_t *handle, alpm_cb_question cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c: In function 'pamac_alpm_utils_trans_check_prepare_real':
src/libpamac.so.p/alpm_utils.c:4514:9: error: too few arguments to function 'alpm_option_set_eventcb'
 4514 |         alpm_option_set_eventcb (tmp_handle, (alpm_cb_event) cb_event);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1586:5: note: declared here
 1586 | int alpm_option_set_eventcb(alpm_handle_t *handle, alpm_cb_event cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:4515:9: error: too few arguments to function 'alpm_option_set_progresscb'
 4515 |         alpm_option_set_progresscb (tmp_handle, (alpm_cb_progress) cb_progress);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1626:5: note: declared here
 1626 | int alpm_option_set_progresscb(alpm_handle_t *handle, alpm_cb_progress cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:4516:9: error: too few arguments to function 'alpm_option_set_logcb'
 4516 |         alpm_option_set_logcb (tmp_handle, (alpm_cb_log) cb_log);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1526:5: note: declared here
 1526 | int alpm_option_set_logcb(alpm_handle_t *handle, alpm_cb_log cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c: In function 'pamac_alpm_utils_trans_run_real':
src/libpamac.so.p/alpm_utils.c:4728:9: error: too few arguments to function 'alpm_option_set_questioncb'
 4728 |         alpm_option_set_questioncb (_tmp2_, (alpm_cb_question) cb_question);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1606:5: note: declared here
 1606 | int alpm_option_set_questioncb(alpm_handle_t *handle, alpm_cb_question cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:4757:33: error: too few arguments to function 'alpm_option_set_eventcb'
 4757 |                                 alpm_option_set_eventcb (_tmp10_, (alpm_cb_event) cb_event);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1586:5: note: declared here
 1586 | int alpm_option_set_eventcb(alpm_handle_t *handle, alpm_cb_event cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:4759:33: error: too few arguments to function 'alpm_option_set_progresscb'
 4759 |                                 alpm_option_set_progresscb (_tmp11_, (alpm_cb_progress) cb_progress);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1626:5: note: declared here
 1626 | int alpm_option_set_progresscb(alpm_handle_t *handle, alpm_cb_progress cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:4761:33: error: too few arguments to function 'alpm_option_set_fetchcb'
 4761 |                                 alpm_option_set_fetchcb (_tmp12_, (alpm_cb_fetch) cb_fetch);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1566:5: note: declared here
 1566 | int alpm_option_set_fetchcb(alpm_handle_t *handle, alpm_cb_fetch cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:4763:70: error: 'alpm_cb_totaldl' undeclared (first use in this function)
 4763 |                                 alpm_option_set_totaldlcb (_tmp13_, (alpm_cb_totaldl) cb_totaldownload);
      |                                                                      ^~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c:4763:86: error: expected ')' before 'cb_totaldownload'
 4763 |                                 alpm_option_set_totaldlcb (_tmp13_, (alpm_cb_totaldl) cb_totaldownload);
      |                                                           ~                          ^~~~~~~~~~~~~~~~~
      |                                                                                      )
src/libpamac.so.p/alpm_utils.c:4765:33: error: too few arguments to function 'alpm_option_set_logcb'
 4765 |                                 alpm_option_set_logcb (_tmp14_, (alpm_cb_log) cb_log);
      |                                 ^~~~~~~~~~~~~~~~~~~~~
In file included from src/libpamac.so.p/alpm_utils.c:30:
/usr/include/alpm.h:1526:5: note: declared here
 1526 | int alpm_option_set_logcb(alpm_handle_t *handle, alpm_cb_log cb, void *ctx);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/libpamac.so.p/alpm_utils.c: In function 'pamac_alpm_utils_download_files':
src/libpamac.so.p/alpm_utils.c:7585:60: error: 'ALPM_EVENT_RETRIEVE_START' undeclared (first use in this function); did you mean 'ALPM_EVENT_DB_RETRIEVE_START'?
 7585 |                 pamac_alpm_utils_emit_event (self, (guint) ALPM_EVENT_RETRIEVE_START, (guint) 0, _tmp14_, (gint) 0);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            ALPM_EVENT_DB_RETRIEVE_START
src/libpamac.so.p/alpm_utils.c:7699:60: error: 'ALPM_EVENT_RETRIEVE_DONE' undeclared (first use in this function); did you mean 'ALPM_EVENT_DB_RETRIEVE_DONE'?
 7699 |                 pamac_alpm_utils_emit_event (self, (guint) ALPM_EVENT_RETRIEVE_DONE, (guint) 0, _tmp37_, (gint) 0);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            ALPM_EVENT_DB_RETRIEVE_DONE
src/libpamac.so.p/alpm_utils.c: In function 'cb_event':
src/libpamac.so.p/alpm_utils.c:10744:22: error: 'ALPM_EVENT_PKGDOWNLOAD_START' undeclared (first use in this function); did you mean 'ALPM_EVENT_KEY_DOWNLOAD_START'?
10744 |                 case ALPM_EVENT_PKGDOWNLOAD_START:
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      ALPM_EVENT_KEY_DOWNLOAD_START
[33/92] Compiling C object src/libpamac.so.p/meson-generated_transaction.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

Just do a sudo pacman -Syyu…

Done that, no change

what shows: pacman -Qs yay ?

local/yay 10.2.2-4
Yet another yogurt. Pacman wrapper and AUR helper written in go.

I only had 4 packages to update this morning and this was one of them

and pacman -Qs pacman?

local/pacman 5.2.2-3 (base-devel)
A library-based package manager with dependency support

system not fully updated… sudo pacman -Syu
if it does not show pacman update you may need to rank mirrors
pacman

Ok I’ll try that. My other packages are the same as in your image, just pacman and pacman contrib aren’t.

ships the libalpm.so.13 lib…

This action will put pacman.conf to the default setting and will remove additional repos, including the EnOS repo.

The EnOS repo address is:

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

Ok, so I’ve ranked the 6 fastest mirrors as shown in the Arch wiki but I’m still not getting pushed pacman as an update. My mirrorlist

Server = http://mirror.metalgamer.eu/archlinux/$repo/os/$arch
Server = http://arch.yourlabs.org/$repo/os/$arch
Server = https://mirror.i3d.net/pub/archlinux/$repo/os/$arch
Server = http://mirror.23media.com/archlinux/$repo/os/$arch
Server = http://mirror.netcologne.de/archlinux/$repo/os/$arch
Server = http://packages.oth-regensburg.de/archlinux/$repo/os/$arch