Sqlite3: command not found

Please follow the below template, it will help us to help you!

image

Expected Behaviour:

It should be on green, several lines earlier it was checking for sqlite3 and found it. It is installed.

Actual Behaviour:

Cannot update Gravity because of this error.

Debug Token:

https://tricorder.pi-hole.net/ek460x5o4n

What's the output of

which sqlite3

and

sqlite3 --version

image

It says command not found

but also:
image

Do you have the file /usr/bin/sqlite3 ?

Can you post the output of echo $PATH

/usr/bin/sqlite3 file not found

image

And these?

dpkg-query -l | grep sqlite3

sudo find / -iname sqlite3

image

Strange. Maybe someone has a better one, but my recommendation is, uninstall sqlite3 via apt-get and re-install it.

1 Like

sudo dpkg -P sqlite3

sudo apt install --reinstall sqlite3

stat /usr/bin/sqlite3

done:

It worked! Thanks a lot!

1 Like

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