zambezi_SA1
Posts: 2
Joined: Thu Dec 06, 2012 7:19 pm

No Storage Left! I have not installed anything!

Thu Dec 06, 2012 7:37 pm

Hello all, I am new to linux/debian and just setup my PI which seems to be working(typing this now on it) I wanted to install Open office, I did so by updating using sudo apt-get update in CLI which seemed to work. Then I typed sudo apt-get install openoffice.org and it began the process of installing, about 15 mins into the process it stopped saying there was no space left on the device. I purchased an 8gb SD card and performed the image in windows following the guide and I have not installed anything else. Viewing in file manager it says on the bottom right of the window Free space: 0 bytes (Total:1.8GB).

When I tried to restart the install I get this message in the CLI...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

So have I done something wrong here? I am sure Open office does not use over 6GB and I have done nothing else in terms of adding data or installing anything else. So please could anyone advise me what to do here.

Many Thanks

User avatar
stevepdp
Posts: 285
Joined: Fri Oct 28, 2011 7:41 am
Contact: Website Twitter

Re: No Storage Left! I have not installed anything!

Thu Dec 06, 2012 11:19 pm

Try running the following at a terminal:

Code: Select all

sudo raspi-config
and select the "expand_rootfs" option.

After a reboot, this will expand the root partition to utilize all 8GB.

When retrying the libreoffice installation, if "sudo dpkg --configure -a" doesn't work for you, then you can normally get around it by trying the following:

Code: Select all

sudo apt-get update
sudo apt-get -f install
sudo apt-get install libreoffice
Also, you can save some space by clearing out apt's package cache:

Code: Select all

sudo apt-get clean
See how much space you have left by running:

Code: Select all

df -h
Hope this helps.

zambezi_SA1
Posts: 2
Joined: Thu Dec 06, 2012 7:19 pm

Re: No Storage Left! I have not installed anything!

Fri Dec 07, 2012 10:10 am

Thank you so much for your help this solved the issue I did see during 1st time setup the option to expand or make full use of the card . I ended up starting from scratch and made a new image. On initial setup I selected the option to make full use of the card and problem is solved.

Many thanks for the advice:)

Return to “Troubleshooting”