Bug 438048 - Discover does not honor repo include/exclude statements
Summary: Discover does not honor repo include/exclude statements
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.21.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-03 17:19 UTC by Gerald Cox
Modified: 2021-06-17 00:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Cox 2021-06-03 17:19:19 UTC
SUMMARY
Discover does not honor repo include/exclude statements


OBSERVED RESULT

Discover shows that an update is available in a repo that has include/exclude statements which should prevent this package from being shown or selected.


EXPECTED RESULT
If a package is excluded, it should be ignored by Discover and not shown as being available in that particular repository.


Workaround is unfortunately having to completely unselect the repo search function and use DNF or another package.  

         /:-------------:\          
       :-------------------::        ------------- 
     :-----------/shhOHbmp---:\      OS: Fedora 34 (Workstation Edition) x86_64 
   /-----------omMMMNNNMMD  ---:     Host: 80K4 Lenovo ideapad 500-15ACZ 
  :-----------sMMMMNMNMP.    ---:    Kernel: 5.12.8-300.fc34.x86_64 
 :-----------:MMMdP-------    ---\   Uptime: 36 mins 
,------------:MMMd--------    ---:   Packages: 2841 (rpm) 
:------------:MMMd-------    .---:   Shell: bash 5.1.0 
:----    oNMMMMMMMMMNho     .----:   Resolution: 1920x1080 
:--     .+shhhMMMmhhy++   .------/   DE: Plasma 5.21.5 
:-    -------:MMMd--------------:    WM: kwin 
:-   --------/MMMd-------------;     Theme: Breeze [Plasma], Adwaita [GTK2/3] 
:-    ------/hMMMy------------:      Icons: [Plasma], breeze [GTK2/3] 
:-- :dMNdhhdNMMNo------------;       Terminal: konsole 
:---:sdNMMMMNds:------------:        CPU: AMD A10-8700P Radeon R6 4C+6G 
:------:://:-------------::          GPU: AMD ATI Radeon R5/R6/R7 Graphics 
:---------------------://            Memory: 4296MiB / 7474MiB
Comment 1 Aleix Pol 2021-06-07 01:07:22 UTC
As far as I understand, this is an issue in upstream PackageKit, can you please report there?

https://github.com/PackageKit/PackageKit/issues/

Thank you!
Comment 2 Gerald Cox 2021-06-07 14:29:34 UTC
Thanks for the info, I reported it here:
https://github.com/PackageKit/PackageKit/issues/485

However, there is also this...
https://blogs.gnome.org/hughsie/2019/02/14/packagekit-is-dead-long-live-well-something-else/

Which begs the question, why is Discover using packagekit when packagekit is basically going away?
Comment 3 Aleix Pol 2021-06-17 00:04:30 UTC
1. there's no alternative
2. it's actively maintained by other people besides hughsie.