maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Tried to free up rootfs space, problem happened (https://talk.maemo.org/showthread.php?t=44703)

mikhmv 2010-02-18 19:26

Re: Tried to free up rootfs space, problem happened
 
Quote:

Originally Posted by Crude (Post 535070)
I'm a complete noob in running the scripts. I've transferred them in my Documents directory. Can't seem to run the checkpkgs.pl script :$ through the terminal.

please provide more details. Did you run it under "root"? Please provide outcome from script...

etuoyo 2010-02-18 19:33

Re: Tried to free up rootfs space, problem happened
 
There seems to be a problem with my root. I discovered it when I was trying to create space for the update.

I ran the script above but get message

mkdir:cannot create directory ' home/opt/var/': Permission denited
and then on the next line a similar message saying something about some file already existing. Sorry can't say exactly what the second line was because I had a random reboot just as I was typing it in here.

I get a similar message when I run apt-get clean or apt-get autoremove.

Does anyone know what the problem is? Thanks.

Megaltariak 2010-02-18 19:38

Re: Tried to free up rootfs space, problem happened
 
Install rootsh and type root in the terminal before writing the commands.

etuoyo 2010-02-18 19:53

Re: Tried to free up rootfs space, problem happened
 
Quote:

Originally Posted by Megaltariak (Post 535100)
Install rootsh and type root in the terminal before writing the commands.

Thanks I type that and then no error message just the message you get at the top of x terminal (busybox v1.10.2, etc). Does that mean the command worked?

Megaltariak 2010-02-18 19:55

Re: Tried to free up rootfs space, problem happened
 
Yes, now you can type cammands wich need root access.

Rob1n 2010-02-18 20:29

Re: Tried to free up rootfs space, problem happened
 
Quote:

Originally Posted by Crude (Post 535070)
I'm a complete noob in running the scripts. I've transferred them in my Documents directory. Can't seem to run the checkpkgs.pl script :$ through the terminal.

I've read the instructions but could you please post a noobguide here.

You should be able to do (you don't need to be root):
Code:

cd /home/user/MyDocs/.documents
perl checkpkgs.pl | sort -rn > pkgsizes.txt

The pkgsizes.txt file will then contain an (ordered) list of the packages using rootfs space. You can page through it using:
Code:

more pkgsizes.txt

Crude 2010-02-18 23:43

Re: Tried to free up rootfs space, problem happened
 
Rob1n thanks it works now.
I was able to free up quite a bit of space and who knew documents to go took up so much!
Using Conky I know that now I have 40 MiB free in rootfs and I should be able to insall the update BUT it still gives me an error of not enough space! The other areas have more than enough space so now I'm just lost.

Crude 2010-02-19 00:42

Re: Tried to free up rootfs space, problem happened
 
Thanks for the help to all but it seems like this 3 simple steps somehow managed to over look the no space problem.

apt-get clean
apt-get update
apt-get upgrade

Thanks to chuchu for the find and drukane for spreading it.

late666 2010-02-19 01:18

Re: Tried to free up rootfs space, problem happened
 
Quote:

Originally Posted by Crude (Post 535611)
Rob1n thanks it works now.
I was able to free up quite a bit of space and who knew documents to go took up so much!
Using Conky I know that now I have 40 MiB free in rootfs and I should be able to insall the update BUT it still gives me an error of not enough space! The other areas have more than enough space so now I'm just lost.

Yeah, for some reason the new update needs 46mb

Crude 2010-02-19 05:44

Re: Tried to free up rootfs space, problem happened
 
Quote:

Originally Posted by late666 (Post 535725)
Yeah, for some reason the new update needs 46mb

To do it through the manager it might take 46MB but if done through the terminal it let me install with no hassle and with memory to spare. They really should've given more space with the rootfs.

I always knew its a bit of a geeky phone but an everyday user with loads of dl apps wouldn't go through forums and hence not like the device!

Shame it really is a gem of a tablet.


All times are GMT. The time now is 20:57.

vBulletin® Version 3.8.8