FherStk / marvelsnaptracker-for-ubuntu

An Ubuntu app builder for the Marvel Snap Tracker repo (https://github.com/Razviar/marvelsnaptracker)
GNU Affero General Public License v3.0
4 stars 2 forks source link

Command 'lxc' not found #2

Closed AdamSpinek closed 1 year ago

AdamSpinek commented 1 year ago
./marvel-snap-deck-tracker-ubuntu.sh: linia 40: lxc: command not found
Initializing the LXC/LXD container...
./marvel-snap-deck-tracker-ubuntu.sh: linia 43: lxd: command not found
./marvel-snap-deck-tracker-ubuntu.sh: linia 49: lxc: command not found
./marvel-snap-deck-tracker-ubuntu.sh: linia 51: lxc: command not found

Building the binary:
Copying the build script within the container...
./marvel-snap-deck-tracker-ubuntu.sh: linia 59: lxc: command not found
Running the build script within the container...
./marvel-snap-deck-tracker-ubuntu.sh: linia 62: lxc: command not found

Lxc tool is installed by: sudo snap install lxd # version 5.8-ee04373, or sudo apt install lxd-installer # version 1

I installed the lxd with snap and then the script run properly.

Ubuntu 22.10

FherStk commented 1 year ago

Hi,

Yes, LXC should be installed prior to run the script, but I'll update it in order to automate LXC install if needed.

Thanks for your feedback, Fher

FherStk commented 1 year ago

LXC is already being installed as a prerequisite thought APT, but I guess this doesn't work on Ubuntu 22.10 (I only tested in 22.04 LTS). I'll test it again (and fix it) using a 22.10 container.