Not enaough space following instructions at https://beagleboard.org/upgrade

I just got a new BeagleBone Black wireless.
I’m not (yet) using an external SSD card.

After connecting the WiFi interface, I carefully followed the instructions at https://beagleboard.org/upgrade

In section “Update distribution components”, when executing

sudo apt upgrade

I get

[…]

The following packages will be upgraded:
[… 24 lines of package names …]
179 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 376 MB of archives.
After this operation, 158 MB of additional disk space will be used.
E: You don’t have enough free space in /var/cache/apt/archives/.

Indeed, there’s little space remaining in the internal eMMC:

debian@beaglebone:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 216M 0 216M 0% /dev
tmpfs 49M 5.4M 44M 12% /run
/dev/mmcblk1p1 3.4G 3.0G 268M 92% /
tmpfs 243M 0 243M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 243M 0 243M 0% /sys/fs/cgroup
tmpfs 49M 0 49M 0% /run/user/1000

So, following the advice in https://beagleboard.org/upgrade: "This documentation is very new and your feedback is requested", here’s my feedback.

Is there any way to make some additional room in the eMMC filesystem?

Thank you.

I think the emmc is only 4GB… So you either use bigger SD card or you can flash emmc with a 2GB image

Hello,

in /opt/scripts/tools/, make sure you have wifi enabled via connmanctl or whatever way you get wifi working, use the command “git pull” and then the script to run is grow_partition.sh.

sudo ./grow_partition.sh should do it. But like the other fellow stated, use the SD Card w/ more space or use a smaller image.

Seth