Skip to content
maboroshin edited this page Feb 19, 2025 · 17 revisions

Flatpak test on Linux USB live boot


Ubuntu version 24.10

Don't close the Welcome Wizard until it is finished preparing. Otherwise, the start menu in the lower left corner will not close.

sudo apt install flatpak
sudo apt install gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Open target app and click install button, so click downloaded file.

e.g. Pipeline

Retuned error when try run the app:

flatpak run de.schmidhuberj.tubefeeder
Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/ubuntu/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

bwrap: Creating new namespace failed: Permission denied
error: ldconfig failed, exit status 256

Ubuntu version 23.10 Japanese Remix

sudo apt install flatpak

Retuned error :

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package flatpak

So, try old method

sudo add-apt-repository ppa:flatpak/stable

Retuned error : 404

https://launchpad.net/~flatpak/+archive/ubuntu/development provides newer prereleases of Flatpak from its development branch.
More info: https://launchpad.net/~flatpak/+archive/ubuntu/stable
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Ign:1 cdrom://Ubuntu 23.10 _Mantic Minotaur_ - Release amd64(20231019) mantic InRelease
Hit:2 cdrom://Ubuntu 23.10 _Mantic Minotaur_ - Release amd64(20231019) mantic Release
Hit:4 http://archive.ubuntulinux.jp/ubuntu mantic InRelease
Hit:5 http://archive.ubuntulinux.jp/ubuntu-ja-non-free mantic InRelease
Ign:6 http://jp.archive.ubuntu.com/ubuntu mantic InRelease
Ign:7 http://jp.archive.ubuntu.com/ubuntu mantic-updates InRelease
Err:8 http://jp.archive.ubuntu.com/ubuntu mantic Release
  404  Not Found [IP: 185.125.190.83 80]
Err:9 http://jp.archive.ubuntu.com/ubuntu mantic-updates Release
  404  Not Found [IP: 185.125.190.83 80]
Ign:10 http://security.ubuntu.com/ubuntu mantic-security InRelease
Err:11 http://security.ubuntu.com/ubuntu mantic-security Release
  404  Not Found [IP: 185.125.190.83 80]
Ign:12 https://ppa.launchpadcontent.net/flatpak/stable/ubuntu mantic InRelease
Err:13 https://ppa.launchpadcontent.net/flatpak/stable/ubuntu mantic Release
  404  Not Found [IP: 185.125.190.80 443]
Reading package lists... Done
E: The repository 'http://jp.archive.ubuntu.com/ubuntu mantic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://jp.archive.ubuntu.com/ubuntu mantic-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://ppa.launchpadcontent.net/flatpak/stable/ubuntu mantic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Kubuntu version 24.10

sudo apt install kde-config-flatpak

Returned error:

Package kde-config-flatpak is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Error: Package 'kde-config-flatpak' has no installation candidate

So, try old method

sudo add-apt-repository ppa:alexlarsson/flatpak

Returned:

PPA publishes dbgsym, you may need to include 'main/debug' component
Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu/
Suites: oracular
Components: main
'
Description:
 Linux application sandboxing and distribution framework
More info: https://launchpad.net/~alexlarsson/+archive/ubuntu/flatpak
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.

Ign:1 cdrom://Kubuntu 24.10 _Oracular Oriole_ - Release amd64 (20241007.6) oracular InRelease
Hit:2 cdrom://Kubuntu 24.10 _Oracular Oriole_ - Release amd64 (20241007.6) oracular Release
Hit:4 http://archive.ubuntu.com/ubuntu oracular InRelease                                                    
Hit:5 http://archive.ubuntu.com/ubuntu oracular-updates InRelease                                            
Hit:6 http://security.ubuntu.com/ubuntu oracular-security InRelease                                     
Ign:7 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu oracular InRelease                    
Err:8 https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu oracular Release
  404  Not Found [IP: 185.125.190.80 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/alexlarsson/flatpak/ubuntu oracular Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
sudo apt update
sudo apt install flatpak
sudo apt install plasma-discover-backend-flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/kubuntu/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Retuned error when try run the app:

flatpak run de.schmidhuberj.tubefeeder
Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/kubuntu/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

bwrap: Creating new namespace failed: Permission denied
error: ldconfig failed, exit status 256

Kubuntu version 24.04

Underconstruction

Misc

Command for terminal messages in English

export LANG=en_US.UTF-8

Link