[nate@nate-ms7d32 ~]$ yay
-> /var/lib/pacman/db.lck is present.
-> There may be another Pacman instance running. Waiting...
There may be another Pacman instance running. Waiting...
That usually means exactly what is says. I haven’t had that happen on Arch/EOS. Last time I had that issue on Manjaro, years ago, I simply rebooted and all was fine.
i will try and reboot and see what happens and report back
1 Like
Reboot will not help, because the locked pacman-db will not be released.
Just run sudo rm /var/lib/pacman/db.lck
and try your update again.
2 Likes
[nate@nate-ms7d32 ~]$ yay
-> /var/lib/pacman/db.lck is present.
-> There may be another Pacman instance running. Waiting...^C
[nate@nate-ms7d32 ~]$ sudo rm /var/lib/pacman/db.lck
[sudo] password for nate:
[nate@nate-ms7d32 ~]$ yay
:: Synchronising package databases...
endeavouros is up to date
core is up to date
extra 7.7 MiB 2.19 MiB/s 00:04 [----------------------------------------------------------------------------------------------] 100%
multilib 134.6 KiB 301 KiB/s 00:00 [----------------------------------------------------------------------------------------------] 100%
:: Searching AUR for updates...
:: Searching databases for updates...
-> dracut: local (107-1) is newer than endeavouros (106-1)
:: 55 packages to upgrade/install.
55 endeavouros/endeavouros-mirrorlist 25.3.1-1 -> 25.5-1
54 core/fakeroot 1.37.1.1-1 -> 1.37.1.2-1
53 core/grub 2:2.12.r283.ga4da71da-1 -> 2:2.12.r292.g73d1c959-1
52 core/libxml2 2.14.2-2 -> 2.14.3-1
51 core/m4 1.4.19-3 -> 1.4.20-1
50 core/mpdecimal 4.0.0-2 -> 4.0.1-1
49 core/systemd 257.5-2 -> 257.5-3
48 core/systemd-libs 257.5-2 -> 257.5-3
47 core/systemd-resolvconf 257.5-2 -> 257.5-3
46 core/systemd-sysvcompat 257.5-2 -> 257.5-3
45 extra/abseil-cpp 20250127.1-1 -> 20250127.1-2
44 extra/dkms 3.1.8-1 -> 3.2.1-1
43 extra/electron34 34.5.5-1 -> 34.5.6-1
42 extra/electron36 36.2.0-1 -> 36.2.1-1
41 extra/exfatprogs 1.2.8-1 -> 1.2.9-1
40 extra/firefox 138.0.1-1 -> 138.0.3-1
39 extra/flatpak 1:1.16.0-3 -> 1:1.16.1-1
38 extra/freeglut 3.6.0-1 -> 3.6.0-2
37 extra/fribidi 1.0.16-1 -> 1.0.16-2
36 extra/fzf 0.61.3-1 -> 0.62.0-1
35 extra/ghostscript 10.05.1-1 -> 10.05.1-2
34 extra/git 2.49.0-1 -> 2.49.0-2
33 extra/gtest 1.16.0-2 -> 1.17.0-1
32 extra/gtk-update-icon-cache 1:4.18.5-1 -> 1:4.18.5-2
31 extra/gtk3 1:3.24.49-1 -> 1:3.24.49-2
30 extra/gtk4 1:4.18.5-1 -> 1:4.18.5-2
29 extra/gupnp-igd 1.6.0-1 -> 1.6.0-2
28 extra/harfbuzz 11.2.0-1 -> 11.2.1-1
27 extra/harfbuzz-icu 11.2.0-1 -> 11.2.1-1
26 extra/intel-ucode 20250211-1 -> 20250512-1
25 extra/libcamera 0.5.0-1 -> 0.5.0-2
24 extra/libcamera-ipa 0.5.0-1 -> 0.5.0-2
23 extra/libdecor 0.2.2-1 -> 0.2.3-1
22 extra/libgudev 238-1 -> 238-3
21 extra/libnice 0.1.22-1 -> 0.1.22-2
20 extra/libportal 0.9.1-1 -> 0.9.1-2
19 extra/libportal-gtk3 0.9.1-1 -> 0.9.1-2
18 extra/libportal-gtk4 0.9.1-1 -> 0.9.1-2
17 extra/libstemmer 2.2.0-2 -> 3.0.1-1
16 extra/lm_sensors 1:3.6.0.r41.g31d1f125-3 -> 1:3.6.2-1
15 extra/nodejs-lts-jod 22.14.0-2 -> 22.15.1-1
14 extra/ocl-icd 2.3.2-2 -> 2.3.3-1
13 extra/python-cryptography 44.0.2-1 -> 44.0.3-1
12 extra/python-more-itertools 10.6.0-1 -> 10.7.0-1
11 extra/sdl3 3.2.12-1 -> 3.2.14-1
10 extra/webkit2gtk-4.1 2.48.1-2 -> 2.48.2-1
9 extra/webkitgtk-6.0 2.48.1-2 -> 2.48.2-1
8 extra/woff2 1.0.2-5 -> 1.0.2-6
7 extra/yyjson 0.11.0-1 -> 0.11.1-1
6 multilib/lib32-harfbuzz 11.2.0-1 -> 11.2.1-1
5 multilib/lib32-libxml2 2.14.2-2 -> 2.14.3-1
4 multilib/lib32-lm_sensors 1:3.6.0.r41.g31d1f125-3 -> 1:3.6.2-2
3 aur/balena-etcher 2:2.1.1-1 -> 2:2.1.2-2
2 aur/brave-bin 1:1.78.97-1 -> 1:1.78.102-1
1 aur/exodus 25.13.6-1 -> 25.13.7-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
==>
thank you for the help it is fixed
3 Likes
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.