thefuck
thefuck copied to clipboard
sqlite3.OperationalError: unable to open database file
Hi,
The Fuck 3.29 using Python 3.9.7 and ZSH 5.8
Traceback (most recent call last):
File "/usr/bin/thefuck", line 13, in
Did I miss something or is there a bug? I tried with apt and new version from pip. The same story.
This issue is only on a normal user account, on root there isn't a problem.
Correct me if I'm wrong, but I don't think this is a bug in thefuck
. It seems to be a known bug in CommandNotFound
instead: https://bugs.launchpad.net/command-not-found/+bug/1824000
A temporary workaround is to fix the db file permissions manually:
sudo chmod ugo+r /var/lib/command-not-found/commands.db*
With no participation since nearly 2 years, and good directions to go further, maybe this issue can be closed ?