E: You don't have enough free space in /var/cache/apt/archives/

1,526 views
Skip to first unread message

craf...@gmail.com

unread,
Dec 13, 2014, 11:46:26 PM12/13/14
to beagl...@googlegroups.com
hi there,
I experience this below:

Need to get 64.4 MB of archives.
After this operation, 244 kB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.

I install my debian image in the 4Gb sd-card. I tried 8Gb, I still experience the same thing.
Some advice to install on the SD-card, but that's what i did.

Questions:
1. How to install app onto the SD-card?
2. when i check the capacity, df -h, why it doesnt show the full capacity of the SD card which is 4GB? 
3. Even when i used 8GB, I still see that it uses only 2GB, the rest of the sd card is "unallocated". why?
How to increase the capacity of the sd-card? (I believe this is because I used the image).

thanks



root@beaglebone:/var/lib/apt/lists# df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          1.6G  1.6G     0 100% /
udev             10M     0   10M   0% /dev
tmpfs           100M  544K   99M   1% /run
/dev/mmcblk0p2  1.6G  1.6G     0 100% /
tmpfs           249M     0  249M   0% /dev/shm
tmpfs           249M     0  249M   0% /sys/fs/cgroup
tmpfs           100M     0  100M   0% /run/user
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/mmcblk0p1   96M   70M   27M  73% /boot/uboot



Robert Nelson

unread,
Dec 14, 2014, 12:03:35 AM12/14/14
to Beagle Board
On Sat, Dec 13, 2014 at 10:46 PM, <craf...@gmail.com> wrote:
> hi there,
> I experience this below:
>
> Need to get 64.4 MB of archives.
> After this operation, 244 kB of additional disk space will be used.
> E: You don't have enough free space in /var/cache/apt/archives/.
>
> I install my debian image in the 4Gb sd-card. I tried 8Gb, I still
> experience the same thing.
> Some advice to install on the SD-card, but that's what i did.
>
> Questions:
> 1. How to install app onto the SD-card?
> 2. when i check the capacity, df -h, why it doesnt show the full capacity of
> the SD card which is 4GB?
> 3. Even when i used 8GB, I still see that it uses only 2GB, the rest of the
> sd card is "unallocated". why?
> How to increase the capacity of the sd-card? (I believe this is because I
> used the image).

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Graham

unread,
Dec 14, 2014, 1:49:08 PM12/14/14
to beagl...@googlegroups.com, craf...@gmail.com
As an alternative to Robert's answer ...

If you have access to a Linux computer, you can plug the microSD card into the
Linux computer and use the application "Gparted" to expand the partition to the
full size of the card.  Since "Gparted" has a GUI, you get to see what is going on.

--- Graham

==

zyrin...@gmail.com

unread,
Dec 3, 2018, 7:30:05 AM12/3/18
to BeagleBoard
cd /opt/scripts/tools/
git pull || true
sudo ./grow_partition.sh
sudo reboot
Reply all
Reply to author
Forward
0 new messages