Yay from EndeavourOS repo conflicting with pacman update (SOLVED)

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

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

After updating/refreshing mirrors an extra -y need to be passed to pacman command. Did you do that already?

sudo pacman -Syyu

Yes, I did pacman -Syyuu first, which showed no updates then tried pacman -Syu just to check

[root@CogenT440p pacman.d]# pacman -Syyuu
:: Synchronizing package databases…
core 131.0 KiB 784 KiB/s 00:00 [--------------------------------------------------------------------] 100%
extra 1598.2 KiB 794 KiB/s 00:02 [--------------------------------------------------------------------] 100%
community 5.5 MiB 568 KiB/s 00:10 [--------------------------------------------------------------------] 100%
multilib 149.4 KiB 799 KiB/s 00:00 [--------------------------------------------------------------------] 100%
endeavouros 17.3 KiB 237 KiB/s 00:00 [--------------------------------------------------------------------] 100%
herecura 69.1 KiB 646 KiB/s 00:00 [--------------------------------------------------------------------] 100%
:: Starting full system upgrade…
there is nothing to do
[root@CogenT440p pacman.d]# nano mirrorlist
[root@CogenT440p pacman.d]# pacman -Syu
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
endeavouros is up to date
herecura is up to date
:: Starting full system upgrade…
there is nothing to do

open welcome app and choose “update mirrors” :wink:

Perhaps you could regenerate the mirrors and this time rank them by the time they have been synced.

For example:
Server = http://mirror.metalgamer.eu/archlinux/$repo/os/$arch
seems to be out of sync as of the time of this post according to:
https://archlinux.org/mirrors/status/
I didn’t check the others.

1 Like

Yeah that fixed it, 1500Mb of updates I’ve missed :smiley:

Total Download Size: 1586.31 MiB
Total Installed Size: 5338.84 MiB
Net Upgrade Size: -114.28 MiB

2 Likes