When Updating garuda, snapshot faild to remove error

when i use a command sudo pacman -Syu then it start updating but after sometime it shows this thing and continue it in a loop of error Image

Please check if this solution helps:

1 Like

What I have to do?? I cant understand this

for id in (sudo btrfs subvolume list -r /run/timeshift/backup/ | awk '{ print $2 }'); sudo btrfs subvolume delete -i $id /run/timeshift/backup; end

THis should delete all your snapshots.

1 Like
╰─λ sudo btrfs subvolume list -r /run/timeshift/backup/ | awk '{ print $2 }'
[sudo] password for ishank:
ERROR: cannot access '/run/timeshift/backup/': No such file or directory
ERROR: can't access '/run/timeshift/backup/'
McFly: Upgrading McFly DB to version 3, please wait...thread 'main' panicked at 'McFly error: Unable to add cmd_tpl to commands (no such table: commands)', src/history/schema.rs:41:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

╭─[email protected] in ~ took 2s
╰─λ sudo btrfs subvolume delete -i $id /run/timeshift/backup
ERROR: /run/timeshift/backup is not a valid numeric value.
McFly: Upgrading McFly DB to version 3, please wait...thread 'main' panicked at 'McFly error: Unable to add cmd_tpl to commands (no such table: commands)', src/history/schema.rs:41:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

╭─[email protected] in ~ took 10ms
[🔴] ×

Open timeshift and close it again to mount that directory.

1 Like

dont it is not updating

Could you please provide more details (terminal output)?

idk why but this is comming evry time i use terminal

McFly: Upgrading McFly DB to version 3, please wait...thread main panicked at 'McFly error: Unable to add cmd_tpl to commands (no such table: commands)', src/history/schema.rs:41:17 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

I don't know anything about this McFly, but found this issue in their GitHub.

Should be fixed with rm ~/.mcfly -rf but I don't see how this could relate to the provided command...

1 Like

It has been fixed now, I just simply deleted a snap short, then closed time shift, then again made a snapshort, then again closed time shift, then again deleted it
now it work

2 Likes

You basically sent timeshift into confusion and scored! :smiley:
Just joking, well done ! :wink:

4 Likes

The magic "turn it off and on again until it works" fix :grimacing:

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.