Bug 418708 - Settings shows double entry for flatpak flathub
Summary: Settings shows double entry for flatpak flathub
Status: RESOLVED NOT A BUG
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.18.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2020-03-10 14:22 UTC by Ian Newton
Modified: 2020-08-11 01:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of double entry for update versions (83.91 KB, image/png)
2020-03-10 14:22 UTC, Ian Newton
Details
Screenshot of double entry for flatpak flathub (83.91 KB, image/png)
2020-03-12 09:57 UTC, Ian Newton
Details
Screenshot of double entry for flatpak flathub and all packages are duplicated (1.49 MB, image/png)
2020-04-15 21:10 UTC, Ian Newton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Newton 2020-03-10 14:22:38 UTC
Created attachment 126709 [details]
Screenshot of double entry for update versions

SUMMARY


STEPS TO REPRODUCE
1. Add flatpak backend
2. Open Discover

OBSERVED RESULT

Discover > update tries to reinstall GNOME Application Platform same version
Discover > Settings shows double entry for flatpak flathub
Discover > update GNOME Application Platform > Sources shows double entries for versions available

EXPECTED RESULT

No updates to perform

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 5.5.7-1-MANJARO 
KDE Plasma Version: plasmashell 5.17.5
KDE Frameworks Version: KDE Frameworks 5.66.0
Qt Version: Qt 5.14.1 (built against 5.14.0)

ADDITIONAL INFORMATION
Comment 1 Ian Newton 2020-03-12 09:57:31 UTC
Created attachment 126743 [details]
Screenshot of double entry for flatpak flathub
Comment 2 Nate Graham 2020-04-15 17:06:32 UTC
Cannot reproduce.
Comment 3 Ian Newton 2020-04-15 21:10:23 UTC
Created attachment 127584 [details]
Screenshot of double entry for flatpak flathub and all packages are duplicated
Comment 4 Ian Newton 2020-04-15 21:14:36 UTC
Gnome Application Platform install issue seems to be resolved and is maybe irrelevant but the double entry for Flatpak repos and packages remains. It is not clear where the configuration for Discover is stored as there appear to be no config files?
Comment 5 Aleix Pol 2020-07-30 23:13:51 UTC
Can you tell us what output you get from

$ flatpak remote-list

?

Maybe you really have the remote added twice...
Comment 6 Ian Newton 2020-07-31 07:14:47 UTC
The result I get is:

flatpak remote-list
Name            Options
flathub         system
flathub         user
linphone-origin user,no-enumerate

So it looks like I have a config for user and for system. Which one should I try to remove? I'm not sure how this would have happened as the install of Discover was simply by Octopii which uses pacman then flatpak was added from Discover.
Comment 7 Ian Newton 2020-08-01 08:49:56 UTC
Removing (renaming to _flatpak) ~/.local/share/flatpak solves the problem so a single flatpak/flathub entry is shown in Discover settings. The question is how this user config was ever created?
Comment 8 Aleix Pol 2020-08-11 01:04:53 UTC
Maybe you copied some text from the internet into your shell?

In any case, closing as Discover's behaviour is correct.

If you think it might have been Discover, we can look into addressing it.