-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu App Centre cant install apps #1070
Comments
Can you check if |
running
running
Running
I looked up these errors online, but I didn't want to jump into things like adding my user to the admin group if that isn't the correct process, so I haven't tried anything further yet to solve these errors. Do you have any suggestions? Additionally, I looked into polkit, polkit-mate, and authentication agents. Am I right in thinking that Regolith should have come with one already installed and running? Possibly the built in Gnome flashback authentication agent? Treat me as a noob here, I'm still trying to get my head around all of this stuff |
Having the same issue here. Running Regolith 3.2 on a fresh install of Ubuntu 24.04.1. "Ubuntu user authentication popup" does not show up (or rather it is immediately closed in a blink of a second when it was supposed to wait for a user to type in the password) As a workaround, I can run the following command and then keep the process running to show that popup.
But this isn't the way we would go after. Waiting for some thoughts! |
@SoumyaRanjanPatnaik Any further guidance on how to resolve this issue? |
Try installing regolith-sway-polkit and restart the session. |
@SoumyaRanjanPatnaik I'm on Regolith i3. I guess this would not work? |
i3 session uses gnome flashback which uses gnome polkit agent. You can still try mate polkit. |
i3 session uses gnome flashback which uses gnome polkit agent. I think you can try installing mate polkit and update your i3 config to exec it during startup. You might have to kill the gnome polkit agent and well |
And with the gnome polkit it doesn't work, right? |
It should. Would have to debug a bit more. Can you manually try starting gnome polkit? |
In my case, policykit-1-gnome was not installed, so I did |
It was not? @kgilmer should we add this as a dependency to the flashback session? |
No, it was not installed. I upgraded from Ubuntu 22.04 and Regolith 2 to Ubuntu 24.04 and Regolith 3, and maybe it got lost somewhere? I remember that when I was using Ubuntu 22.04, it was working somehow. |
I don't see any concerning dependencies to the package, and it does look like some other DEs express a dependency upon ~/dev/repos$ apt list --installed | grep policykit-1-gnome
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
policykit-1-gnome/noble,now 0.105-7ubuntu5 amd64 [installed,automatic]
~/dev/repos$ apt rdepends policykit-1-gnome
policykit-1-gnome
Reverse Depends:
Depends: cinnamon (>= 0.105-6)
|Depends: timekpr-next
|Depends: riseup-vpn
|Depends: update-manager
Recommends: unity-control-center
Depends: ubuntu-unity-desktop
Recommends: ubuntu-budgie-desktop-minimal
Recommends: ubuntu-budgie-desktop
|Depends: timekpr-next
|Recommends: thunar
|Depends: riseup-vpn
Recommends: pcmanfm
|Recommends: lightdm
Depends: libqapt3-runtime
|Depends: gnome-system-tools
Suggests: cpupower-gui
Depends: cinnamon-control-center
|Depends: network-manager-gnome
Depends: apper
|Depends: update-manager |
* fix: add dependency to policykit-1-gnome addresses regolith-linux/regolith-desktop#1070 --------- Co-authored-by: Regolith Linux <[email protected]>
Describe the bug
When trying to install apps using Ubuntu's App Centre you get a rather unhelpful error message stating "something went wrong..were sorry, but we're not sure what the error is."
The has happened with every app I have tried to install unsing App Centre (eg Opera, freeCAD, etc), and has also happened when I try to use App Centre to install a .deb package.
This error doesn't occur if I log out and run a standard Ubuntu session on the same install.
The point at which Regolith seems to be falling down is when App Centre tries to pop up an authentication dialog asking for your password to confirm the install. Looking in the logs this is backed up by a polkit error from snapd
access.go:66: polkit error: Authorization requires interaction
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration file(s)
Please attach or mention any customization you've done to configuration files which might have an impact on the bug you are describing. It'll help us determine the root cause of your issue.
Installation Details
Additional context
Add any other context about the problem here.
I looked around for solutions and I saw mention of needing to change permissions on a polkit file, however I quickly felt out of my depth trying to judge if these solutions were even related to this issue, so I didn't try any of them. I did notice that
/usr/libexec/polkit-agent-helper-1
seems to have a broken link of some kind? I have included a screenshot that i'm sure you guys will understand better than I do.Please feel free to ask me to try things!
The text was updated successfully, but these errors were encountered: