this post was submitted on 15 Nov 2024
200 points (98.5% liked)
linuxmemes
21272 readers
749 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
That is the behaviour that's built for when an upgrade through a "classic" package manager (e.g. apt, dnf) updates Firefox while it's still running. The only way I can think of that you'd get that with a snap is if you're intentionally bypassing the confinement (e.g. by running
/snap/firefox/current/usr/lib/firefox/firefox
directly, which can also massively mess with other things since Firefox won't be running in thecore22
environment it expects).If you're using the snap as expected (e.g. opening the
.desktop
file in/var/lib/snapd/desktop/applications/
, running/snap/bin/firefox
or runningsnap run firefox
), snapd won't replace/snap/firefox/current
until you no longer have any processes from that snap running. Instead you'll get a desktop notification to close and restart Firefox to update it, and two weeks to either do so or to runsnap refresh --hold firefox
to prevent the update (or something likesnap refresh --hold=6w firefox
to hold the refresh for 6 weeks). Depending on what graphical updater you have, you may also have the ability to hold the update through that updater.Are you sure you're running the Firefox snap? Because that sounds pretty much precisely like the expected behaviour if someone had gone to lengths to avoid using the snap.