Try sudo pacman -Syu inotify-tools
[enio@enioentity ~]$ sudo pacman -Syu inotify-tools
[sudo] password for enio:
:: Synchronizing package databasesā¦
error: failed to synchronize all databases (unable to lock database)
[enio@enioentity ~]$
Try again. Maybe another pacman was process was running at that time.
[enio@enioentity ~]$ sudo pacman -Syu inotify-tools
[sudo] password for enio:
:: Synchronizing package databasesā¦
error: failed to synchronize all databases (unable to lock database)
[enio@enioentity ~]$
same error even after reboot. but i noticed something strange. lets say i got 7 snapshots, i deleted 2 most recent ones where i did that commands snapper something that you mentioned could clash with something, so when i deleted those two i restored from the snapshot before, after that i booted into os and make another manual snapshot, and after we did this command to finally see snapshot options in boot grub, i see all those snapshots with those two i deleted and no manual one i created afterwards, like that list in boot grub is frozen and it always show the same. in os it shows how its supposed to beā¦
It is probably because of the snapshot you restored.
Try deleting /var/lib/pacman/db.lck
then run that command again
[enio@enioentity ~]$ /var/lib/pacman/db.lck
bash: /var/lib/pacman/db.lck: Permission denied
[enio@enioentity ~]$ sudo /var/lib/pacman/db.lck
[sudo] password for enio:
sudo: /var/lib/pacman/db.lck: command not found
[enio@enioentity ~]$
sudo rm /var/lib/pacman/db.lck
[enio@enioentity ~]$ sudo rm /var/lib/pacman/db.lck
[enio@enioentity ~]$
it didnt show anything
That means it worked. Now run the pacman command I gave you above.
i apologize, my mobile network crapped out for a bit, im at work so i use phone to connect to internet(fireman nightshift)
[enio@enioentity ~]$ sudo pacman -Syu inotify-tools
:: Synchronizing package databasesā¦
endeavouros is up to date
core is up to date
extra 8,3 MiB 2,53 MiB/s 00:03 [--------------------------------------] 100%
multilib is up to date
:: Starting full system upgradeā¦
resolving dependenciesā¦
looking for conflicting packagesā¦
Package (2) Old Version New Version Net Change Download Size
extra/libopenraw 0.3.6-1 0.3.7-1 -0,01 MiB 1,19 MiB
extra/inotify-tools 3.22.6.0-2 0,86 MiB 0,16 MiB
Total Download Size: 1,35 MiB
Total Installed Size: 4,78 MiB
Net Upgrade Size: 0,85 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packagesā¦
libopenraw-0.3.7-1-x86_64.pkg.tar.zst failed to download
inotify-tools-3.22.6.0-2-x86_64.pkg.tar.zst failed to download
Total (2/2) 1382,1 KiB 108 KiB/s 00:13 [--------------------------------------] 100%
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from ftp.halifax.rwth-aachen.de : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from ftp.halifax.rwth-aachen.de : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from mirror.ubrco.de : Recv failure: Connection reset by peer
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from mirror.ubrco.de : Recv failure: Connection reset by peer
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from de.arch.mirror.kescher.at : Recv failure: Connection reset by peer
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from de.arch.mirror.kescher.at : Recv failure: Connection reset by peer
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from mirror.pseudoform.org : Recv failure: Connection reset by peer
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from mirror.pseudoform.org : Recv failure: Connection reset by peer
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from mirror.selfnet.de : Recv failure: Connection reset by peer
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from mirror.selfnet.de : Recv failure: Connection reset by peer
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from arch.phinau.de : Recv failure: Connection reset by peer
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from arch.phinau.de : Recv failure: Connection reset by peer
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from mirror.moson.org : Recv failure: Connection reset by peer
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from mirror.moson.org : Recv failure: Connection reset by peer
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from mirror.sunred.org : Recv failure: Connection reset by peer
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from mirror.sunred.org : Recv failure: Connection reset by peer
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from mirrors.niyawe.de : Recv failure: Connection reset by peer
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from mirrors.niyawe.de : Recv failure: Connection reset by peer
error: failed retrieving file ālibopenraw-0.3.7-1-x86_64.pkg.tar.zstā from mirror.f4st.host : Recv failure: Connection reset by peer
error: failed retrieving file āinotify-tools-3.22.6.0-2-x86_64.pkg.tar.zstā from mirror.f4st.host : Recv failure: Connection reset by peer
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
[enio@enioentity ~]$
[enio@enioentity ~]$ sudo pacman -Syu inotify-tools
[sudo] password for enio:
:: Synchronizing package databases...
endeavouros is up to date
core is up to date
extra 8,3 MiB 3,06 MiB/s 00:03 [--------------------------------------] 100%
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (3) Old Version New Version Net Change Download Size
extra/libopenraw 0.3.6-1 0.3.7-1 -0,01 MiB 1,19 MiB
extra/qt5-base 5.15.10+kde+r135-1 5.15.10+kde+r139-1 0,00 MiB 13,09 MiB
extra/inotify-tools 3.22.6.0-2 0,86 MiB 0,16 MiB
Total Download Size: 14,44 MiB
Total Installed Size: 67,99 MiB
Net Upgrade Size: 0,85 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
inotify-tools-3.22.6.0-2-x86_64 162,5 KiB 241 KiB/s 00:01 [--------------------------------------] 100%
libopenraw-0.3.7-1-x86_64 1219,7 KiB 1394 KiB/s 00:01 [--------------------------------------] 100%
qt5-base-5.15.10+kde+r139-1-x86_64 13,1 MiB 5,24 MiB/s 00:02 [--------------------------------------] 100%
Total (3/3) 14,4 MiB 5,63 MiB/s 00:03 [--------------------------------------] 100%
(3/3) checking keys in keyring [--------------------------------------] 100%
(3/3) checking package integrity [--------------------------------------] 100%
(3/3) loading package files [--------------------------------------] 100%
(3/3) checking for file conflicts [--------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 17
:: Processing package changes...
(1/3) installing inotify-tools [--------------------------------------] 100%
(2/3) upgrading libopenraw [--------------------------------------] 100%
(3/3) upgrading qt5-base [--------------------------------------] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Probing GDK-Pixbuf loader modules...
(3/4) Checking which packages need to be rebuilt
(4/4) Performing snapper post snapshots for the following configurations...
==> root: 18
[enio@enioentity ~]$
did it again, it seems that it worked now(probably my connection mess it up the first time)
I wasnāt telling you to do anything with it. I was just pointing out what i use.
Sorry if i gave the wrong impression.
hahaha, all is fine, i was just trying stuff, it is not the end of the world if i bork something
I do it all the time.
Next time you install a package it will hopefully work now and add the snapshot.
so, what do i do after that command inotify tools? i managed to install it?
maybe something like this? sudo update-grub
my subvolumes look like this
instead of probably like this
is that relevant?
In theory it should be working now.
Try installing a package and see if the snapshots from that are added to your boot menu.
No, the boot grub menu is always the same, it even lists some shapshots i deleted already, looks like its not connected with the ones in the os⦠Maybe i do that boot grub grub command again⦠Will try something when i get homeā¦
In that case share the new output of systemctl status grub-btrfsd
[enio@enioentity ~]$ systemctl status grub-btrfsd
ā grub-btrfsd.service - Regenerate grub-btrfs.cfg
Loaded: loaded (/usr/lib/systemd/system/grub-btrfsd.service; enabled; preset: disabled)
Active: active (running) since Wed 2023-08-02 12:59:49 CEST; 1min 35s ago
Main PID: 588 (bash)
Tasks: 3 (limit: 18357)
Memory: 1.4M
CPU: 9ms
CGroup: /system.slice/grub-btrfsd.service
āā588 bash /usr/bin/grub-btrfsd --syslog /.snapshots
āā593 bash /usr/bin/grub-btrfsd --syslog /.snapshots
āā595 inotifywait -q -q -e create -e delete -e unmount -t 0 /.snapshots
kol 02 12:59:49 enioentity grub-btrfsd[594]: 593: Watching /.snapshots for new snapshots...
[enio@enioentity ~]$
[enio@enioentity ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
[sudo] password for enio:
Generating grub configuration file ...
Found background: /usr/share/endeavouros/splash.png
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2023-08-01 07:28:12 | @/.snapshots/20/snapshot | post | gupnp |
Found snapshot: 2023-08-01 07:28:10 | @/.snapshots/19/snapshot | pre | pacman -S -y -u --config /etc/pacman.conf -- |
Found snapshot: 2023-08-01 01:32:50 | @/.snapshots/18/snapshot | post | inotify-tools libopenraw qt5-base |
Found snapshot: 2023-08-01 01:32:49 | @/.snapshots/17/snapshot | pre | pacman -Syu inotify-tools |
Found snapshot: 2023-08-01 00:24:07 | @/.snapshots/16/snapshot | single | a pitaj boga |
Found snapshot: 2023-07-31 22:05:33 | @/.snapshots/13/snapshot | post | eos-bash-shared eos-log-tool eos-update-notifier welcome |
Found snapshot: 2023-07-31 22:05:32 | @/.snapshots/12/snapshot | pre | pacman -Sy eos-bash-shared eos-log-tool eos-update-notifier welcome |
Found snapshot: 2023-07-31 17:41:54 | @/.snapshots/1/snapshot | single | Manual Snapshot |
Found 8 snapshot(s)
Unmount /tmp/grub-btrfs.UUBrVNfN7m .. Success
done
[enio@enioentity ~]$
[enio@enioentity ~]$ systemctl status grub-btrfsd
ā grub-btrfsd.service - Regenerate grub-btrfs.cfg
Loaded: loaded (/usr/lib/systemd/system/grub-btrfsd.service; enabled; preset: disabled)
Active: active (running) since Wed 2023-08-02 12:59:49 CEST; 8min ago
Main PID: 588 (bash)
Tasks: 3 (limit: 18357)
Memory: 1.4M
CPU: 9ms
CGroup: /system.slice/grub-btrfsd.service
āā588 bash /usr/bin/grub-btrfsd --syslog /.snapshots
āā593 bash /usr/bin/grub-btrfsd --syslog /.snapshots
āā595 inotifywait -q -q -e create -e delete -e unmount -t 0 /.snapshots
kol 02 12:59:49 enioentity grub-btrfsd[594]: 593: Watching /.snapshots for new snapshots...
[enio@enioentity ~]$
i inspected the boot grub, and now it is the same as in the os, i checked creating manual snapshot and it is reflected properly in boot grub. It is finally resolved and working as intended. big thanks to all, especially you dalto⦠this forum is awesomeā¦