Code: Select all
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get upgradeCode: Select all
Need to get 265 MB of archives.
After this operation, 16.4 MB disk space will be freed.
E: You don't have enough free space in /var/cache/apt/archives/.I am on a 16Gb SD card. I also ran some commands for data you may want in order to help with this problem.
Code: Select all
root@raspberrypi:/home/pi# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 1.8G 1.7G 4.9M 100% /
/dev/root 1.8G 1.7G 4.9M 100% /
devtmpfs 85M 0 85M 0% /dev
tmpfs 19M 244K 19M 2% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 37M 0 37M 0% /tmp
tmpfs 37M 0 37M 0% /run/shm
/dev/mmcblk0p1 56M 23M 34M 41% /boot
root@raspberrypi:/home/pi# sudo du -h /var/backups
4.0K /var/backups
root@raspberrypi:/home/pi# sudo fdisk -l
Disk /dev/mmcblk0: 15.9 GB, 15931539456 bytes
4 heads, 16 sectors/track, 486192 cylinders, total 31116288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00016187
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 3788799 1832960 83 Linux
/dev/mmcblk0p3 3788800 7694335 1952768 83 LinuxThanks much for assistance!
Arie