Skip to content
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

GNOME Software prompts to enable third party repos #175

Closed
castrojo opened this issue Apr 15, 2023 · 4 comments · Fixed by #177
Closed

GNOME Software prompts to enable third party repos #175

castrojo opened this issue Apr 15, 2023 · 4 comments · Fixed by #177

Comments

@castrojo
Copy link
Member

On fresh install when you first launch gnome-software you get this:

image

This is confusing because we set everything up already, so we need to find a way to disable this dialog. bigpod thinks it might be a dconf key.

@castrojo
Copy link
Member Author

Perhaps setting /org/gnome/software/first-run to false?

castrojo added a commit that referenced this issue Apr 15, 2023
Let's see if this fixes #175
@castrojo castrojo reopened this Apr 16, 2023
@castrojo
Copy link
Member Author

This is still happening so leaving it open, though the setting seems benign.

@bobslept
Copy link
Contributor

bobslept commented Aug 6, 2023

This seems to be triggered by the existence of a state file located in /var/lib/fedora-third-party/state

The file is created with the fedora-third-party command which is actually run by yafti. The problem here is that it never succeeds because it hasn't enough rights to create this file.

Running it as a user will result in:

[user@fedora ~]$ fedora-third-party disable
fedora-third-party must be run as root.
[user@fedora ~]$ 

Another thing is that if gnome-software is launched (for example in the background) before the command actually did run with enough rights you will still see the the popup. If you first do a gnome-software --quit and then launch it again you don't see the popup.

@bobslept
Copy link
Contributor

bobslept commented Nov 3, 2023

I think since we introduced the flatpak-manager we no longer have these prompts, because we disable the third party repos there also. And those run with higher permissions then before.

/usr/lib/fedora-third-party/fedora-third-party-opt-out
/usr/bin/fedora-third-party disable

Tested on a clean installation with bluefin-38-2023-10-27-x86_64-rc.iso and don't see the prompts anymore.

Therefore I think this issue can be closed.

@bobslept bobslept closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants