NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Labdoc1
Feb 04, 2018Luminary
Can't uninstall Logitech Media Server NAS Tools
Installed the NAS Tools LMS App in December 2017 (Logitech Media Server Version: 7.9.1 - 1512734075 @ Fri Dec 8 ). It is still running at [my-nas-URL]:9000. However, the App never did appear as "installed" on the RNAS Admin pages on OS 6.91, 6.92 and now 6.9.3(beta 2)
Now I want to stop the LMS server and remove it. I tried SSH and "apt-get purge logitechmediaserver" as suggested in other posts. However, I get these errors:
E: Could not open lock file /var/libe/dpkg/lock (13: Permission Denied)
E: Unable to lock the administration directory (/var/lib/dbkg/) are you root?
At this point my lack of Linux skills leaves me stumped. - Help anyone? I see many other threads on the topic of removing or updating the LMS app, but none seems to answer my question.- Murray
Beautiful! Cleaned up with disk space recovered and no 'phantom' LMS server.
Thanks for your direction! - Murray
4 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
When you log in with ssh, you need to use root as the username, and use the NAS admin password as the password.
It looks like you might have logged in as admin instead. Is that the case?
- Labdoc1Luminary
Thanks StephenB. That worked to uninstall LMS. However, I get a warning"while removing logitechmediaserver, directory '/var/lib/squeezeboxserver/prefs' not empty, so not removed
Is there a "delete" command that I could use from SSH?
Murray
- StephenBGuru - Experienced User
You can see what's in there by entering
cd /var/lib/squeezeboxserver/prefs
ls -a *
You can then delete the files in the prefs folder with
rm /var/lib/squeezeboxserver/prefs/*
and delete the folders themselves with
rmdir /var/lib/squeezeboxserver/prefs/
rmdir /var/lib/squeezeboxserver
Obviously be careful on the typing for the rm and rmdir commands
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!