PDA

View Full Version : Docky disappeared



Przemysaw_Skiba
November 29th, 2015, 11:37 AM
Hello,

When I try to launch Docky in terminal I get the message:/usr/bin/docky: 14: exec: mono: not found. How can I fix it? Thanks and regards.

ajgreeny
November 29th, 2015, 02:23 PM
Docky depends on several libmono packages that appear to be missing on your system.

Try re-installing docky which should then add back in any packages that are missing.

Przemysaw_Skiba
November 29th, 2015, 02:29 PM
I have already reinstalled Docky but it didn't help.

buzzingrobot
November 29th, 2015, 03:27 PM
How are you installing Docky? It is in the repos, as are the Mono dependencies.


When I try to launch Docky in terminal I get the message:/usr/bin/docky: 14: exec: mono: not found...

Does Docky behave normally otherwise, when you *don't* try to launch it in a terminal? Or, is it not launching and you are troubleshoooting?

Przemysaw_Skiba
November 29th, 2015, 05:00 PM
From Ubuntu Software Center. Docky isn't launching at all (nothing happens).

buzzingrobot
November 29th, 2015, 07:45 PM
Open a terminal and try:


sudo apt-get install --reinstall docky

If that fails, post the output, between quote tags.

Przemysaw_Skiba
November 30th, 2015, 11:16 PM
It didn't help.


Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
0 aktualizowanych, 0 nowo instalowanych, 1 ponownie instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Konieczne pobranie 0 B/606 kB archiwów.
Po tej operacji zostanie dodatkowo użyte 0 B miejsca na dysku.
(Odczytywanie bazy danych ... 368817 plików i katalogów obecnie zainstalowanych.)
Preparing to unpack .../archives/docky_2.2.0-2_all.deb ...
Unpacking docky (2.2.0-2) over (2.2.0-2) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Konfigurowanie pakietu docky (2.2.0-2) ...

Przemysaw_Skiba
November 30th, 2015, 11:25 PM
Huh, I've found something like this in the Terminal history:


sudo rm -rf /usr/bin/mono /etc/mono /usr/lib/mono /usr/bin/X11/mono /usr/share/mono /usr/share/man/man1/mono.1.gz

I must have accidentally deleted mono.

ajgreeny
December 1st, 2015, 12:25 AM
Huh, I've found something like this in the Terminal history:


sudo rm -rf /usr/bin/mono /etc/mono /usr/lib/mono /usr/bin/X11/mono /usr/share/mono /usr/share/man/man1/mono.1.gz

I must have accidentally deleted mono.
Wow! How on earth did you manage to do that? Presumably you were trying to do something related to mono at the time, but using rm -rf is a dangerous command when you are not too sure of what you're doing.

I presume you have now reinstalled all those mono packages that you will still have had installed, even though the executables and libraries had been removed. If you have not done so already, do it now and see if docky works again.

Przemysaw_Skiba
December 1st, 2015, 12:15 PM
How can I reinstall all mono packages? I have reinstalled mono-complete and received a message that it's already installed. I don't know if it's enough.

ajgreeny
December 1st, 2015, 02:04 PM
I tend to use synaptic package manager as it is very flexible and would allow you to search for all the mono packages that are installed by simply searching (Name) for "mono" then reinstalling all of those you appear to have, but which you may have now broken with that rm -rf command.

You will have to install synaptic first as it is not a part of the default installation of most of the *ubuntu family any more, though I think it's still there in Lubuntu.