62

I just upgraded my Ubuntu 11.10 (x86) to Ubuntu 12.04 (x86). The upgrade completed without any errors.

Since then, I am unable to access any of the applications in the Dash. The Dash seems to be empty. When I search for some application like gedit, it says "Sorry, there is nothing that matches your search".

Is there any way to fix it?

Jorge Castro
  • 73,717

7 Answers7

44

None of these fixes worked for me. But after more searching:

rm ~/.cache/software-center -R

worked like a charm. I did need to run:

unity --reset &

afterwards though, for the changes to take effect within dash, but the software center just started working straightaway.

jokerdino
  • 41,732
Andrew
  • 441
32

You should ensure that you have these 2 packages installed:

Then logout/login and you will get back you the 2 lenses and the search will search applications and files.

didrocks
  • 2,452
18

In my case none of the solutions above worked.

The solution I found:

rm -rf ~/.local/share/zeitgeist

Then close your session and login again, and dash worked again.

jokerdino
  • 41,732
10

Same here. After upgrading from 11.04 to 11.10 to 12.04 (beta2) the DASH menu doesn't list any applications. Previously typing "calc" for example would list the calculator and LibreOffice Calc. Now, nothing shows up, neither in the main DASH window, nor in the application lens.

However, in the main lens songs (FLAC) do show up, but for instance documents don't. Furthermore, I have regular crashes of unity-lens-video. Apport told me this problem had already been reported. Maybe this is related?

Looking a bit closer in ~/.xsession-errors I found that the zeitgeist daemon crashed:

(zeitgeist-datahub:2329): LibZeitgeist-CRITICAL **: Unable to connect to Zeitgeist daemon: Error calling StartServiceByName for org.gnome.zeitgeist.Engine: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/zeitgeist-daemon exited with status 1

According to https://bugs.launchpad.net/ubuntu/+source/zeitgeist/+bug/986191 this happens when upgrading from Ubuntu 11.04 to 12.04. Removing ~/.local/share/zeitgeist/activity.sqlite solves the problem. I tried it and it works :-).

ph0t0nix
  • 1,397
8

I just encountered this problem earlier today on my laptop. It surprised me, given that I couldn't think of any reason it didn't show up until now.

After some struggling, I eventually resolved the issue by opening a terminal (Ctrl+Alt+T if you don't already have it pinned to the launcher) and using unity --replace &. (You could probably also do this with Unity's Alt+F2 prompt, but it too went missing for me at the time.)

7

I experienced this problem on 11.10 and solved it by installing unity-place-applications and unity-place-files

Jorge Castro
  • 73,717
Chris
  • 71
1

In Ubuntu Trusty 14.04, I loosed all Applications in Dash after an Ubuntu Update of update-manager-core package.

The solution was:

$ rm ~/.cache/software-center -R

However as said earlier here the unity --reset command is now deprecated. the solution is now:

<Alt> <F2> and type unity

This will kill your session (please save your work before) and restart unity.

Antonio
  • 1,656