Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    HELP unable to install/remove apps (/opt is full)

    Reply
    Page 1 of 2 | 1   2   | Next
    flipalong | # 1 | 2010-11-24, 06:24 | Report

    could anyone please help me out?
    i went to conky and it says i have 0 bites left from my /opt partition, but a few days ago i had about 300mbs.
    i tried to uninstall some apps and i rebooted and it was still 0 bites free.
    i tried to use filebox to delete a folder from /opt and i rebooted and its still 0 bites free.
    and i wouldnt like to reflash the whole os, so hopefully you can just reflash /opt
    thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    debernardis | # 2 | 2010-11-24, 06:41 | Report

    Seems your /opt partition has problems.
    If you reflash /opt you are also deleting the majority of those files in rootfs which are symlinked to /opt. So you better reflash both rootfs and opt and start over. Also, if you have a recent backup - or your n900 is still able to backup - at the time you restore, after reflashing, you get a chance to reinstall all the applications you had, or the select only some.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flipalong | # 3 | 2010-11-24, 09:27 | Report

    how can u reflash just opt and rootfs?
    yeah it can still backup everything works besides wallpaper, music, videos, and app downloads and removals.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaaa62 | # 4 | 2010-11-24, 09:33 | Report

    Please try to check in X-Terminal before trying something like reflashing.
    What is the output of some unix commands to analyze the situation.
    Code:
    df
    ls -al /opt
    mount
    du -h /opt | sort -h
    Check if /dev/mmcblk0p2 is mounted at /home and /opt is mounted at /home/opt.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    debernardis | # 5 | 2010-11-24, 09:42 | Report

    Well everything you need is explained here:
    http://wiki.maemo.org/Updating_the_tablet_firmware
    It's in your own interest to read it well and don't start fiddling before you've understood it right.

    Backup all your stuff from MyDocs (don't forget hidden directories) and make also a backup with the stock app. Double check you got everything.
    Once you're safe that everything is secured, you flash the rootfs and then the emmc.
    Your n900 comes out clean from this experience.
    Then restore everything. When you restore from backup your application manager will offer you to re-download all your previous apps; you could exclude also some from the restore, especially bulky games, in order you're sure you don't clutter all your opt space again.

    Good luck

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flipalong | # 6 | 2010-11-25, 05:54 | Report

    Originally Posted by debernardis View Post
    Well everything you need is explained here:
    http://wiki.maemo.org/Updating_the_tablet_firmware
    It's in your own interest to read it well and don't start fiddling before you've understood it right.

    Backup all your stuff from MyDocs (don't forget hidden directories) and make also a backup with the stock app. Double check you got everything.
    Once you're safe that everything is secured, you flash the rootfs and then the emmc.
    Your n900 comes out clean from this experience.
    Then restore everything. When you restore from backup your application manager will offer you to re-download all your previous apps; you could exclude also some from the restore, especially bulky games, in order you're sure you don't clutter all your opt space again.

    Good luck
    thanks, i kinda knew most of that already
    im just gonna backup the stuff it backs up with the backup app, and also my music, vids and pics

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flipalong | # 7 | 2010-11-25, 05:55 | Report

    and also this is the stuff from terminal:
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    ~ $ df
    Filesystem 1k-blocks Used Available Use% Mounted on
    rootfs 232752 135908 92560 59% /
    ubi0:rootfs 232752 135908 92560 59% /
    tmpfs 1024 72 952 7% /tmp
    tmpfs 256 84 172 33% /var/run
    none 10240 72 10168 1% /dev
    tmpfs 65536 4 65532 0% /dev/shm
    /dev/mmcblk0p2 2064208 2018212 0 100% /home
    /home/opt 2064208 2018212 0 100% /opt
    /opt/pymaemo/usr/lib/python2.5
    2064208 2018212 0 100% /usr/lib/python2.5
    /opt/pymaemo/usr/share/pyshared
    2064208 2018212 0 100% /usr/share/pyshared
    /opt/pymaemo/usr/lib/pyshared
    2064208 2018212 0 100% /usr/lib/pyshared
    /opt/pymaemo/usr/share/python-support
    2064208 2018212 0 100% /usr/share/python-support
    /opt/pymaemo/usr/lib/python-support
    2064208 2018212 0 100% /usr/lib/python-support
    /dev/mmcblk0p1 28312128 7601344 20710784 27% /home/user/MyDocs
    ~ $ ls -al /opt
    drwxr-xr-x 27 root root 4096 Nov 24 17:19 .
    drwxr-xr-x 26 root root 1840 Nov 18 17:27 ..
    drwxr-xr-x 2 root root 4096 Sep 11 01:34 bin
    drwxr-xr-x 4 root root 4096 Oct 28 21:47 catorise
    drwxr-xr-x 2 root root 4096 Nov 24 17:09 crochik
    drwxr-xr-x 3 root root 4096 Oct 28 20:24 fapman-cache
    drwxr-xr-x 2 root root 4096 Nov 15 20:12 fapn
    drwxr-xr-x 4 root root 4096 Oct 30 13:45 filebox
    drwxr-xr-x 4 root root 4096 Nov 15 20:13 fmms
    drwxr-xr-x 2 root root 4096 Nov 13 20:42 lfocus
    drwxrwxr-x 3 root root 4096 Nov 19 18:25 lib
    drwxrwxr-x 3 root root 4096 Oct 28 20:15 maemo
    drwxr-xr-x 7 root root 4096 Nov 24 14:27 maesynth
    drwxr-xr-x 14 root root 4096 Nov 20 14:24 mediabox
    drwxr-xr-x 3 root root 4096 Nov 13 17:39 modrana
    drwxr-xr-x 5 root root 4096 Oct 31 08:38 opera
    drwxrwxr-x 9 root root 4096 Nov 7 12:19 plastic-schemes
    drwxr-xr-x 5 root root 4096 Nov 7 10:39 preenv
    drwxr-xr-x 2 root root 4096 Nov 13 21:03 psx4m
    drwxr-xr-x 3 root root 4096 Nov 1 21:36 pymaemo
    drwxr-xr-x 3 root root 4096 Oct 28 20:41 rovio
    drwxrwxr-x 2 root root 4096 Oct 28 20:27 rx
    drwxr-xr-x 4 root root 4096 Sep 11 01:34 share
    drwxrwxrwx 8 root root 4096 Nov 20 14:24 theme-customizer
    drwxr-xr-x 3 root root 4096 Nov 24 07:53 unzip
    drwxr-xr-x 7 root root 4096 Nov 16 20:07 usr
    drwxr-xr-x 4 root root 4096 Oct 28 19:54 var
    ~ $ mount
    rootfs on / type rootfs (rw)
    ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    tmpfs on /tmp type tmpfs (rw,noatime,size=1024k)
    tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755)
    none on /dev type tmpfs (rw,noatime,size=10240k,mode=755)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k)
    /dev/mmcblk0p2 on /home type ext3 (rw,noatime,errors=continue,commit=1,data=writebac k)
    /home/opt on /opt type none (bind)
    nodev on /sys/kernel/debug type debugfs (0)
    /opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind)
    /opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind)
    /opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind)
    /opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind)
    /opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind)
    /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,nosuid,noatime,noexec,nodiratime, utf8,uid=29999,shortname=mixed,dmask=000,fmask=013 3,rodir)
    ~ $ du -h /opt | sort -h
    sort: invalid option -- h
    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) multi-call binary

    Usage: sort [-nrugMcszbdfimSTokt] [-o FILE] [-k start[.offset][opts][,end[.offset][opts]] [-t CHAR] [FILE]...

    ~ $


    how do i check if its mounted and stuff?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    michaaa62 | # 8 | 2010-11-25, 16:47 | Report

    I am sorry, should have been
    Code:
    du -H /opt | sort -n
    Please also check the diskusage for /home/user
    Code:
    du -H /home/user | sort -n
    mount without options does tell you which device and which directory are mounted where.

    Everything is mounted where it should be for /home and /opt, but the partition is full. Could be /home/user or /opt, so please check with the above command, which one is the culprit for wasting your valuable space.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    flipalong | # 9 | 2010-11-26, 05:51 | Report

    i tried it and the list is so long that i cant copy and paste it all cause the top doesnt show up in terminal
    im going to reflash the os like now, see if it helps
    and also i think that maybe my phone cant recognize the /opt partition? because it says its 0B free and even if i delete stuff from it with filebox, its still 0B free...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jim80b | # 10 | 2010-11-26, 06:30 | Report

    more then likely your apt-get cache is full

    sudo apt-get autoclean

    or

    sudo apt-get clean

    will clean this out

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jim80b; 2010-11-26 at 06:32. Reason: more info
    The Following User Says Thank You to jim80b For This Useful Post:
    michaaa62

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout