maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   /opt/ full, probably related to python? (https://talk.maemo.org/showthread.php?t=78957)

dack001 2011-10-12 13:11

/opt/ full, probably related to python?
 
1 Attachment(s)
My /opt/ is full, so i am unable to install or upgrade applications, although there is still some memory free in rootfs.
Already tried apt-clean and removed around 20 mb of files, still no success :(
I've attached the output of my df -h, no idea what to do now.

michaaa62 2011-10-12 13:26

Re: /opt/ full, probably related to python?
 
The ext2[34]-filesystem always has some amount for root user only to be able to do some maintance even if the user fills the partition.
You might want to analyze your optfs
Code:

du -kx /home | sort -n
This list the largest folders of the /opt and /home folders. You might then ask how to proceed, remove the largest space wasters or 'simply' enlarge your optfs by shrinking your MyDocs partition following this wiki entry http://wiki.maemo.org/Repartitioning_the_flash
The most advanced method in this wiki is the solution using GParted.

The moving of python packages saved your rootfs to became full in the first place, later you installed some applications or copied some stuff to /home/user instead of MyDocs, may be.

ziggadebo 2011-10-12 13:28

Re: /opt/ full, probably related to python?
 
Have you looked at what files you have in /home/opt

Switch to the directory and type

ls -l

I have python installed, but have 75% free in /home/opt

dack001 2011-10-12 13:40

Re: /opt/ full, probably related to python?
 
Quote:

Originally Posted by michaaa62 (Post 1107556)
The ext2[34]-filesystem always has some amount for root user only to be able to do some maintance even if the user fills the partition.
You might want to analyze your optfs
Code:

du -kx /home | sort -n
This list the largest folders of the /opt and /home folders. You might then ask how to proceed, remove the largest space wasters or 'simply' enlarge your optfs by shrinking your MyDocs partition following this wiki entry http://wiki.maemo.org/Repartitioning_the_flash
The most advanced method in this wiki is the solution using GParted.

The moving of python packages saved your rootfs to became full in the first place, later you installed some applications or copied some stuff to /home/user instead of MyDocs, may be.

Thx!

I tried the du -kx, but the terminal capped the topmost (and thus probably biggest) folders. Is there a way to circumvent this problem?

michaaa62 2011-10-12 14:04

Re: /opt/ full, probably related to python?
 
That why the output is 'piped' to sort to have the largest folders last. They are the only relevant. Use the one-liner command i gave above

dack001 2011-10-12 14:21

Re: /opt/ full, probably related to python?
 
Thx x2

Seems that that this could be the problem:
773912 /home/user/.osso_rss_feed_reader


Could this be true?
If yes, can i just delete the folder?

Rob1n 2011-10-12 14:47

Re: /opt/ full, probably related to python?
 
Quote:

Originally Posted by dack001 (Post 1107586)
Thx x2

Seems that that this could be the problem:
773912 /home/user/.osso_rss_feed_reader


Could this be true?

Yes, there was someone else recently with the same issue, except their's was taking up 1.5G!

Quote:

Originally Posted by dack001 (Post 1107586)
If yes, can i just delete the folder?

You can do, but you'll lose any feeds you have configured. Try doing:
Code:

cd /home/user/.osso_rss_feed_reader
du -hsx *

If the space is all taken up by the cache folder, try deleting that. That should keep the feeds & history (which are in feedlist.opml and feedlist_state.opml).

dack001 2011-10-12 15:59

Re: /opt/ full, probably related to python?
 
Success!
I ran rm-rf on the whole reader folder (and nothing of value was lost), problem solved.

Thanks to all you helpfull posters!


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

vBulletin® Version 3.8.8