milanvarady / Applite

User-friendly GUI macOS application for Homebrew Casks
https://aerolite.dev/applite
MIT License
3.98k stars 98 forks source link

updates:PINEntry not installed correctly #52

Open amiaoapp opened 7 months ago

amiaoapp commented 7 months ago

PINEntry not installed correctly Applications that require an admin password to install will fail to install.

77874

what should i do?

milanvarady commented 7 months ago

From troubleshooting:

Pinentry is the tool used to securely request the admin password from the user. The password is needed because some applications require it to complete the installation. Most applications can be installed without Pinentry. Applite will try to install Pinentry every time you open Applite or try to download an application that has a .pkg installer. If you keep getting this error, you can try to install Pinentry manually. Open the Terminal. And paste this into it:

export PATH="$PATH:$HOME/Library/Application Support/Applite/homebrew/bin"; /usr/bin/env brew install pinentry-mac

Press Enter to run it. This will attempt to install Pinentry manually.

Edit: Fix command

amiaoapp commented 7 months ago

no folder /usr/bin/env

milanvarady commented 7 months ago

Oh, sorry. The example I provided was wrong. Use this instead:

export PATH="$PATH:$HOME/Library/Application Support/Applite/homebrew/bin"; /usr/bin/env brew install pinentry-mac
amiaoapp commented 7 months ago

Oh, sorry. The example I provided was wrong. Use this instead:

export PATH="$PATH:$HOME/Library/Application Support/Applite/homebrew/bin"; /usr/bin/env brew install pinentry-mac

thanks,code is ok,but error is still notice

54830
HyperLemons commented 2 months ago

Opened up Applite only to see this issue, wasn't there before despite installing multiple apps over the last few days.

I'm still having this warning after restarting my Macbook, pasting what @milanvarady sent into Terminal only leads to "env: brew: No such file or directory".

Aistpaw commented 2 months ago

I also have this problem How to solve it?image

milanvarady commented 2 months ago

I'm planning to replace PINEntry completely with a better solution. Right now it works in a really convoluted way and I want to make it better. I can't give an ETA on when this will be implemented, but hopefully I'll have time to do it in the next two months or so.

Aistpaw commented 2 months ago

Ok Sitandwait

milanvarady commented 2 months ago

It looks like PINEntry is installed. I think the problem is that Applite can't access it for some reason. Maybe it is some permission error. You could try checking if Applite is enabled under Automation in System Settings.