this post was submitted on 12 Feb 2025
46 points (89.7% liked)

Linux

49888 readers
939 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Firefox the flatpak version crashed and decided to remove itself from the system, is this common on Linux??

I checked thru Discover and terminal using whereis firefox and all I got is user/lib64/firefox

I should be mad, but I find this too hilarious to be mad.. lol.. files disappear not entire apps

top 27 comments
sorted by: hot top controversial new old
[–] [email protected] 85 points 1 day ago (2 children)

Be honest. What did you say that offended Firefox so bad it decided to leave?

[–] [email protected] 28 points 1 day ago

That he prefers Edge's mother's cooking.

[–] [email protected] 12 points 1 day ago

When the questions you ask chatGPT even offend the browser you're using!

[–] [email protected] 46 points 1 day ago

Did it really uninstall itself? Run this command and check whether you can see Firefox's ID or not:

flatpak list
[–] [email protected] 30 points 1 day ago (1 children)

If firefox is still in /usr/lib64/firefox, then it should still be there. Maybe just the .desktop file is removed?

[–] [email protected] 6 points 21 hours ago

OP mentioned that it was the Flatpak version, which doesnt add anything to root owned parts of the filesystem.

[–] [email protected] 18 points 1 day ago (1 children)

More than likely it was a failed package transition that failed. You were running one version, an update triggered, something went wrong, and your data folders got orphaned. You can try running a repair on the package, but they usually fail the same way.

[–] corsicanguppy 1 points 15 hours ago (1 children)

As someone formerly involved in security at the enterprise OS development scope, I consider one less Flatpak to be an improvement in security and consistency.

Well done!

[–] [email protected] 4 points 15 hours ago (2 children)

wow, really? That contradicts everything i heard about Flatpaks

[–] [email protected] 2 points 6 hours ago

people say this all the time but the reasons they give are always nonsense in my experience, sandboxing alone makes flatpak betteh

[–] [email protected] 2 points 7 hours ago

It would be nice if @[email protected] clarified

[–] [email protected] 7 points 1 day ago (1 children)
[–] [email protected] 7 points 1 day ago
[–] kionite231 5 points 1 day ago (1 children)

It's... weird, did you do something that accidentally deleted firefox?

[–] [email protected] 5 points 23 hours ago

I removed the preinstalled version, and installed the Flatpak version because it's more up to date, then i Installed Portmaster.. That's about it

[–] [email protected] 1 points 18 hours ago

I don’t have any advice for this exact problem but if it’s any consolation Firefox has randomly gotten offended at my video drivers and bricked my build. Multiple times. I use Librewolf when I can now.

That is hilarious though, sending frustrated IT vibes your way in both empathy and hopes it’ll help you reach the critical mass of superstition for the problem to fix itself before you have to threaten to take a hammer to it.

[–] [email protected] 0 points 16 hours ago (1 children)

And that's why I don't use flatpaks. Nothing like that has ever happened to me.

[–] [email protected] 2 points 15 hours ago (1 children)

I use Flatpaks because they're supposedly more sandboxed thus more secure, especially in something that is exposed to the Internet like a web browser, I need all the sandboxing I can get..

I wish it doesn't happen again, because I spent 2 hours tweaking Firefox, importing data to my extensions and some of them I have to configure manually..

[–] [email protected] 5 points 14 hours ago* (last edited 14 hours ago)

Actually, in the case of a web browser, Flatpak weakens both Firefox's and Chromium's internal sandboxing, possibly allowing for breaking of cross-site or site-host boundaries. Firefox is even weaker then Chromium as a Flatpak because it can't use the zypak fork server. Both are weakened, best to avoid.

For basically any other app, Flatpak can be beneficial as a sandbox.

Basically, don't sandbox browsers because its like wearing 2 condoms. The only sandboxing tool I know that doesn't interfere with the browser's sandbox (and also doesnt allow for the possibility of privilege escalation, like Firejail) is Bubblejail

PS: Since you mentioned you are on Fedora, Bubblejail is offered through this COPR repo from the Secureblue team. It provides a sandbox without interfering with the browser's sandbox. It comes with profiles for Firefox and Chromium. Only issue ive experienced is that the sandbox works, aka it means I can't access files from my home directory unless explicitly given permission to a folder.

[–] [email protected] -5 points 1 day ago (1 children)

You still have the binary then. Type firefox into the terminal.

[–] [email protected] 7 points 1 day ago (2 children)

It says: bash: firefox: command not found...

Install package 'firefox' to provide command 'firefox'? [N/y]

[–] [email protected] 37 points 1 day ago* (last edited 1 day ago) (1 children)

What this person told you was wrong, you need to use flatpak run [package id] to run flatpak apps. You can do flatpak list to see all installed flatpaks with their ids. An id looks something like org.example.app and you'd run it with flatpak run org.example.app.

Also, is it shown as being installed in Discover? If it's not you could try just installing it again and if it is, you can try uninstalling it first. The user data for Firefox should stay intact.

[–] [email protected] 3 points 16 hours ago

And if ever unsure, look up Firefox on flathub; every app page shows the command line instructions for installing and for running it.

[–] [email protected] 2 points 23 hours ago

Bash will cache command locations so it doesn't need to scan your path too frequently. You can clear it with "hash -r".

See the other comment about running flatpaks - it's their fatal flaw imho.