Hello, intrepid org-roamers!
I’m trying to up an AWS Debian EC2 instance to keep a (git-managed) copy of my org-roam notes, so that I can use them from my phone (by ssh
ing into the instance from Termux). (I was excited to learn today that running an AWS t3.micro instance full-time only costs about 7.5 dollars per month.)
I’m running into dependency problems. In a nutshell, when I start Emacs I get a Warnings buffer that says:
■ Error (use-package): Failed to install emacsql-sqlite3: Package ‘emacsql-sqlite3’ is unavailable
■ Error (use-package): Cannot load emacsql-sqlite3
■ Warning (initialization): An error occurred while loading ‘/home/admin/.emacs’:
File is missing: Cannot open load file, No such file or directory, emacsql-sqlite3
When I run package-list-packages
I can confirm that emacsql-sqlite3
is absent.
I’ve set up Emacs to use these repos, in this priority:
(setq package-archives
'(("Org" . "https://orgmode.org/elpa/")
("Elpa" . "https://elpa.gnu.org/packages/")
("Melpa Stable" . "https://stable.melpa.org/packages/")
("Melpa" . "https://melpa.org/packages/")))
(setq package-archive-priorities
'(("Org" . 20)
("Melpa" . 15)
("Melpa Stable" . 10)
("Elpa" . 5)))
The EC2 instance already has emacs, sqlite, gcc and some other stuff installed. In Emacs, I’ve already got these things installed:
org-roam 20250111.252 installed
use-package 2.4.6 installed
bind-key 2.4.1 dependency
compat 30.0.2.0 dependency
dash 20240510.1327 dependency
emacsql 20241201.1551 dependency
magit-section 20250109.1854 dependency
seq 2.24 dependency
On ChatGPT’s suggestion I even tried explicitly defining the path to sqlite3:
(setq emacsql-sqlite3-executable "/usr/bin/sqlite3")
So I’m stumped. Any ideas?
Thanks for listening,
Jeff