During distribution upgrade to Ubuntu 18.04 the process logs Rebuilding /usr/share/applications/bamf-2.index...
while "Searching for obsolete software" and a process called bionics
uses 100% CPU for half an hour or more. What is happening here? Is it building an index or stuck? How long should I wait? Can I stop or suspend the process?
I found, like the discussions at LTS upgrade to 18.04.1 stuck and LTS upgrade to 18.04.1 stuck, that the process will complete after some time. In my case it was well over an hour, while the orange process bar at rare intervals would move.