Howto flatpak: Difference between revisions
Line 47: | Line 47: | ||
bwrap: can't make symlink at /var/run: File exists | bwrap: can't make symlink at /var/run: File exists | ||
/media which is normally a real directory on archlinux to be a symlink to /var/run/media, replacing /media with a symlink to /run/media seems to fix the issue, before running the following command make sure you don't have any external drive mounted. | /media which is normally a real directory on archlinux to be a symlink to /var/run/media, replacing /media with a symlink to /run/media seems to fix the issue, before running the following command make sure you don't have any external drive mounted. | ||
mount |grep media | |||
if you see any output with previous command, umount the device, then proceed. | |||
rm -rf /media | rm -rf /media | ||
rm -rf /var/run/media | rm -rf /var/run/media | ||
mkdir /run/media | mkdir /run/media | ||
ln -s /run/media /media | ln -s /run/media /media |
Revision as of 03:59, 12 January 2023
update appstream data for remotes:
flatpak update --appstream
prevent automatic and manual updates to a runtime or application:
flatpak mask libreoffice
remove the mask from app:
flatpak mask --remove libreoffice
search for apps in flatpak:
flatpak search libreoffice
list installed apps:
flatpak list
list all installed flatpak with installation type, size and application id:
flatpak --columns=app,name,size,installation list
view all the installed flatpak with name and installed size:
flatpak --columns=name,size list
uninstall all apps:
flatpak uninstall --all
uninstall flatpak packages that are not in use:
flatpak uninstall --unused
uninstall and delete everything related to flatpak:
flatpak uninstall --all --delete-data
uninstall a specific flatpak package:
flatpak uninstall <application ID>
repair flatpak apps:
flatpak repair
update all apps:
flatpak update
verify the size of /var/lib/flatpak used by all flatpak apps:
du -h --max-depth=1 /var/lib/flatpak
view only the flatpak installed by users:
flatpak --columns=name,size --user list
show flatpak command history:
flatpak history
install flatseal to view flatpak apps permissions:
flatpak install flathub com.github.tchx84.Flatseal
show flatpak repos:
flatpak remotes
disable flatpak repo:
flatpak remote-modify --disable flathub
enable flatpak repo:
flatpak remote-modify --enable flathub
look for flatpak app associated commit id:
flatpak remote-info --log remote app-name
deploy specific commit id:
flatpak update --commit=commit app-name
fix error
i got this error on archlinux when trying to run obs via flatpak:
bwrap: can't make symlink at /var/run: File exists
/media which is normally a real directory on archlinux to be a symlink to /var/run/media, replacing /media with a symlink to /run/media seems to fix the issue, before running the following command make sure you don't have any external drive mounted.
mount |grep media
if you see any output with previous command, umount the device, then proceed.
rm -rf /media rm -rf /var/run/media mkdir /run/media ln -s /run/media /media