Lack of space in Raspberry Pi with 4GB SD Card
I am in the process of using the Raspberry Pi.
I attempted to install gnome. The response was that there was insufficient space. I would like to recover and tried:pi@raspberrypi ~ $ sudo apt-get remove gnome E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. pi@raspberrypi ~ $ sudo dpkg --configure -a dpkg: error: failed to write status database record about 'libexttextcat-data' to '/var/lib/dpkg/status': No space left on device pi@raspberrypi ~ $ Clearly this was not the thing to do. Two questions:
I would appreciate advice. Colin W. |
Take a look in /tmp and see if dpkg left any temporary files lying around. If so, these are good candidates for clean up before running dpkg again.
|
Thanks for the suggestion. It would appear that tmp holds 4 bytes.
It seems that I need much more space than that. Colin W. |
Maybe look in /var/tmp then? I am not sure where all dpkg stashes temporary downloaded files, but you will want to clean these up. You can do.
Code:
du -x --max-depth=1 / |
Might also look in /var/log for some older log files you can delete.
|
Gnome might be a little too much for the power of the RaspberryPi. If you are using Debian LXDE is what comes by default, If you havent done you can resize the partition in RaspberryPi by typing on terminal
Code:
raspi-config I think the downloaded image file is about two GB. Good luck to you. |
Moved: This thread is more suitable in Linux - Embedded & Single-board computer and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Inappropriate installation of gnome in a machine with limited disk storage
Thanks for moving this to a more appropriate thread.
I am now trying to remove gnome, so that the machine becomes serviceable again. Colin W. |
All times are GMT -5. The time now is 10:09 AM. |