{"slug": "flatpak-app-disapear-in-elementary-os-8-1-sometimes-md", "title": "Flatpak app disapear in Elementary OS 8.1 sometimes.md", "summary": "A developer reports that Flatpak apps disappear in Elementary OS 8.1 after certain package installations or repository additions. The developer shares a troubleshooting solution involving reinstalling Flatpak and AppCenter, updating the appstream, and refreshing the desktop database, with commands to set up an alias for convenience.", "body_md": "I installed this new version of elementary OS 8.1 and kept running into issues with package installations.\n\nTo be honest, I’m not exactly sure what the root cause is, but in some cases—after installing something via the terminal or adding a repository—Flatpak would suddenly disappear, taking my Flatpak-based apps with it; this happened twice.\n\nHowever, after consulting Claude, I found a troubleshooting solution that works, and I’m sharing it here. If anyone else is a beginner or doesn't know the fix, you can simply copy these commands. I even set up an alias for them in `~/.bashrc`\n\n.\n\n```\nsudo apt update\nsudo apt install flatpak\napt-cache search appcenter\napt-cache policy appcenter\nsudo apt install --reinstall appcenter\nsudo flatpak update --appstream\nflatpak repair\nupdate-desktop-database ~/.local/share/applications 2>/dev/null\ngnome-session-quit --no-prompt\n\nor maybe you can try short version (if work)\nflatpak repair && sudo flatpak update --appstream && update-desktop-database ~/.local/share/applications\n```\n\nor\n\n```\nalias icon_disapear_fix='sudo apt update && sudo apt install flatpak && apt-cache search appcenter && apt-cache policy appcenter && sudo apt install --reinstall appcenter && sudo flatpak update --appstream && flatpak repair && update-desktop-database ~/.local/share/applications 2>/dev/null && gnome-session-quit --no-prompt'\nor you can change to another alias name\n\nor maybe you can try short version (if work)\nalias fix_flatpak='flatpak repair && sudo flatpak update --appstream && update-desktop-database ~/.local/share/applications'\n```\n\nand you must be Sign Out first from your session to refresh your flatpak app list", "url": "https://wpnews.pro/news/flatpak-app-disapear-in-elementary-os-8-1-sometimes-md", "canonical_source": "https://gist.github.com/dezuhan/23cf237360e1aa6cdfc40216093dcd44", "published_at": "2026-07-21 19:40:52+00:00", "updated_at": "2026-07-21 19:48:34.119197+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["Elementary OS", "Flatpak", "Claude"], "alternates": {"html": "https://wpnews.pro/news/flatpak-app-disapear-in-elementary-os-8-1-sometimes-md", "markdown": "https://wpnews.pro/news/flatpak-app-disapear-in-elementary-os-8-1-sometimes-md.md", "text": "https://wpnews.pro/news/flatpak-app-disapear-in-elementary-os-8-1-sometimes-md.txt", "jsonld": "https://wpnews.pro/news/flatpak-app-disapear-in-elementary-os-8-1-sometimes-md.jsonld"}}