Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

Removal of LMS installation files from Raspberry Pi

$
0
0
Since moving my Squeezebox server over to a Raspberry Pi 2, with excellent results, and benefiting from the great progress made in the last year or so with v7.9 LMS and various add-ins, I have been regularly installing LMS nightly builds. Last week, whilst updating firmware etc on the RasPi I ran into problems with "not enough disc space" errors. This surprised me since I was using an 8GB card but I guessed it was due to build up of installation files. Since I didn't have enough time to do a thorough analysis, I solved the problem by reinstating and earlier image of my server and updating from there, with excellent results.

I have now found time to analyse the contents of my current server file system, searching for "logitechmediaserver_7.9.0~*.deb" files using good ol' Agent Ransack on my PC - and finding hundreds, yes hundreds, of instances of these installation files in a mind boggling file structure stemming from "\proc\self\task\3957". At >125MB each this certainly adds up and confirms my suspicions.

I am no Linux expert so can someone please advise if there is a neat way to regularly update LMS on the RasPi and at the same time remove unwanted installation files after satisfactory implementation.

Right now I only do, for example

wget http://downloads.slimdevices.com/nig...870722_all.deb

then install with

sudo dpkg -i logitechmediaserver_7.9.0~1438870722_all.deb

I now intend to find, select and delete earlier installation files using the search software but this seems a rather long winded and crude way of doing it. Help to identify a neater solution would be appreciated

Thanks in advance

Viewing all articles
Browse latest Browse all 5300

Trending Articles