![]() |
rootfs help
Hi.
Having a lil trouble with rootfs. Yes I installed apps from devel. Yes I read the other threads. My issue is this: Along the way, my phone keeps adding to rootfs. Even though older versions of software that weren't optified now are space doesn't seem reclaimed. I don't even have that much installed, Disk Usage shows some 10-15M free depending on boot time, and the wiki says about 100. I saw people here with over one hundred installed that claim 60. Something's fishy. Looking at Disk Usage graph I see nothing odd. The here-and-there stuff from OpenTTD and a few files from themes. Huge hogs were the /usr/lib, then /home/opt/qt4-maemo5/lib, then /usr/share/icons/hicolor, some Python folders and last some apt cache. Other than that nothing big, just pieces of seemingly needed stuff. How did I get this usage? I'm guessing updated packages that never got files removed? I have less than 30 apps listed and most are real small, like rdesktop (500k), VNC, wifiinfo, stuff that adds up to like 45 megs in package size in "uninstall". But 20 MB is MPlayer and I read it's optified. Also, many other large programs are optified. Even so, should have at least 20 free, not 12? I don't get it, if I uninstall ALL apps and reinstall, would that get me back my space? Or is it lost to updating apps? I thought the packaging system took care of stray files. Does anyone have a clue how much a new N900 have free and about what size is each big folder? Perhaps a Disk Usage screen? I hate flashing. Oh, and, is QT and Python supposed to be in there? How can I find out how much (ish) is each app/package taking up? I saw a script around but it's perl and I can't even tell if I'm perl-able. Oh, and, I rate at zero/10 on Linux but at around 9-10/10 on Windows (IT guy), so I have the concept of file and editing, CLI, etc but no concept of Unix folder structure. Where do I look? |
Re: rootfs help
1. install rootsh
2. open x-term 3. sudo gainroot 4. dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n | more You will get sorted list all installed packages with sizes in Kb. You will get page by page. for next page press "space" for exit "q" if you want to export list to file use: dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n >> FileName for looking file use cat FileName | more |
Re: rootfs help
4044 microb-engine-common
4172 libxerces27 4188 python2.5-minimal 4304 reflect 5288 libqt4-maemo5-xmlpatterns 5320 openttd-opengfx 5372 gstreamer0.10-ffmpeg 5504 libgtk2.0-0 5564 nokia-maps-core 5676 openttd-data 6276 osso-icons-default 6388 mc 6484 omap3430-dsp-libraries-ti 6572 hildon-theme-beta 6760 adobe-flashplayer 7856 hildon-theme-alpha 8032 nokia-maps-ui 8868 libc6 8884 dtg 9780 python2.5 11692 libqt4-maemo5-gui 12292 microb-l10n 13276 libqt4-gui 13584 cmt-firmware-rx51 15640 microb-engine 16304 posix-locales 16576 libicu40 18252 libqt4-maemo5-webkit 18612 mplayer 20744 libqt4-webkit No hint on optification. |
Re: rootfs help
Be aware of what you are doing - use on your own risk:
http://talk.maemo.org/showthread.php?t=37629 provides a script somewhere which could help you. http://talk.maemo.org/showthread.php...142#post429142 provides a script which could release some space (if you have not already done that). |
Re: rootfs help
try this in a root terminal to remove unused packages.
Code:
apt-get autoremove |
Re: rootfs help
You tried deleting everything in /var/cache/apt/archives/ yet ?
|
Re: rootfs help
thanks, archebyte.
Excuse the possible typos and layout, I'm on the device. apt-get --help suggests that the parameter I'm looking for is --autoremove. Using that instead. Sudoing that. The following packages will be REMOVED: liblongcat0 libqt4-maemo5-core libqt4-maemo5-gui libqt4-maemo5-network libqt4-maemo5-opengl libqt4-maemo5-phonon libqt4-maemo5-webkit libqt4-maemo5-xml libqt4-maemo5-xmlpatterns 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. After this operation, 42.9MB disk space will be freed. Do you want to continue [Y/n]? n Shoul I go ahead? Are those packages needed there if not needed now? As in, maybe needed later and not in repos? |
Re: rootfs help
Quote:
|
Re: rootfs help
Quote:
Quote:
|
Re: rootfs help
I understand that they aren't used now.
What I'm asking is: can this remove default packages that shipped with maemo and are not in the repos. Would this keep me from fulfilling dependencies later, because they were supposed to be there. I know I make little sense, I'm out of my element here. Say I ship a device with packages a,b,c,d included, and install x, depends on a,b,c and y. Note that d is now unlinked. If removed, app z might depend on d but d is not there and it's not in the repos because it should be there by default. Can this happen? Or are all libs in the repos? edit: posted at the same time. thanks. going ahead. |
All times are GMT. The time now is 04:17. |
vBulletin® Version 3.8.8