Bug 362047 - Files from properly loaded ppa's do not appear in muon for installation!
Summary: Files from properly loaded ppa's do not appear in muon for installation!
Status: RESOLVED FIXED
Alias: None
Product: muon
Classification: Applications
Component: muon (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
: 330070 368348 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-21 17:43 UTC by Terry Parris
Modified: 2016-09-15 09:13 UTC (History)
6 users (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 Terry Parris 2016-04-21 17:43:07 UTC
After adding several ppa's in muon version 5.6.0, the packages for those ppa's FAIL to load for installation from muon.  If you check the sources via muon, the ppa's are listed.  The packages just never show up even if you update the repositories.  This is NOT just muon related.  It also happens in muon-discover.  You can still load the ppa packages from the CLI however.

Reproducible: Always

Steps to Reproduce:
1.Open muon
2.Add ppa either from within muon or via CLI
3.Update muon

Actual Results:  
I've added four ppa's.  I've checked that they were properly loaded from both the CLI, muon, and muon discover.  ALL show that the sources are listed in the apt.conf.d folder with appropriate keys.  However, every time I open muon or muon discover, packages from these four ppa's are not show.  The following are the loaded ppa's:

ppa:danielrichter2007/grub-customizer
ppa:webupd8team/java
ppa:linrunner/tlp
ppa:videolan/stable-daily

Where I'm not seeing the packages are from webupd8team and grub-customizer namely.

Expected Results:  
What I expect is for packages in properly loaded ppa's to show up in muon or muon discover.

Discovered running Kubuntu 16.04 LTS in VirtualBox prior to it's release.
Comment 1 Rick Timmis 2016-04-25 21:45:47 UTC
Hi Terry

Thanks for the Bug report.

I tried to replicate this using both Muon 5.4.2 and the latest build 5.6.0 I was unable to replicate. In my case both version correctly reloaded their sources list after adding an additional PPA, via the Configure Software Source option. 
I then used the Filter by Origin option from the left hand window panei of Muon, and could see Oracle Java 8, 9 etc...
Comment 2 Carlo Vanini 2016-04-25 23:37:31 UTC
Hi,

the package from the ppa shows up in the "Filter by Origin" as pointed out by Rick, but writing the name in the search bar makes it disappear!

It looks like search is failing.

Terry, can you please confirm that this is the bug you are seeing?
Comment 3 Terry Parris 2016-05-04 18:29:33 UTC
Carlos,

I can indeed confirm your sighting within muon.  the ppa shows up in the "Filter by Origin" as pointed out by Rick as well as seeing the package disappear when typed into the search box.  Search is indeed failing.  I also installed (and I hate to mention this) synaptic to see if it had the same issues.  Synaptic did NOT have this issue so I think you're on to the real culprit.  It's the search function that is failing.
Comment 4 Carlo Vanini 2016-05-11 09:54:25 UTC
Searches are performed using the Xapian index, which must be kept up to date. When Muon notices that the list of packages has changed, it requests an update of the index. Unfortunately, the script that should start the update is failing. See https://bugs.launchpad.net/bugs/1579834

Workarounds:
* make the change described in the LP bug referenced above
* manually update with: sudo update-apt-xapian-index --update
* wait for the cronjob to update the index (at 6:47 every Sunday, by default ;)

Terry, thanks for finding the bug and reporting. Please add yourself as affected from the bug linked above, such that it gets more visibility.
I'm leaving this bug open since Muon seems not to pick up the changes when the update of the index has finished (it must be restarted), and that must still be investigated.
Comment 5 Carlo Vanini 2016-08-11 10:04:03 UTC
*** Bug 330070 has been marked as a duplicate of this bug. ***
Comment 6 Carlo Vanini 2016-08-16 20:04:22 UTC
Git commit 0151bc85a9d7204075fe8aad73b01dd970f93c43 by Carlo Vanini.
Committed on 11/08/2016 at 13:08.
Pushed by vanini into branch 'master'.

repeat search on xapian update

Repeat the current package search whenever the xapian index is updated.

M  +1    -0    src/PackageModel/PackageWidget.cpp

http://commits.kde.org/muon/0151bc85a9d7204075fe8aad73b01dd970f93c43
Comment 7 Carlo Vanini 2016-09-15 09:13:15 UTC
*** Bug 368348 has been marked as a duplicate of this bug. ***