oguzhaninan / Stacer

Linux System Optimizer and Monitoring - https://oguzhaninan.github.io/Stacer-Web
GNU General Public License v3.0
8.82k stars 600 forks source link

cannot start stacer #515

Open Tenerome opened 1 year ago

Tenerome commented 1 year ago

summary

Once I installed stacer from the deb package on github,it worked normally those days. Today I update it with apt package manager,it cannot start at that time. Then I remove the stacer complete,and reinstall it again.Finally it works.

details

In the Cinnamon Menu(like start menu),I can't find stacer. And in terminal,input "stacer", it alerts "No such file or directory". Then enter the applications directory:/usr/share/applications , double click the stacer,it alerts "the application launch failed". At last,I search "stacer" in Fsearch(a search utility),found that the stacer application directort had gone,just remaining the config and doc directory. So I complete remove the stacer ,and install again.Now it works now. So if you get stacer from github too,don't directly update it, you can remove it first,then reinstall it from apt package manager. With the command:

sudo apt autoremove stacer
sudo apt install stacer
alexmyczko commented 1 year ago

what do these say?

lsb_release -d
dpkg -l stacer
which stacer
Tenerome commented 1 year ago

what do these say?

lsb_release -d
dpkg -l stacer
which stacer

I have resolved the problem by uninstalling stacer complete and reinstalling again. So now I could't reproduce it.That's just a little tip to fix stacer when updating from apt package manager directly

alexmyczko commented 1 year ago

very strange, next time you can reinstall a package with one command: apt reinstall stacer