fjr
Posts: 102
Joined: Thu Aug 15, 2013 8:18 pm

[solved]sdcard 8gb, to small to dist upgrade wolfram-engine?

Fri Feb 02, 2018 4:42 pm

raspberry pi 0
raspbian
sdcard 8gb

On the sdcard is nothing more than the updated system.
Up for sudo apt-get dist-upgrade was wolfram-engine 250mb package.
Installing wolfram-engine resulted in an error about to little space
on the sdcard.

The sdcard's properties say root partition is 5.0gb.
Free space is 18mb.

Does updating require a 16gb sdcard?
If a 8gb sdcard is not big enough for updates, then how do I
uninstall the wolfram software?

Thank you.
Last edited by fjr on Sun Feb 04, 2018 12:30 pm, edited 1 time in total.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27084
Joined: Sat Jul 30, 2011 7:41 pm

Re: sdcard 8gb, to small to dist upgrade wolfram-engine?

Fri Feb 02, 2018 4:47 pm

Unless you are using it, its well worth uninstalling wolfram - it's slows down updates considerably if it itself needs updating as its huge.

http://raspi.tv/2016/how-to-free-up-som ... ibreoffice
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

W. H. Heydt
Posts: 13345
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: sdcard 8gb, to small to dist upgrade wolfram-engine?

Fri Feb 02, 2018 5:41 pm

Since the uninstall solution has been suggested, I would like to address the space issue...

An 8GB card *should* be big enough to handle a full dist-upgrade. However, I have to ask...are you using a direct image install or are you using NOOBS? How much space are you using for user files? Do you ever run "sudo apt-get clean" to clear away unneeded update/upgrade files? Any one of those could reduce the free space to the point that there isn't enough to do a dist-upgrade. As an aside...I run dist-upgrade on Pis that have the full Raspbian load on them, plus a few things I like to add to any Pi I set up. I routinely use 8GB cards (and have been ever since one couldn't get a full Raspbian install onto a 4GB card). I haven't run into any space issues.

User avatar
HawaiianPi
Posts: 5971
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: sdcard 8gb, to small to dist upgrade wolfram-engine?

Fri Feb 02, 2018 6:44 pm

fjr wrote:
Fri Feb 02, 2018 4:42 pm
The sdcard's properties say root partition is 5.0gb
Your problem is that you installed Raspbian using NOOBS, and NOOBS uses more than 1GB if space on your card (something like 1.3-1.5GB, but I don't remember the exact number). You really should not use NOOBS if all you want is Raspbian, especially with smaller capacity cards. Note that writing a Raspbian image will wipe all data currently on the card, so either use another card or backup anything you don't want to lose.
  1. Grab the latest Raspbian image from https://www.raspberrypi.org/downloads/raspbian/
  2. Grab the Etcher software from https://etcher.io/
  3. Install Etcher and use it to write the Raspbian image to your SD card. You don't need to extract the image or format the card prior to writing. Just choose the Raspbian .zip, pick your SD card and write (if you have trouble, verify the SHA256 checksum of the download).
  4. Safely eject the card from your PC and use it to boot the Pi.
Raspbian imaged SD cards have a tiny FAT32 "boot" partition that consumes a negligible amount of space, so you get the card's full capacity for Raspbian (the root partition will be 8GB, or very close to that).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

fjr
Posts: 102
Joined: Thu Aug 15, 2013 8:18 pm

Re: sdcard 8gb, to small to dist upgrade wolfram-engine?

Sun Feb 04, 2018 12:29 pm

Do you ever run "sudo apt-get clean"
No. I ran sudo apt-get clean. It provided 1.2gb of space.
Then I could install wolfram-engine.
using a direct image install or are you using NOOBS?
First I tried the image option. On a gnulinux computer I used dd
to write the image on a sdcard.
When turning on the rp 0 it would not boot. That is why I
installed raspbian using noobs.
NOOBS uses more than 1GB
gparted displays two big partitions. One is 1.5gb and the
second is 5.7gb.
Last edited by fjr on Sun Feb 04, 2018 6:11 pm, edited 1 time in total.

User avatar
rpdom
Posts: 17578
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: sdcard 8gb, to small to dist upgrade wolfram-engine?

Sun Feb 04, 2018 12:45 pm

W. H. Heydt wrote:
Fri Feb 02, 2018 5:41 pm
Do you ever run "sudo apt-get clean" to clear away unneeded update/upgrade files?
It appears that the new "apt" command doesn't require "apt-get clean" to be run (by default, although that can be changed), but "apt-get" retains the old 'keep the files in case needed again' philosophy.

Return to “Beginners”