maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   How to remove old apps from /home/opt ? (https://talk.maemo.org/showthread.php?t=50821)

Ashley 2010-04-23 10:33

How to remove old apps from /home/opt ?
 
I installed a lot of apps from extras-devel and manually installed some .debs. I was messing around trying to manually install an app and my phone got messed up so i re-flashed rootfs.

The problem that i have is almost every app i previously installed is still on my phone in /home/opt.

The OS does not recognise that any of these apps/packages are installed.

When i try to use GPE File Manager to CuteExplorer to delete these old apps, i get messages telling me that i dont have the permissions/rights to delete these files/folders.

How can i delete the folders/files of previously installed apps in /home/opt?

MohammadAG 2010-04-23 10:41

Re: How to remove old apps from /home/opt ?
 
Fixed in PR1.2.
For now, install rootsh, type root, then rm -rf /opt/*

Ashley 2010-04-23 10:52

Re: How to remove old apps from /home/opt ?
 
Quote:

Originally Posted by MohammadAG (Post 624168)
Fixed in PR1.2.
For now, install rootsh, type root, then rm -rf /opt/*

Thanks, fixed my problem, although this is only useful if you had just re-flashed your device, glad to know it will be fixed in PR1.2.

pelago 2010-04-23 11:09

Re: How to remove old apps from /home/opt ?
 
I don't see how PR1.2 will fix the OPs problem. If you reflash the rootfs there will always be things left on /home/opt (on the internal MMC), won't there, no matter what version of Maemo you are running?

Rob1n 2010-04-23 12:29

Re: How to remove old apps from /home/opt ?
 
Quote:

Originally Posted by pelago (Post 624242)
I don't see how PR1.2 will fix the OPs problem. If you reflash the rootfs there will always be things left on /home/opt (on the internal MMC), won't there, no matter what version of Maemo you are running?

PR1.2 looks to include a script that runs at first boot to clear out the /opt directorory (as well as optifying some of the default applications/libraries).

pelago 2010-04-23 12:57

Re: How to remove old apps from /home/opt ?
 
Quote:

Originally Posted by Rob1n (Post 624372)
PR1.2 looks to include a script that runs at first boot to clear out the /opt directorory (as well as optifying some of the default applications/libraries).

Ah OK, I didn't realise. Thanks for the info.

MohammadAG 2010-04-23 15:00

Re: How to remove old apps from /home/opt ?
 
Bug 7432 - /opt and /home/user not cleared after firmware reflash
Status: RESOLVED - FIXED

Quote:

Originally Posted by Andre Klapper
Thanks to Neil's input, this is fixed in
maemo-optify-runonce 0.10-12+0m5
which is part of the internal build version
10.2010.12-4


biggzy 2010-04-23 20:00

Re: How to remove old apps from /home/opt ?
 
so as of now what is the best wy to clear user data? i cant flash eMMC, flasher hangs on my windows xp machine even tho it has no problems flashing the firmware, thanx for any help

Rob1n 2010-04-23 21:31

Re: How to remove old apps from /home/opt ?
 
Quote:

Originally Posted by biggzy (Post 624961)
so as of now what is the best wy to clear user data? i cant flash eMMC, flasher hangs on my windows xp machine even tho it has no problems flashing the firmware, thanx for any help

I'd suggest booting a Linux CD and flashing from there. Otherwise you can try and guess which of the dot files in /home/user were there originally, and which are user-specific configuration. Ditto for gconf settings, etc.

Gilson 2010-05-27 13:00

Re: How to remove old apps from /home/opt ?
 
Quote:

Originally Posted by Ashley (Post 624185)
Thanks, fixed my problem, although this is only useful if you had just re-flashed your device, glad to know it will be fixed in PR1.2.

I think this action can be dangerous on some situations, as in my case. I did that and my N900 is now broken. When It finishes booting, reboots again. The only way to interrupt this endless cycle is removing the battery. Does some one knows how to force a hard reset?


All times are GMT. The time now is 04:59.

vBulletin® Version 3.8.8