Reply
Thread Tools
Posts: 42 | Thanked: 1 time | Joined on Dec 2009 @ Finland
#1
I tried to free root space by following this guide http://www.nokiausers.net/forum/noki...ix-inside.html


Now I can't uninstall anything and I'm really not quite sure how to proceed with fixing the problem. Do I need to reflash or is there a simpler way? Thanks.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#2
Originally Posted by seriouser View Post
I tried to free root space by following this guide http://www.nokiausers.net/forum/noki...ix-inside.html


Now I can't uninstall anything and I'm really not quite sure how to proceed with fixing the problem. Do I need to reflash or is there a simpler way? Thanks.
Depends what's wrong. What's the output of:
Code:
ls -la /home/var/cache/apt /var/cache/apt
 
Posts: 42 | Thanked: 1 time | Joined on Dec 2009 @ Finland
#3
/home/var/cache/apt:
drwxr-xr-x 3 root root 4096 *date* .
drwxr-xr-x 3 root root 4096 *date* ..
drwxr-xr-x 3 root root 4096 *date* archives


/var/cache/apt:
drwxr-xr-x 2 root root 304 *date* .
drwxr-xr-x 5 root root 352 *date* .
-rw-r--r-- 1 root root 1913063 *date* pkgcache.bin
-rw-r--r-- 1 root root 1782838 *date* srcpkgcache.bin




Sorry about not getting a screenshot. I haven't the application installed that would take them and I'm not sure if I should be installing anything new right now.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#4
Originally Posted by seriouser View Post
/home/var/cache/apt:
drwxr-xr-x 3 root root 4096 *date* .
drwxr-xr-x 3 root root 4096 *date* ..
drwxr-xr-x 3 root root 4096 *date* archives


/var/cache/apt:
drwxr-xr-x 2 root root 304 *date* .
drwxr-xr-x 5 root root 352 *date* .
-rw-r--r-- 1 root root 1913063 *date* pkgcache.bin
-rw-r--r-- 1 root root 1782838 *date* srcpkgcache.bin

Sorry about not getting a screenshot. I haven't the application installed that would take them and I'm not sure if I should be installing anything new right now.
That's fine. Looks like you've missed out the last step from the instructions (or it failed for some reason):
Code:
ln -s /home/var/cache/apt/archives /var/cache/apt/archives
P.S. Ctrl+Shift+P will do a screenshot (without any extra software required).
 

The Following User Says Thank You to Rob1n For This Useful Post:
jcompagner's Avatar
Posts: 290 | Thanked: 165 times | Joined on Sep 2009
#5
move /var/lib/apt and /var/cache/apt both to /home/user/xxx (like apt-cache and apt-lib)
then symlink them both back in.

That will make sure that all the indexes and caches are stored on the 2GB space and not on root
that saves me 30MB of of root.
 
Posts: 42 | Thanked: 1 time | Joined on Dec 2009 @ Finland
#6
Originally Posted by Rob1n View Post
That's fine. Looks like you've missed out the last step from the instructions (or it failed for some reason):
Code:
ln -s /home/var/cache/apt/archives /var/cache/apt/archives
P.S. Ctrl+Shift+P will do a screenshot (without any extra software required).
Thanks a bunch. I was dreading the whole reflashing process and now I won't have to.
 
Posts: 19 | Thanked: 2 times | Joined on Jan 2010
#7
exact same thing just happened to me!
screenshot attached

What are the exact commands I have to type into root??
thanks for your help
Attached Images
 
 
Posts: 42 | Thanked: 1 time | Joined on Dec 2009 @ Finland
#8
Originally Posted by jcompagner View Post
move /var/lib/apt and /var/cache/apt both to /home/user/xxx (like apt-cache and apt-lib)
then symlink them both back in.

That will make sure that all the indexes and caches are stored on the 2GB space and not on root
that saves me 30MB of of root.
Could you maybe elaborate a bit on the commands since I'm a total linux noob :/
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#9
Originally Posted by Nixmix View Post
exact same thing just happened to me!
screenshot attached

What are the exact commands I have to type into root??
thanks for your help
The command you need is the same one I gave above:
Code:
ln -s /home/var/cache/apt/archives /var/cache/apt/archives
 
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#10
Just be aware if you make these changes - you will need to do them again after the upgrade - it doesn't honour the symlinks when doing the install - which makes sense I guess.
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 

The Following User Says Thank You to Bratag For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:48.