Getting back lost space after uninstalling package.
-
I had 200MB free on my pi3 and installed a scraper onto my pi. But after installing the scraper I had zero memory left for anything else so I uninstalled the scraper. Now my pi only has 50MB left.
Any ideas on whether I can get that 150MB back or is it lost forever?
One solution would be to redo everything from scratch again which will probably take me a whole day.
-
@MikeLang If you ran the scraper, then it might have created some files/cache folders which are not erased when you delete the package. Which scraper did you install ?
-
It was Steven Selph's Scraper.
-
Then try removing the
$HOME/.sselph-scraper
folder and see if you get some space back. A better option would be to get a bigger card or erase some ROMs if you'd like to not have problems with low disc space. -
I'm having trouble locating that folder.
Do I need to plug a keyboard into my pi or do I take my microsd card out and plug it into my pc?
-
@MikeLang You'll need a keyboard. How exactly have you checked your disk space ?
-
I checked my disk space by typing df -h via putty.
-
I've plugged in a keyboard and entered 'File Manager' but haven't the foggiest how to find the '$HOME/.sselph-scraper' folder.
-
@MikeLang If you already have SSH access, then you don't need a keyboard. Check if the folder exists and what size it is
du -sh $HOME/.sshelp-scraper
then, if you're happy, remove it
rm $HOME/.sshelp-scraper
-
I typed 'du -sh $HOME/.sshelp-scraper' but get the message 'du: cannot access '/home/pi/.sshelp-scraper': No such file or directory'.
-
@MikeLang type
mc
this will activate the file manager -
@MikeLang Typo -
$HOME/.sselph-scraper
. -
I typed:
'$HOME/.sselph-scraper'
Received this message:
-bash: /home/pi/.sselph-scraper: No such file or directory
-
OK, then it means your lost space isn't there.
-
There was another program I did accidentally install/uninstall, 'zdoom', not even sure what that is but I installed it as I was trying to remove Selph's Scraper.
Thanks for the help anyway guys, I'll just have to be a bit more frugal with the available memory.
-
@MikeLang I'd advise to do a backup of your image, just in case.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.