maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   rootfs @ 100%, app uninstall not working, no root access (https://talk.maemo.org/showthread.php?t=40308)

Alan_Peery 2010-01-13 10:56

rootfs @ 100%, app uninstall not working, no root access
 
OK, so I should have made sure to get root access (http://wiki.maemo.org/Root_access) before I started installing packages from the development repository. Or I shouldn't have filled up / to 100%. But I have, and so far efforts to find some files that I have the privileges to delete to get a bit of working space so I can uninstall apps haven't worked. Disabling repositories (per http://talk.maemo.org/showpost.php?p...1&postcount=43) doesn't work for me as app manager is failing with "can't truncate lock at /var/lib/hildon-application-manager/apt-worker-lock".

Any suggestions on how to more forward short of full reinstall?

In the meantime, I will try and document some of application failures I am seeing and create some bugs so we can improve the experience of users with rootfs at 100%. A lot of things are still working, but a lot aren't....

mece 2010-01-13 11:02

Re: rootfs @ 100%, app uninstall not working, no root access
 
apt-get clean
works as user. Try that :)

You only need enough to get app manager running, After that you're golden :) Another thing, if you manage to get enough space for that. put yourself offline to stop app manager from downloading more icons before you have the chance to disable the repos.

Rob1n 2010-01-13 11:05

Re: rootfs @ 100%, app uninstall not working, no root access
 
Have you rebooted yet? That can free up some space.

Alan_Peery 2010-01-13 11:15

Re: rootfs @ 100%, app uninstall not working, no root access
 
apt-get clean sounded interesting, but it is failing with "could not open lock file /var/cache/apt/archives/lock open (13 Permission denied" followed by "E: Unable to lock the download directory".

This is after rebooting, and even "df -k" is failing. Previous reboots hadn't freed up space, and didn't work this time.

Renkon 2010-01-13 11:20

Re: rootfs @ 100%, app uninstall not working, no root access
 
Maybe there should be some way to trigger a script after booting up to check whether the root partition is critically filled up, do those apt-clean work with root permissions and present the user something like:

"You've recently installed : .... We're sorry that you don't meet the space requirements for that. Please chose the software to uninstall".

mece 2010-01-13 11:21

Re: rootfs @ 100%, app uninstall not working, no root access
 
Oh, sorry. I have moved my apt-cache to MyDocs. That's why it worked for me.

Rob1n 2010-01-13 11:24

Re: rootfs @ 100%, app uninstall not working, no root access
 
You could check for things you can delete in /tmp and /var/tmp - there's a fairly big calendar journal file in /var/tmp on mine. You'll probably want to kill the Calendar application first though.

Alan_Peery 2010-01-13 11:31

Re: rootfs @ 100%, app uninstall not working, no root access
 
Quote:

Originally Posted by Rob1n (Post 468123)
You could check for things you can delete in /tmp and /var/tmp ..

I have virtually nothing there. Deleted one file (dbus-info, gave me the willies to delete it), but that didn't get me past the lock file problem in App Manager. I though it might, if all that was needed was a block of disk space for a lock file...

mece 2010-01-13 11:36

Re: rootfs @ 100%, app uninstall not working, no root access
 
you could try finding some with
ls -laR | grep user

not in / though because that would show all the /home/user files too..

thecubed 2010-01-13 11:41

Re: rootfs @ 100%, app uninstall not working, no root access
 
Quote:

Originally Posted by Alan_Peery (Post 468142)
I have virtually nothing there. Deleted one file (dbus-info, gave me the willies to delete it), but that didn't get me past the lock file problem in App Manager. I though it might, if all that was needed was a block of disk space for a lock file...

I don't have an N900 just yet, but this may be a good (temporary!) solution.

Can you "wget" and "dpkg -i" the rootsh deb file to MyDocs? If you're able to become root, you might be able to move some files to MyDocs or even "apt-get clean".

If the rootsh deb file is too big, maybe someone here can create a deb file with the postinst line set to "apt-get clean", then the user could just "dpkg -i" it.

Hope this helps, somehow!

Rob1n 2010-01-13 11:45

Re: rootfs @ 100%, app uninstall not working, no root access
 
You can check for user owned files to delete/move:
Code:

find /var -user user -type f
or
Code:

find /var -writable -type f
The tracker cache db comes up on mine, which should be safe to delete (after killing tracker).

Alan_Peery 2010-01-13 12:14

Re: rootfs @ 100%, app uninstall not working, no root access
 
When I kill mafw-tracker-source it keeps respawning.

The -writable function is missing form the busybox implementation of find, as is "-ls". I am missing both today. The busybox implementation of 'ps' doesn't list parent processes either...

Rob1n 2010-01-13 12:17

Re: rootfs @ 100%, app uninstall not working, no root access
 
Quote:

Originally Posted by Alan_Peery (Post 468205)
When I kill mafw-tracker-source it keeps respawning.

The -writable function is missing form the busybox implementation of find, as is "-ls". I am missing both today. The busybox implementation of 'ps' doesn't list parent processes either...

I think it's trackerd you need to kill. And sorry, I didn't test the -writable option :o

Alan_Peery 2010-01-13 12:28

Re: rootfs @ 100%, app uninstall not working, no root access
 
Quote:

Originally Posted by Rob1n (Post 468209)
I think it's trackerd you need to kill.

trackerd is not running. If it is normal for it to be running, I suspect the 100% full condition is causing more casualties than I had been seeing...

Rob1n 2010-01-13 13:03

Re: rootfs @ 100%, app uninstall not working, no root access
 
I'm pretty sure it's normally running, yes.

If you've still not been able to free up any space, then I can only see a couple of remaining options. You could enable R&D Mode or you can reflash.

egoshin 2010-01-15 04:59

Re: rootfs @ 100%, app uninstall not working, no root access
 
Quote:

Originally Posted by Alan_Peery (Post 468205)
When I kill mafw-tracker-source it keeps respawning.

The -writable function is missing form the busybox implementation of find, as is "-ls". I am missing both today. The busybox implementation of 'ps' doesn't list parent processes either...

tracker-process -k

Alan_Peery 2010-01-17 15:55

Re: rootfs @ 100%, app uninstall not working, no root access
 
As the firmware was released on the 14th, I just went ahead and reflashed. It saved me the time of finding out what was using so much space on my root partition...


All times are GMT. The time now is 06:33.

vBulletin® Version 3.8.8