Libertine App Install, Run, and Remove
-
I am trying to install foxtrotgps (https://www.foxtrotgps.org/) as an app in a Libertine Contianer. I am running Ubuntu 20.04 (2023-W13) from 20.04/arm64/android9plus/stable on a Google Pixel 3a phone.
- Libertine fails to install a package because of permissions related to the creation of a directory /run/gpsd. How do you fix permission errors related to gpsd?
- Why is there are discrepancy between the terminal “container list-apps” and the Libertine GUI?
- Shouldn’t failed installs not show under start menu and “libertine-container-manager list-apps”?
- Shouldn’t “libertine-container-manager list” and Settings>Libertine>Manage Libertine Containers show the same information?
Details:
I have a default Libertine container set up "Ubuntu 'Focal Fossa'". 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'
I tried to install the app but the Libertine GUI shows no apps installed. But:$ libertine-container-manager list-apps focal_foxtrotgps_0.0Running the application from the start screen starts X11 support and the foxtrotgps app but nothing but a black screen appears.
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.0”
I get the following:$ ubuntu-app-launch focal_foxtrotgps_0.0 -bash: ubuntu-app-launch: command not foundHere is what is shown when I try to install the app from the command line. The sticking point seems to be “Stopped: Couldn't create home directory `/run/gpsd': Permission denied.” When I install the same app on my desktop computer the /run/gpsd directory gets created with no problem. Here is the output from trying to install the app with Libertine:
$ libertine-container-manager install-package -p foxtrotgps Failed to connect to bus: Operation not permitted Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB] Get:3 https://repo2.ubports.com focal InRelease [10.4 kB] Get:4 https://repo2.ubports.com focal/main arm64 Packages [4,275 kB] Get:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [2,025 kB] Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en [453 kB] Get:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [1,006 kB] Get:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en [260 kB] Get:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages [8,476 B] Get:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en [7,484 B] Fetched 8,159 kB in 6s (1,315 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... foxtrotgps is already the newest version (1.2.2-2ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. 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) Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. 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) libertine-container-manager:184: ERROR: install_package(): Package 'foxtrotgps' failed to install in container 'focal'If I try to remove the app:
$ 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. $ libertine-container-manager list-apps focal_foxtrotgps_0.0So..
- Libertine fails to install a package because of permissions related to the creation of a directory /run/gpsd. How do you fix permission errors related to gpsd?
- Why is there are discrepancy between the terminal “libertine-container-manager list-apps” and the Libertine GUI?
- Shouldn’t failed installs not show under start menu and “libertine-container-manager list-apps”?
- Shouldn’t libertine-container-manager list and Settings>Libertine>Manage Libertine Containers show the same information?
-
E enohpu referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login