haleba
December 26, 2022, 5:02am
1
I gave flatpak a try today. Audacity was one of the apps I tried to use, but it has locked up and I can’t use kill from the command line because Audacity is not a regularly installed app.
Looking online “flatpak kill” can kill a flatpak-installed application and Flatpak’s website explicitly lists “kill” as being an option for the flatpak command but flatpak --help does not list “kill” as a valid option
flatpak --version
Flatpak 1.0.9
Restarting is the only way I can see to kill it, but it would be nice not to have to reboot when flatpak apps fail.
Thanks
flatpak kill works on my Manjaro System. It is also listed under --help. Maybe your distro has a outdated version of Flatpak.
haleba
December 26, 2022, 8:19pm
3
Thanks for confirming what ought to be there, but the install was done with Flatpak’s PPA per the instructions on their website, which is why I’m baffled, when the site clearly shows a “flatpak kill” command/option.
Only hting I can think is to uninstall/reinstall Flatpak and see what happens.
CORRECTION
Double checked
“With older Ubuntu versions , the official Flatpak PPA is the recommended way to install Flatpak …”
Ubuntu Quick Setup
I saw the PPA installation method on another article about Flatpak and I just concentrated on cut/pasting the commands.
Removing and redoing with a plain apt install and see what pops up.
haleba
December 26, 2022, 8:56pm
4
Reinstalled using apt install and kill is still not not an option for the flatpak command.
Opened an issue on their github.
cho2
December 27, 2022, 9:13am
5
opened 08:51PM - 26 Dec 22 UTC
closed 05:43PM - 27 Dec 22 UTC
invalid
I was experimenting with using Flatpak versus apt and installed Audacity, which … locked up. I could not close the app and Ubuntu did not see Audacity as an application I couldn't kill it.
Multiple sources mention a flatpak command "kill" option, but the installed flatpak command does **_not_** list "kill" as an option
`flatpak --help
Usage:
flatpak [OPTION…] COMMAND
Builtin Commands:
Manage installed apps and runtimes
install Install an application or runtime
update Update an installed application or runtime
uninstall Uninstall an installed application or runtime
list List installed apps and/or runtimes
info Show info for installed app or runtime
config Configure flatpak
repair Repair flatpak installation
create-usb Put apps and/or runtimes onto removable media
Finding applications and runtimes
search Search for remote apps/runtimes
Running applications
run Run an application
override Override permissions for an application
make-current Specify default version to run
enter Enter the namespace of a running application
ps Enumerate running applications
Manage file access
document-export Grant an application access to a specific file
document-unexport Revoke access to a specific file
document-info Show information about a specific file
document-list List exported files
Manage dynamic permissions
permission-remove Remove item from permission store
permission-list List permissions
permission-show Show app permissions
permission-reset Reset app permissions
Manage remote repositories
remotes List all configured remotes
remote-add Add a new remote repository (by URL)
remote-modify Modify properties of a configured remote
remote-delete Delete a configured remote
remote-ls List contents of a configured remote
remote-info Show information about a remote app or runtime
Build applications
build-init Initialize a directory for building
build Run a build command inside the build dir
build-finish Finish a build dir for export
build-export Export a build dir to a repository
build-bundle Create a bundle file from a ref in a local repository
build-import-bundle Import a bundle file
build-sign Sign an application or runtime
build-update-repo Update the summary file in a repository
build-commit-from Create new commit based on existing ref
repo Print information about a repo
Help Options:
-h, --help Show help options
Application Options:
--version Print version information and exit
--default-arch Print default arch and exit
--supported-arches Print supported arches and exit
--gl-drivers Print active gl drivers and exit
-v, --verbose Print debug information during command processing, -vv for more detail
--ostree-verbose Print OSTree debug information during command processing`
>flatpak --version
Flatpak 1.0.9
>lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
It looks outdated, kill
available since 1.1.0
cxrvh
December 27, 2022, 1:05pm
6
I doesn’t look like you’ve installed the version from the PPA:
Version 1.0.9 is from the Ubuntu repositories (Ubuntu – Details of package flatpak in bionic-updates ).
The PPA should provide 1.14.1 (Flatpak stable versions : “Flatpak” team ).
It seems your PPA wasn’t correctly setup. I’m not using a Debian based distribution, therefore I can’t help with any specifics. But it seems you can check the packages with apt show flatpak
or apt-cache show flatpak
. This should indicate which version gets installed from which repository.
1 Like