LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 01-27-2013, 01:22 PM   #1
cjw43
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Rep: Reputation: Disabled
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:
  1. How do I find the free space?
  2. How do I recover from this snafu?

I would appreciate advice.

Colin W.
 
Old 01-27-2013, 01:31 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,167

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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.
 
1 members found this post helpful.
Old 01-27-2013, 03:54 PM   #3
cjw43
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the suggestion. It would appear that tmp holds 4 bytes.

It seems that I need much more space than that.

Colin W.
 
Old 01-27-2013, 10:27 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,167

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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 /
To see which directories are using a lot of space. You can work your way down from there. I'd suggest looking through /var as it contains a lot of log and temporary files. However, be sure that a file is not needed before deleting it!
 
1 members found this post helpful.
Old 01-28-2013, 08:52 AM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 2,357

Rep: Reputation: 596Reputation: 596Reputation: 596Reputation: 596Reputation: 596Reputation: 596
Might also look in /var/log for some older log files you can delete.
 
Old 01-28-2013, 10:48 AM   #6
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,430

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
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
Then select the option EXPAND-ROOTFS That will make the OS to fill up the SD card in the Pi, if you have unuse space.
I think the downloaded image file is about two GB.

Good luck to you.
 
1 members found this post helpful.
Old 01-28-2013, 03:25 PM   #7
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
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.
 
1 members found this post helpful.
Old 01-28-2013, 04:58 PM   #8
cjw43
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lack of free space problem ImRoman Linux - Newbie 5 08-29-2009 09:50 AM
How do I clone a 4Gb SDHC Card to another 4Gb SDHC Card lothario Linux - Software 3 07-22-2008 10:40 PM
GRUB Does not load (Lack of space) Aziz Linux - Software 1 07-11-2005 10:47 AM
Lack of space DarkNemesis618 Slackware - Installation 1 02-21-2005 06:26 PM
RH9 won' boot due to lack of space ravykanth Linux - Newbie 6 10-27-2003 11:07 PM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration