-
I created a container in the GUI called
container1
. Then I tried to install an application in the same configuration page but I get a spinning "busy" wheel that continues indefinitely (~hour). If I close the screen and come back it says that no packages are installed.So I opened a terminal and tried to run the command line equivalent. First I tried to list my containers:
$ libertine-container-manager list xenial
Obviously,
xenial
is different fromcontainer1
.Then I tried a basic usage from the documentation. I tried to install a package like this:
libertine-container-manager install-package -p fish -i container1
It says that there is no container id with that name.
The I tried with no
-i
flag:libertine-container-manager install-package -p fish
Then it says it is unable to acquire the dpkg lock. Nothing else was using it I don't think. Same result with adding
-i xenial
.I thought maybe it was a permissions issue but when I prepend
sudo
to the above command it says I should not be using sudo with Libertine.How do I use Libertine to install apps?
-
I've been facing the same problems and was about to create an issue (but I've no time this week-end). Don't worry, you can install applications, but the name and the password that you give to create the container seem useless.
If you have a container in the GUI, delete it to be sure there was no problem when you closed the screen. Swipe the name of the container to the right and hit the "trashcan". When you see "Get started" create a new container and let it do its job. To see what's happening, swipe the container name to the left and hit "information" then "view" if necessary and go down to see the log. Wait until completion ...!
Once it's over, the GUI shows the name that you proposed but you have now a clean container named "xenial". Install for example gnome-system-monitor (good tool to see what's happening on you phone). Hit the spinning wheel to see the log as above and wait until completion ...!
Enjoy
Pulsar33See it working in this subject for example