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?
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- dm100l
23 comments
It's your responsibility to rebuild AUR packages.
hello i am having the same problem, how do i rebuild a aur package
Build it again.
Here is the fix that worked for me:
Problem:
Fix:
Still at work at the moment. I'll give that a shot when I get home. Thanks!
Worked like a charm. THANKS!
Thank you very much! Now It is working here.
Visit auracle-git's aur page, it says all
:You need to rebuild the package
Pamac needs an update to the new libalpm. Won't work until then.
This assumes he hasn't built pamac himself.
No, did not build pamac myself
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.
No - libalpm has been updated, your pamac is looking for the old one. You need to rebuild pamac.
Do you even makepkg, bro?
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. ;)
Man that's not how they should have done it. People being like this is why linux has a bad rep.
Build targets in project: 18Found 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.occ -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_INVALIDsrc/25a6634@@pamac@sha/alpm_utils.c:6316:9: note: each undeclared identifier is reported only once for each function it appears insrc/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_STARTsrc/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_tsrc/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_tsrc/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 union8062 | _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 union8067 | _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-aurI have the same problem...