Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Installed man-db -> rootfs is completely full -> no chance to free it up

    Reply
    nearlyNERD | # 1 | 2012-11-27, 19:16 | Report

    Today, i wanted to install the man-db(-n900) package, but it interrupted, because rootfs got filled, so there was no space left.

    Code:
    apt-get remove man-db
    didn't work, because he said, that it's not installed.
    Code:
    apt-get remove man-db-n900
    did work, but there is still 0B left.

    After that, i tried autoremove, clean and rebootet it several times.. 0B left..

    Disabling the extra-devels and extra-testing didn't change anything either.

    I also tried to find all new files and directories with (in /)
    Code:
    find -n name man
    find -n name man-db
    and deleted most of them.

    I also tried to find all new/changed files/directories with
    Code:
    ls -1 -a -l | grep 'Nov 27'
    but i didn't find the problem..

    So, i guess, there is sill something, which tries to write all the time to rootfs and everytime, there are some Bytes left, they get filled immediately..

    Do you have another idea?
    Or does anybody of you know, which directories are in rootfs?
    i think, /opt and /home/user arent, are they?

    Thank you for your help.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwazix | # 2 | 2012-11-27, 19:31 | Report

    /home is not on the rootfs, and /opt is mounted on /home/opt so it isn't either. Neither is MyDocs which is on a different partition.

    Maybe you can find more info on the wiki
    http://wiki.maemo.org/Repartitioning_the_flash
    http://wiki.maemo.org/Opt_Problem

    The rootfs is compressed so deleting a 1Mb file will free <1Mb (not exactly relevant but it may save you some frustration to know that)

    You probably can use du to check out which folder takes up the most space, and track down the culprit.

    I also remember that the UbiFs (the filesystem on the rootfs) is somewhat strange, I don't however remember in what manner.

    http://www.linux-mtd.infradead.org/doc/ubifs.html

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to qwazix For This Useful Post:
    mosiomm, nearlyNERD, reinob

     
    nearlyNERD | # 3 | 2012-11-27, 20:02 | Report

    Thank you for the answer and the tip with the "du"-command.
    I've removed all the language-files i'm sure i'll never use in "/usr/share/locale/" and have now 8 MB of free rootfs.
    I think, that's enough for the next days until i find some time to flash the device.

    Nevertheless, i think, there are some "man"-files (files, that were copied to the device while installing "man-db") left, because after removing all the related files i found and disabling some repositories, rootfs was still completely full..

    The next time, rootfs gets full, i think, i have to remove gcc (40.4 MB)..
    Does anybody know, if there is a "optified" version of the "build-essential"-package?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaaa62 | # 4 | 2012-11-27, 20:25 | Report

    Hm, removing locale files might bork your system, if you do not know exactly what you are doing, because some locale and settings depend from another locale.
    You might rather move gcc, kernel-headers or build-essential.
    You could use du command with sort and tail to get the biggest space wasters
    Code:
    du -kx | sort -n | tail -n 50
    Please note that the -x and -k options are not supported by every version of busybox.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to michaaa62 For This Useful Post:
    mosiomm, nearlyNERD, qwazix, reinob

     
    woody14619 | # 5 | 2012-11-27, 21:02 | Report

    FWIW, you can get a list of any installed package contents with dpkg with it's package name, like this:

    Code:
    dpkg -L man-db-n900
    I have this on my device, so I can see the list. Most of the used space taken by the package is in /usr/lib/man-db. After filtering out the cruft, the relevant installed files/folders are:

    Code:
    /usr/lib/man-db/
    /usr/sbin/accessdb
    /usr/bin/manpath
    /usr/bin/whatis
    /usr/bin/catman
    /usr/bin/lexgrog
    /usr/bin/zsoelim
    /usr/share/doc-base/man-db/
    /usr/share/man-db/chconfig/
    /usr/share/doc/man-db/
    /usr/share/doc/man-db-n900/
    /usr/share/bug/man-db/
    /var/cache/man/
    /usr/bin/apropos/
    /usr/share/locale/*/*/*man-db*
    Once you have some space, you may also want to clear your apt cache.

    Edit: FWIW, man-db-n900 is already optified. Most of it's space-using "content" comes from the co-required package man-db-pages, which is entirely in /opt/man.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by woody14619; 2012-11-27 at 21:30.
    The Following 5 Users Say Thank You to woody14619 For This Useful Post:
    mosiomm, nearlyNERD, peterleinchen, qwazix, reinob

     
    nearlyNERD | # 6 | 2012-11-27, 21:29 | Report

    I have to admit, you're the most polite and helpful community i know, even more polite than r/trees.
    The only file of the man-db-n900-package, that is still on my n900, is the config-file and that's okay.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to nearlyNERD For This Useful Post:
    reinob

     
    woody14619 | # 7 | 2012-11-27, 21:33 | Report

    If you're hurting for space on root, there are lots of ways to move some of the "fluff" content (themes, locale, and such) off the root area to give you a bit more space. Most of that can be found on the wiki.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    arne.anka | # 8 | 2012-12-13, 21:31 | Report

    Originally Posted by nearlyNERD View Post
    I have to admit, you're the most polite and helpful community i know, even more polite than r/trees.
    The only file of the man-db-n900-package, that is still on my n900, is the config-file and that's okay.
    use

    Code:
    apt-get purge <package>
    that will remove _everything_ including configurations.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout