just wanted to upgrade only to notice it wants to download like 111MB and of course there ain'T enough space on /var/cache/apt/archives .. (it says that when you run apt-get dist-upgrade as root from the command line)
Warning: no guarantee this works / does not break anything / delete your data,..
!!!I found that putting archives on the sd card is a bad idea since it seems to unmount that in the process -- recovery was possible for me but i don'T suggest it as it can be a bit tricky
!!! Warning: Make sure to have enough discspace on '/' -- i had around 20MB and it was not enough for installing all at once (i had to do dpkg --configure -a ; apt-get dist-upgrade -f afterwards !!!
since i don'T want to use the cable to upgrade and possibly have to re-install stuff and re-copy data I just went and did the following:
# as root on the command line:
mv archives archives_
# next 2 lines only if you want to clear out some space on '/'
# do a sync to get a bit more free space
# in my case i put the archives on my sd card so next is the following (adapt path if you don'T have a sd card ..
cp -r archives_ /opt/archives
mount -o bind /opt/archives archives
lots of free space for temp package download..
If you want to keep it on a different partition then you might as well move archives to /opt, /home/user or for even more space /home/user/MyDocs (if you want it automatically mounted again when rebooting the device don'T forget to add it in /etc/fstab
I put the following in /etc/fstab so it gets re-mounted if there is some issue
/opt/archives /var/cache/apt/archives none bind 0 0
if you intend to remove your sd card i suggest you so this to revert to back the original:
mv archives_ archives
Share on Twitter
Share on Facebook
now you can use the package manager (i suppose) or apt-get dist-upgrade (which is what i did) and it starts downloading ..
Will update this if it worked when it'S finished ;)