Issues with Libertine
-
Hi,
I am using last focal fossa version of UT's on lavender (build number 2023-W13).
A) When I am trying remove a package, for that the installation has not
been completed before (it fails for several reason, e.g. the wifi was
disconnected during install) then
libertine-container-manager remove-package -p <PACKAGE_NAME>
is giving an error message that the package is already installed
(in german).This message makes no sense at all, if I want to REMOVE the package!
More problematic is, that I have no clue what exactly is the problem
and dont know how to resolve the problems.Is it recommend to employ dpkg or apt in a shell of the corresponding container?
B.) All of my X11-Windows applications are just displaying black X11-screens
(just black windows filling the display). Any ideas what could be
the reason for that?C) Installations of some packages (e.g. via
libertine-container-manager install-package -p gnuplot)
have failed, because of an error during
configuration of the dnsmasq-base package.In detail I found the message, that the
directory /run/dnsmasq cannot be created
because I do not have rights for that.(installed dnsmasq-script of the package
post-installation return error 1, so /usr/bin/dpkg did that as well)I'd created first the folder by hand under
~/.cache/libertine-container/CONTAINER-IDENTIFIER/rootfs/
(home of user phablet), but it has not
change anything.So I did switched to root (sudo -s), remounted
/ with write access and created /run/dnsmasq unter the root directory and installations have work after that.D) It would also be good to mention in the documentation,
that in settings of the battery the "time until sleeping" should
be set to "Nether".Bests.
-
I found a solution for the issue B in one
of the older threads here, and will check that out. -
I'm afraid I can't help but I can add my experiences with C) installation of packages with Libertine.
I am running Ubuntu 20.04 (2023-W13) from 20.04/arm64/android9plus/stable on a Google Pixel 3a phone.
Let me start with what I want to accomplish as someone may have a workaround. I am in search of an application to record a GPX track. I'd like a fitness-type app that will record speed, altitude, and GPS coordinates whilst cycling. To that end I have been experimenting with uNav and Pure Maps. However so far I have been unable to find how to record and save a GPX track. So I tried installing FoxtrotGPS in a Libertine container.
I set the container up in Settings>Libertine and it shows in the terminal:
$ libertine-container-manager list
focaland it shows in Settings>Libertine>Manage Libertine Containers as"
Ubuntu 'Focal Fossa'
Then, after clicking on the name I try to add a package (+) and the installation fails. I do the installation by searching for the package name "foxtrotgps" and it returns "foxtrotgps - GTK+ mapping and GPS application". Clicking on that starts the installation. Clicking on the rotating wheel and then Operation Details shows me what is going on ...
...
Setting up gpsd (3.20-8ubuntu0.4) ...
Creating/updating gpsd user account...
Stopped: Couldn't create home directory `/run/gpsd': Permission denied.Removing directory
/run/gpsd' ... Removing user
gpsd' ...
dpkg: error processing package gpsd (--configure):
installed gpsd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
gpsd
E: Sub-process /usr/bin/dpkg returned an error code (1)
...The GUI for the container now shows that the install status is removed and that there are no packages installed.
But foxtrotgps shows in the main list of apps from the start screen. And it shows in the container list of applications:
$libertine-container-manager list-apps
focal_foxtrotgps_0.0
focal_osmose-emulator_0.0
focal_python3.8_0.0
focal_vim_0.0Running the application from the start screen starts X11 support and the foxtrotgps app but nothing but a black screen appears.
I have tried other packages (all seem to rely on gpsd) and all have the same permission errors. I tried manually installing by changing permissions and trying Waydroid and development channels which got me into a mess the solution to which was the new stable installation I have now.
So ....
- same problem as @staryvyr in that Libertine fails to install a package.
- why is there are discrepancy between the terminal list-apps and the Libertine GUI?
2a) should failed installs show under start menu and libertine-container-manager list-apps?
2b) it would be less confusing if libertine-container-manager list and Settings>Libertine>Manage Libertine Containers showed the same information. - how do you fix permission errors related to gpsd?
- has anyone found an GPS app that works to record a .GPX track on Ubuntu Touch?
-
@staryvyr said in Issues with Libertine:
A) When I am trying remove a package, for that the installation has not
been completed before (it fails for several reason, e.g. the wifi was
disconnected during install) then
libertine-container-manager remove-package -p <PACKAGE_NAME>
is giving an error message that the package is already installed
(in german).I avoid the German reprimand and instead it tells me the package is not installed even though the list-apps shows it.
Also starting the package from the command line (as per the documentation) fails. The documentation says:
Run desktop application - Run it from the app menu like any other app. To start a graphical app from the command-line, for example gedit, run this in a terminal:
#ubuntu-app-launch <CONTAINER_ID>_<desktop_file_name>_0.0
ubuntu-app-launch xenial_gedit_0.0I get the following:
LIST
$ libertine-container-manager list-apps
focal_foxtrotgps_0.0
focal_osmose-emulator_0.0
focal_python3.8_0.0
focal_vim_0.0
RUN
$ ubuntu-app-launch focal_foxtrotgps_0.0
-bash: ubuntu-app-launch: command not found
REMOVE
$ libertine-container-manager remove-package -p focal_foxtrotgps_0.0
libertine-container-manager:219: ERROR: remove_package(): Package 'focal_foxtrotgps_0.0' is not installed.
LIST AGAIN
$ libertine-container-manager list-apps
focal_foxtrotgps_0.0
focal_osmose-emulator_0.0
focal_python3.8_0.0
focal_vim_0.0