I have a snap with a core18
base, but need to use a more up-to-date version of libsqlite3
than what’s. I’m guessing that my best option is to manually install the library from a more up-to-date version of the relevant .deb file? E.g. http://ports.ubuntu.com/pool/main/s/sqlite3/libsqlite3-0_3.31.1-4_${ARCH}.deb
.
It seems that I can do that using the (smart) dump plugin by passing the URL of the .deb file, like this:
libsqlite:
plugin: dump
source: http://ports.ubuntu.com/pool/main/s/sqlite3/libsqlite3-0_3.31.1-4_${ARCH}.deb
Is there a reasonably elegant way to incorporate the arch dependency in this? I do need this to work on multiple architectures, so I can’t hardcode that. But it doesn’t seem that I can use environment variables in the URL for the dump
plugin. Is my only option to substitute this with a reasonably elaborate script, like this one:
Any advice welcome, also with respect to better solutions to the overall problem I described above.