Skip to content

Cannot Open Pamac After Update

So I had an update notification which included Pacman 5.2. Having seen an issue with yay and Pacman 5.2 in this subreddit, I removed yay, then upgraded. Now, pamac will not open....

[daveb@archgnulinux ~]$ pamac
pamac: error while loading shared libraries: libalpm.so.11: cannot open shared object file: No such file or directory

Any ideas?

2 points23 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
dm100l

Author

16
posts
37
comments
6
media
View profile

23 comments

Here is the fix that worked for me:

Problem:

[user@user-pc~]$ pamac-manager
pamac-manager: error while loading shared libraries: libalpm.so.11: cannot open shared object file: No such file or directory

Fix:

yay -S pamac-aur-git
3 points

Pamac needs an update to the new libalpm. Won't work until then.

2 points

Ah, OK. I didn't know if I did something wrong by removing yay or not.

So, I'll just wait until there's a libalpm update then.

Thanks for the quick response.

0 points

No - libalpm has been updated, your pamac is looking for the old one. You need to rebuild pamac.

6 points

Appreciate everyone's input. I've had Arch installed on this PC for around 18 months. My one and only attempt at an Arch install. So I obviously have more learning to do. Thanks for the responses, as well as a bit of a wake-up kick in my ass. ;)

2 points

Man that's not how they should have done it. People being like this is why linux has a bad rep.

2 points

Build targets in project: 18

Found ninja-1.9.0 at /usr/bin/ninja

[16/64] Compiling C object 'src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o'.

FAILED: src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o

cc -Isrc/25a6634@@pamac@sha -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/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/uuid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -w -O3 -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread '-DGETTEXT_PACKAGE="pamac"' -D_FILE_OFFSET_BITS=64 -MD -MQ 'src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o' -MF 'src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o.d' -o 'src/25a6634@@pamac@sha/meson-generated_alpm_utils.c.o' -c 'src/25a6634@@pamac@sha/alpm_utils.c'

src/25a6634@@pamac@sha/alpm_utils.c: In function ‘pamac_alpm_utils_trans_commit_real’:

src/25a6634@@pamac@sha/alpm_utils.c:6316:9: error: ‘ALPM_ERR_DLT_INVALID’ undeclared (first use in this function); did you mean ‘ALPM_ERR_DB_INVALID’?

6316 | case ALPM_ERR_DLT_INVALID:

| ^~~~~~~~~~~~~~~~~~~~

| ALPM_ERR_DB_INVALID

src/25a6634@@pamac@sha/alpm_utils.c:6316:9: note: each undeclared identifier is reported only once for each function it appears in

src/25a6634@@pamac@sha/alpm_utils.c: In function ‘cb_event’:

src/25a6634@@pamac@sha/alpm_utils.c:8050:8: error: ‘ALPM_EVENT_DELTA_PATCH_START’ undeclared (first use in this function); did you mean ‘ALPM_EVENT_DISKSPACE_START’?

8050 | case ALPM_EVENT_DELTA_PATCH_START:

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

| ALPM_EVENT_DISKSPACE_START

src/25a6634@@pamac@sha/alpm_utils.c:8053:4: error: unknown type name ‘alpm_delta_t’; did you mean ‘alpm_event_t’?

8053 | alpm_delta_t* _tmp76_;

| ^~~~~~~~~~~~

| alpm_event_t

src/25a6634@@pamac@sha/alpm_utils.c:8057:4: error: unknown type name ‘alpm_delta_t’; did you mean ‘alpm_event_t’?

8057 | alpm_delta_t* _tmp80_;

| ^~~~~~~~~~~~

| alpm_event_t

src/25a6634@@pamac@sha/alpm_utils.c:8061:18: error: ‘alpm_event_t’ {aka ‘union _alpm_event_t’} has no member named ‘delta_patch’

8061 | _tmp76_ = data->delta_patch.delta;

| ^~

src/25a6634@@pamac@sha/alpm_utils.c:8062:21: error: request for member ‘to’ in something not a structure or union

8062 | _tmp77_ = _tmp76_->to;

| ^~

src/25a6634@@pamac@sha/alpm_utils.c:8066:18: error: ‘alpm_event_t’ {aka ‘union _alpm_event_t’} has no member named ‘delta_patch’

8066 | _tmp80_ = data->delta_patch.delta;

| ^~

src/25a6634@@pamac@sha/alpm_utils.c:8067:21: error: request for member ‘delta’ in something not a structure or union

8067 | _tmp81_ = _tmp80_->delta;

| ^~

[21/64] Compiling C object 'src/25a6634@@pamac@sha/meson-generated_transaction.c.o'.

ninja: build stopped: subcommand failed.

==> ERROR: A failure occurred in build().

Aborting...

Error making: pamac-aur

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.