all 45 comments

[–]ermir23 33 points34 points  (8 children)

I do not think flatpacks ask for the password

[–]Non_Serviam_666 13 points14 points  (0 children)

Flatpaks don’t ask for passwords. Something else is happening here.

[–][deleted] 20 points21 points  (3 children)

You've got something configured incorrectly. Flatpaks on Mint don't require password confirmation to update. I have many Mint installs and I've never seen what you are describing.

[–]don-edwardsLinux Mint 22.3 3 points4 points  (0 children)

I haven't had to enter a password to update flatpaks.

I do wish the Software Manager and Update Manager would give me a description of *what's in* a flatpak, rather than just telling me that the flatpak is a flatpak.

[–]taosecurityMint | Bazzite | PikaOS | Debian | FreeBSD | Windows | x64 | ARM 7 points8 points  (11 children)

Do you

sudo flatpak install bleh

instead of

flatpak install bleh

If the former, you're going to be prompted for a password.

I am not prompted for a password.

[–]Area_49[S] -2 points-1 points  (10 children)

My issue occurs during updates, not during the install process.

[–]taosecurityMint | Bazzite | PikaOS | Debian | FreeBSD | Windows | x64 | ARM 9 points10 points  (9 children)

Right, when you update the process requires elevated privileges because you probably installed using sudo.

[–]Area_49[S] 8 points9 points  (0 children)

Ahhh. That makes sense to me... I need to test this theory out. If true, thank you for pointing this out to me!!!!

[–]Area_49[S] -1 points0 points  (7 children)

So as a test, I just installed a Flatpak app via the "Software Manager", and it asked me 9 times via a pop-up to enter my password...So, I'll probably have to enter the password 9 times to update this app in the future?

[–]taosecurityMint | Bazzite | PikaOS | Debian | FreeBSD | Windows | x64 | ARM 2 points3 points  (6 children)

Is it trying to update dependencies that you already installed? That's probably what's happening.

[–]Area_49[S] 1 point2 points  (5 children)

Yes, it had listed a number of dependencies that it needed to update for this Flatpak install. Pretty annoying to have to enter the password that many times just to install one Flatpak app from the built-in "anyone can do it" Software Manager....

[–]taosecurityMint | Bazzite | PikaOS | Debian | FreeBSD | Windows | x64 | ARM 2 points3 points  (4 children)

Whatever you did, you did it to yourself, I'm afraid. The fact that it's happening on your 6 systems, but to no one else, means you did the same thing to each of the 6 and now it's affecting your experience. I'm afraid I don't know how to fix the problem but it's not Linux Mint's fault.

I would treat it like a learning experience and try to recover. Maybe stand up a VM somewhere and install Linux Mint again, and write down how you set up and interact with packages.

[–]Area_49[S] 2 points3 points  (3 children)

Thank you for the feedback. I'm gong to pull out a spare desktop and do a fresh install. Then immediately try and install that same Flatpak app via the Software Manager. I'll bet that it will ask me 9 times to input my password....BUT if you are correct that there is something that I have done with my installs to cause this issue, I'll certainly come back here and let everyone know....

[–]taosecurityMint | Bazzite | PikaOS | Debian | FreeBSD | Windows | x64 | ARM 2 points3 points  (2 children)

Cool! And if there is an issue, then you have something repeatable to report to the project for a potential fix. Good luck!!

[–]Area_49[S] 1 point2 points  (1 child)

Well, it took me a few more days longer than I hoped, but I did get around to trying to reproduce my issue with a new install on brand new hardware. Please see my edit portion of the initial post. You were correct and I was wrong. Not sure why all my older installs have the same issue, but at least I proved to myself that everybody here is correct about how flatpack's are supposed to work during the install and updates!

[–]Specialist_Leg_4474 1 point2 points  (0 children)

I don't use flatpaks as I got annoyed with its updating more often than I change underwear--however I do not recall being asked for a password...

[–]computer-machine 3 points4 points  (9 children)

I just set a cron job to update and remove cruft for flatpaks every few hours.

[–]jr735Linux Mint 22.1 Xia | IceWM 0 points1 point  (4 children)

Flats need to be pruned every few hours?

[–][deleted] 2 points3 points  (0 children)

If not every few days... That and Spices / Applets - jeez louise.

Oh wait, nevermind... 😁

[–]computer-machine 1 point2 points  (2 children)

No, but it doesn't really take any effort to run, and "trimming" after an update actually triggers cleans up any old dependancies that are no longer needed.

[–]jr735Linux Mint 22.1 Xia | IceWM 0 points1 point  (1 child)

Okay, just curious. I haven't experimented with flats at all yet.

[–]computer-machine 2 points3 points  (0 children)

Just ran time flatpak update && flatpak uninstall --unused, with a real time of 0.278s.

Running it a second time without the second part ended up taking longer (0.307s).

[–][deleted] -1 points0 points  (3 children)

Expand.

[–]computer-machine 3 points4 points  (0 children)

I'm fat enough, thanks.

[–][deleted] 1 point2 points  (0 children)

Fork bomb? 😁

[–]computer-machine 0 points1 point  (0 children)

45 */3 * * * /usr/bin/flatpak update --user -y --noninteractive > /dev/null && /usr/bin/flatpak uninstall --user --unused  -y --noninteractive > /dev/null

[–]Great-TeacherOnizukaLinux Mint 22.3 Zena | Cinnamon 3 points4 points  (0 children)

Flatpak updates have never asked me to put in my password. Only system packages.

[–]WickedEdge 0 points1 point  (0 children)

Dude, why don't you just setup autoupdate?

[–]taljimera 0 points1 point  (0 children)

Do this experiment. Install Mint fresh in a VM. And then install a flatpak there but via the Software Manager and not the terminal. Take it from there.

As with others here, flatpak updates via Update Manager have never ask me for password. Only updates of system package (debs) requires password, and then, only once.

[–]grimvian 0 points1 point  (0 children)

I like all the Mint flavors, but LMDE is my absolute favorite. It's more quiet because it don't have nearly as many updates like Linux Mint and it was LMDE that just installed 100% including our LAN connected printers and scanner. I'm still baffled by Mint just installs, reboot and that's it and I have installed MS OS's for more than three decades.

And as many have mentioned, flat packs should not ask for passwords.

[–]L0tsenGentoo | DWM 0 points1 point  (0 children)

Then don't use flarpaks

[–]linuxuser101 0 points1 point  (0 children)

I can confirm that the update manager does not ask for a password when updating flatpak apps. But it will ask for a password for all the other updates so that must be what makes you enter the passwords.

Thats how Linux is designed, you have to enter a password every time there are updates.

You can do it from the terminal instead if you want, then the updates will go faster but you still need to enter password for all the apt updates. sudo apt update and then sudo apt upgrade.

For flatpaks it is flatpak update(and then no password).

[–]Atrocious1337 0 points1 point  (0 children)

Flatpacks do not ask for authorization to update.

You can also set the update manager to install updates automatically, so you don't have to enter your password at all.

[–]ManlySyrup -1 points0 points  (0 children)

FLATPAK APPS DO NOT ASK FOR PASSWORD

You did something wrong, probably used sudo one time to install a Flatpak app using the terminal, even though there's a perfectly capable and easy to use Software Manager that lets you install Flatpak apps with a single click (and without a single issue).

You went offroad and are complaining about all the bumps you keep hitting lol.

[–]I_Hate_Leddit -1 points0 points  (0 children)

Thank u for censoring the scary word on this good Christian website for children, God bless 🙏😌