kcm_driver_manager: Infinitely shows Collecting information

Bug #1530523 reported by john safix on 2016-01-02
This bug affects 77 people
Affects Status Importance Assigned to Milestone
Kubuntu PPA
libqapt (Ubuntu)
Jose Ramon I. Diokno
Walter Lapchynski

Bug Description


* libQapt needs apt-xapian-index in order to search for packages, otherwise it never returns a result.
* As a consequence Driver Manager doesn't find packages and is empty.
* Before, apt-xapian-index was installed as a dependence of Muon (libmuon), which is not included in the default install anymore.

[Test Case 1]

* Update libqapt and run `kcmshell5 kcm_driver_manager`.
* After some time (~1 minute) Driver Manager shows suggested packages.

[Regression Potential]

* Low, Driver Manager is useless as of now.
* The same fix was applied in Yakkety.

john safix (sif00x) on 2016-01-02
description: updated
john safix (sif00x) on 2016-01-02
summary: - kcm_driver_manager: Infinitely shows Collecting information'
+ kcm_driver_manager: Infinitely shows Collecting information
Philip Muškovac (yofel) wrote :

Thanks for taking your time to report this bug and helping to make Ubuntu better. Someone else also reported this on IRC, we'll look into it.

Changed in kubuntu-driver-manager (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-16.04
status: New → Confirmed
tags: added: kubuntu xenial

same @hear ,,,just confirming it affects some one else

Kubuntu-16.04 -mar-19/daily.ISO



KDE Frameworks 5.18.0


kubuntu-driver-manager -15.10ubuntu3

Ubuntu-drivers on the CLI works as expected


Clay Weber (claydoh) wrote :

If it helps debugging,, running kcmshell5 kcm_driver_manager
only shows the message "No frame loaded"

Rohan Garg (rohangarg) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1530523

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in kubuntu-driver-manager (Ubuntu):
status: Confirmed → Incomplete
lnxusr (bjwest) wrote :

 Production was released yesterday, and this bug is still present.

ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2014-08-17 (614 days ago)
InstallationMedia: Kubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Package: kubuntu-driver-manager 15.10ubuntu3
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Tags: xenial
 == cpu-microcode.py ==
 driver : amd64-microcode - distro non-free
Uname: Linux 4.4.0-21-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-04-22 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev roccat sambashare sudo
_MarkForUpload: True

tags: added: apport-collected

apport information

apport information

apport information

apport information

Josh (jgvidals) wrote :

Is there any update on this? I'm having some graphical issues and need the nvidia driver up.

Stephen Stewart (s-g-stewart1) wrote :

Same, have graphics issues now in 16.04 that I never had in 15.10. Because this doesn't work I can't install all of Intels microcode to fix the issues.

Ashley Gaterell (ash-gaterell) wrote :

Just installed Kubuntu 16.04, I am also getting this issue. Let me know if you require any information.

John H Ring IV (johnhringiv) wrote :

For those needing an immediate workaround note that the CLI version is fully functional. (I used it to install Intel microcode and nvidia drivers). The name of the CLI program is ubuntu-drivers for those that don't know.

Nikola Snele (n-schnelle) wrote :

Guys you can install drivers/microcode from muon package manager or with apt-get.

Install muon and then search for microcode/nvidia and install needed packages.

Rick Timmis (rick-timmis) wrote :
Download full text (9.3 KiB)

Investigations into the problem reveal that kcmshell5 appears to be waiting for qapt..

<ubottu> bug 1530523 in kubuntu-driver-manager (Ubuntu) "kcm_driver_manager: Infinitely shows Collecting information" [High,Incomplete] https://launchpad.net/bugs/1530523
[21:28] <sick_rimmit> Oh ah right
[21:30] <sick_rimmit> Can you reproduce it on your machine ?
[21:30] <sick_rimmit> I am on 15.10 here right now
[21:30] <clivejo> yes
[21:31] <sick_rimmit> OK..
[21:31] <clivejo> I think it does same on 15.10
[21:31] <clivejo> can you try?
[21:31] <sick_rimmit> Nope works for me
[21:31] <clivejo> hummm
[21:31] <clivejo> so whats changed!
[21:31] <sick_rimmit> try calling it from the command line, see what output you get
[21:32] <clivejo> nothing
[21:32] <sick_rimmit> hmmm
[21:32] <sick_rimmit> did your new builds of libqapt make it into Xenial, the one for muon ?
[21:32] [Notice] -kubuntu-ci to #kubuntu-devel- Project wily_unstable_parley build #142: STILL UNSTABLE in 38 min: http://kci.pangea.pub/job/wily_unstable_parley/142/
[21:32] <clivejo> yes
[21:32] <sick_rimmit> hmmm not that then
[21:32] <sick_rimmit> Odds are that kcm is using libqapt in a similar way to muon
[21:33] <sick_rimmit> try calling it again but this time with strace
[21:33] <sick_rimmit> strace kcm-manager or whatever its called
[21:33] <clivejo> the only change to libqapt was to make it emmit signals
[21:33] <sick_rimmit> that would fit the frame
[21:33] <sick_rimmit> I mean the previous version
[21:34] <sick_rimmit> where it didn't emit them
[21:34] <clivejo> thats why muon was crashing
[21:34] <sick_rimmit> If kcm has a slot awaiting a signal then et voila! stuck code
[21:34] <sick_rimmit> ok don;t worry too much about that
[21:34] <sick_rimmit> can you get strace to run kcm
[21:34] <-- Maxiride_ (~Maxiride@ has left this server (Quit: Konversation terminated!).
[21:35] [Notice] -kubuntu-ci to #kubuntu-devel- Project wily_unstable_kactivities build #190: STILL UNSTABLE in 40 min: http://kci.pangea.pub/job/wily_unstable_kactivities/190/
[21:37] <clivejo> it runs and gets stuck
[21:37] <clivejo> strace keeps displaying this over and over
[21:37] <clivejo> http://paste.ubuntu.com/16088409/
[21:39] * sick_rimmit grabs monacle
[21:40] --> Blizzz (~blizzz@ubuntu/member/blizzz) has joined this channel.
[21:40] <sick_rimmit> If you sit for a few seconds hands off machine does it continue output
[21:41] <clivejo> yes
[21:41] <sick_rimmit> strace is a Stack trace utility so it picks up mouse, kdb, everything really
[21:41] <clivejo> just sits there doing that
[21:41] <clivejo> until I close the window
[21:41] <sick_rimmit> Ok so it is stuck in a loop doing something
[21:42] <sick_rimmit> question is what ?
[21:42] <sick_rimmit> so run it again without strace then ps uax to find its process id
[21:42] <clivejo> was hoping you could answer that
[21:42] <sick_rimmit> then lets try lsof
[21:42] * sick_rimmit needs man pages
[21:43] <sick_rimmit> ah yes
[21:44] <sick_rimmit> lsof -p <pid>
[21:44] <sick_rimmit> that will tell us what it is doing
[21:45] <-- SilentGh1 (~SilentGho@unaffiliated/silentghost) has left this server (Ping timeout: 246 seconds).
[21:45] <-- adrian (~adria...


Rick Timmis (rick-timmis) wrote :

In 16.04 lsof shows kcmshell5 stopped at /tmp/qapt-sock-blah...blah

where as in the working version on 15.10 it passes that and drops out of process with

kcmshell5 5100 ricktimmis 59u unix 0x00000000 0t0 82414 /tmp/qapt-sock-6b32908485534dfc9082102650209275
kcmshell5 5100 ricktimmis 60u 0000 0,11 0 8236 anon_inod

Hope this helps pointing in the right direction

YAFU (yafu) wrote :

Why does this is marked as "incomplete" and still not have anyone assigned?
Dude, this is important. What other information do you need to try to fix this?

Rohan Garg (rohangarg) wrote :

I did a bit of debugging with clivejo on IRC and it /seems/ to me that this is a qapt issue, or how qapt gets setup via the Driver Manager. I've asked clivejo to co-ordinate with the QApt maintainer.

YAFU (yafu) wrote :

Thank you. If you need us to do tests or some system information, you just ask here please.

Val (pubalapoub) wrote :

Thanks for the information Rick, I'm posting here part of what strace displays about 'kcmshell5 kcm_driver_manager', as <clivejo> did, but this part may be the most interesting one:


- The missing "file or directory" at the beginning is just here to help developers locate kcm_driver_manager's activity/progress.
- Everything occurring afterwards that I didn't paste is very similar to the last few visible lines.

Hope this helps a bit.

Carlo Vanini (silhusk) wrote :

There are multiple problems:

* DriverManager emits signal in the constructor, so it fails and nobody notices.
* The qaptFailed signal is not connected (wouldn't be received anyway, see above)
* message "Collecting information..." would have hidden any error message

See attachment

Now, when it's stuck "Collecting information" try to run:
systemctl status dbus
if you see anything like
Activated service 'org.debian.AptXapianIndex' failed: Launch helper exited with unknown return code 1
then it's Bug #1579834

The attachment "fix signals for backend failure reporting" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Val (pubalapoub) on 2016-05-14
Changed in kubuntu-driver-manager (Ubuntu):
status: Incomplete → Confirmed
Francesc Vicent (fransex) wrote :

Before applying Carlo's patch but with update-apt-xapian-index-dbus corrected according to Bug #1579834 this is what I get from 'systemctl status dbus':

dbus[958]: [system] Rejected send message, 3 matched rules; type="method_return", sender=":1.66" (uid=0 pid=2152 comm="/usr/bin/python3 /usr/share/apt-xapian-index/updat") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.254" (uid=1001 pid=29622 comm="/usr/bin/systemsettings5 ")

information type: Public → Public Security
information type: Public Security → Public
yossarian_uk (morgancoxuk) wrote :

This seems to have returned in 16.04 (with ubuntu-graphics package installed)

Francesc Vicent (fransex) wrote :

That's when it started to appear, as per its description.

Feathercoin (wrapperband) wrote :

I have "upgraded" to 16.04 and am suffering this bug, it is urgent and critical.

syrtis (slyphere) wrote :

Hello, I solved this problem by rebuilding the "Xapian index" using:

sudo update-apt-xapian-index

Now the Driver Management works again.

I've done the same that #28 and now it detects my devices. Thanks.

DaytonaJohn (daytonajra) wrote :

#28 worked for me, also!!!

dj_segfault (david-thekramers) wrote :

#28 worked for me too. Thank you syrtis

Confirming, sudo update-apt-xapian-index works

On Thursday, June 30, 2016 2:45:55 PM EDT syrtis wrote:
> Hello, I solved this problem by rebuilding the "Xapian index" using:
> sudo update-apt-xapian-index
> Now the Driver Management works again.

cooloutac (cooloutac) wrote :

I tired that command but it says command not found on my system. Using latest kubuntu iso installed today.

Kyle Gottfried (spitfire1900) wrote :

Can also confirm #28 worked for me.

Kyle Gottfried (spitfire1900) wrote :

The command update-apt-xapian-index is available from the apt-xandian-index package.

Philip Muškovac (yofel) wrote :

Thanks a lot for figuring this out. That apt-xapian-index vanished from the image went unnoticed for 16.04. I added it back for yakkety just now so we can check if this works on tomorrow's live image.

Changed in kubuntu-driver-manager (Ubuntu):
milestone: ubuntu-16.04 → none
status: Confirmed → Fix Committed
Changed in kubuntu-driver-manager (Ubuntu Xenial):
importance: Undecided → High
milestone: none → ubuntu-16.04.1
status: New → Triaged
assignee: nobody → Philip Muškovac (yofel)
Philip Muškovac (yofel) on 2016-07-06
affects: kubuntu-driver-manager (Ubuntu) → libqapt (Ubuntu)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libqapt - 3.0.2-0ubuntu3

libqapt (3.0.2-0ubuntu3) yakkety; urgency=medium

  * libqapt3 should recommend apt-xapian-index for the package index
    access which is required for most operations (LP: #1530523)

 -- Philip Muškovac <email address hidden> Wed, 06 Jul 2016 09:43:26 +0000

Changed in libqapt (Ubuntu):
status: Fix Committed → Fix Released
Val (pubalapoub) wrote :

I confirm syrtis' solution solves the issue, however it seems to be temporary, as I got into the issue again some time after. Could it be linked to the installation of packages AFTER having run 'update-apt-xapian-index' (what I did)? Meaning 'update-apt-xapian-index' should be re-executed after each package install?

DaytonaJohn (daytonajra) wrote :

I just did some updates and noticed that I am back to the hung driver manager. As pubalapoub says, rerunning the update-apt-xapian-index fixes it again.

Shaikailash (steve-doc-brown) wrote :

Hello. I just installed Kubuntu 16.04 and I have the same problem. That's quite bad since drivers are necessary to run wifi card and graphic card.
The command "sudo update-apt-xapian-index" is not found.

Val (pubalapoub) wrote :

@Shaikailash: the command line equivalent is to run "ubuntu-drivers devices" in a terminal.
Wait for a few seconds and you'll get a list of proposed drivers. Then install the package of your choice (could be 'nvidia-361' for e.g.).

The bug is still present at this time in Kubuntu 16.04.1.
To fix it I had to enter the command in comment #35

Flamewart (mojinopocoescozio) wrote :

The bug is still present at Kubuntu 16.04.1

I tried what #28 proposed but didn't work, says "command not found". I leave the Konsole open for a minute and still no list appears as stated by #41

Carlo Vanini (silhusk) wrote :

Is anybody still affected by this bug? This has been solved in apt-xapian-index 0.47ubuntu8.3 available in xenial-updates.

tgm1024 (tgm1024) wrote :

Hi, I am experiencing this problem on a fresh install of Kubuntu 16.04/32bit x86 on an ancient Dell Vostro. Device manager simply hangs. Plugged in via cat5.

However, while I certainly had quite a bit of unix programming experience in the 80's and 90's {coughs, puts teeth in a glass, and takes a moment to yell "get off my lawn"}, I'm a noob at Linux and slowly inching my way into this apt-get mumblemumble business.

Can you tell me how to install the xenial-updates for Kubuntu (which I assume gets me the xapian packages?

Just blast out a few commandlines for me if you have a sec.


Sami Nieminen (razerdog) wrote :

I just installed fresh 16.04.1, fully upgraded it but still had to install apt-xapian-index and run update-apt-xapian-index.

I have xenial-updates-enabled. There is missing dependency on driver manager for apt-xapian-index and it seems to be mandatory to have.

It's still there. Kubuntu 16.04, all packages up to date.

Roy Walmsley (roy-walmsley) wrote :

Also confirming the bug is still present. Just installed a clean Kubuntu 16.04 system, fully updated. Tried to run the update-apt-xapian-index, which reported it not there. So had to install first, reboot, then run update. Now, driver manager works.

I'm surprised this bug is still present. It was reported right at the beginning of the year.

Peter R (forums-oygle) wrote :

Also confirming the bug is still present. Installed a clean Kubuntu 16.04.1 system, fully updated.

Changed in kubuntu-ppa:
status: New → Confirmed
Philip Muškovac (yofel) on 2016-11-23
Changed in libqapt (Ubuntu Xenial):
assignee: Philip Muškovac (yofel) → Walter Lapchynski (wxl)
milestone: ubuntu-16.04.1 → none
Walter Lapchynski (wxl) on 2016-11-25
Changed in libqapt (Ubuntu Xenial):
milestone: none → ubuntu-16.04.2

Copying over from bug 1643715 (which is not a dupe, but contained that helpful hint) comment #6

Well let's look at these the responsible package:



It should jump into the eyes then... ('apt-x-i' missing in xenial)

Also interesting to see this comparision



The latter has 'apt-xapian-index' as "recommends"

Hoping this little reseach helps to get this going. ;-)

Also pointing at ->
bug 1612392 [sru] Muon: missing dependency on software-properties-kde

Walter Lapchynski (wxl) wrote :

Um hold up. Correct me if I'm wrong, but I see that in BOTH cases, the yakkety version is a higher version number than xenial???????? How does that happen?

@ wxl: Well, than it needs to be added in BOTH cases. – Version no. in Yakkety is higher because of a change. Check back wt packaging-Ninjas (black belts) or look at the changelog.

Changed in libqapt (Ubuntu):
assignee: nobody → Jose Ramon I. Diokno (popoyd68)
JPT (j-p-t) wrote :

I've got this problem too, Xapian doesn't seem to be the cause.
Workaround that works for me is: 'start /usr/bin/kcmshell5 kcm_driver_manager' then run 'ubuntu-drivers list'
The driver list will appear in the kcm_driver_manager.
problem is, for me neither nouveau nor nvidia drivers work. but that's a different bug.

Fresh install of Kubuntu 16.4.1

Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:

tags: added: iso-testing
Walter Lapchynski (wxl) on 2017-02-18
Changed in libqapt (Ubuntu Xenial):
milestone: ubuntu-16.04.2 → xenial-updates
Carlo Vanini (silhusk) wrote :

The fix (adding a recommends for apt-xapian-index) has been released for yakkety in libqapt-3.0.2-0ubuntu3 but not for xenial.

I attach a debdiff of the same change, adapted to xenial.

tags: added: ubuntu-sponsors
Carlo Vanini (silhusk) on 2017-03-30
tags: removed: ubuntu-sponsors
Carlo Vanini (silhusk) on 2017-04-02
description: updated
Darin Miller (darinmiller) wrote :

This issues is fixed when testing today's daily download (4/4/17).

Mathew Hodson (mathew-hodson) wrote :

This has an easy work-around of installing apt-xapian-index.

Changed in libqapt (Ubuntu):
importance: High → Medium
Changed in libqapt (Ubuntu Xenial):
importance: High → Medium
tags: added: packaging
Changed in libqapt (Ubuntu):
importance: Medium → Low
Changed in libqapt (Ubuntu Xenial):
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers