![]() |
what is mounting python?
have a look at this screenshot
http://static.pixelpipe.com/c1edbfd2...f786ea48_m.jpg something mounting python stuff on the device. i had butterfly plugin installed and they shold have been removed after uninstallation of butterfly plugin but they didn't. Here wat i got installed http://static.pixelpipe.com/43214c4f...76ad11e8_m.jpg http://static.pixelpipe.com/4643e4b6...901437c5_m.jpg http://static.pixelpipe.com/523c2cc7...0fe14856_m.jpg http://static.pixelpipe.com/3f2cd5fd...0f09f2be_m.jpg |
Re: what is mounting python?
Don't a lot of widgets use python? It could be any of them
Does python cause problems, or do anything to make you want to get rid of it? |
Re: what is mounting python?
call me obsessive-compolsive ( ;) )but it wasn't like that in fresh boot . I am trying to understand what installed it so i can remove it.
|
Re: what is mounting python?
is there anyway finding out which app depends on python2.5
|
Re: what is mounting python?
Python is installed by default, and i think uninstalling python might break essential system components
It is started everytime a .py file is executed, so there's little chance of not using python at all (it seems to be liked by a lot of devs nowadays) |
Re: what is mounting python?
No it's not, at least it wasn't on my unit. It gets installed the first time you install an app that has it as a dependency (such as PyGTKeditor, or certain widgets).
|
Re: what is mounting python?
Running apt-cache rdepends python will show which packages depend on python (and hence pulled it in when they were installed). If that tells you that no package "python" was found, run dpkg -S python and pick the proper one (probably a python2.6 or similar).
|
Re: what is mounting python?
Tip: Rather than using load-applet screenshot tool (as it shows the You have 20s...) just press Ctrl+Shift+P
|
Re: what is mounting python?
butterfly installs it but doesnt remove when you uninstall it.
i tried to install it with apt-get and remove but mount points stays. you can remove and unmount python shares and manualy remove folders but not sure if it is good idea |
Re: what is mounting python?
Quote:
I suppose a nice project for someone would be to port over the deborphan tool. |
Re: what is mounting python?
Quote:
BTW, python is not optified. I think it eats about 15MB. |
Re: what is mounting python?
There is an optified version but it's not in Extras yet.
|
Re: what is mounting python?
although i have uninstalled butterflyplugin this python mounts comes after reboot. how can i remove them from the automount?
|
Re: what is mounting python?
Quote:
There is no python file system that gets mounted. automount has nothing to do with this. It is likely that butterfly plugin does not know whether somthing else depends on python, so uninstalling butterfly plugin does not uninstall python. There is probably some command that uninstalls python. |
Re: what is mounting python?
probably i am getting terminology wrong. see my first post's firt image. /usr/lib/python2.5 points to same area as home. they were not there untill i install butterfly plugin and tehy didn't removed after i uninstall it. i am trying to figure out how to remove them.
i unmount them but they come back after reboot. |
Re: what is mounting python?
for example mount command gives
/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) actual folders they point are empty |
Re: what is mounting python?
Quote:
Code:
~ $ df -h |
Re: what is mounting python?
It looks like you have installed some package that was poorly "optified" using bind mounts instead of symbolic links. My guess is that it left some entries in /etc/fstab. If those directories are all empty now then you can just remove the corresponding lines in fstab and be done with it.
|
Re: what is mounting python?
Actually the newest version of Python uses a "Bind" method to mount the /opt folder for python. This is NORMAL behavior for python now. This allows all of Python to appear as if it is in the proper spot; but because it is so large and we don't actually want it in the /usr folder.
Nathan |
Re: what is mounting python?
Oh I see. I guess this is in extras-testing now? I'm not seeing it yet.
Why bind mounts instead of symbolic links? |
Re: what is mounting python?
Quote:
For something like python, the bind mounts are far better. And to the OP: They aren't taking up space on /usr. If the tool you are using claims those directories are taking up space on /usr, the tool is broken. |
Re: what is mounting python?
Quote:
|
Re: what is mounting python?
Quote:
|
Re: what is mounting python?
Quote:
|
Re: what is mounting python?
Quote:
Quote:
|
Re: what is mounting python?
Quote:
it's a runtime library required by other applications and as such part of the system. |
Re: what is mounting python?
I think it's pretty well established that the 'optification' plan is a grade A ugly hack, so doing something different on the grounds of FHS compliance is eccentric to say the least.
And as for: Quote:
|
Re: what is mounting python?
The thread title alone is just so wrong;)
|
Re: what is mounting python?
The optification methods for Python were discussed in the mailing lists, and the best solution was to do the bind method.
Some links on the discussion: http://lists.maemo.org/pipermail/mae...er/022323.html http://lists.maemo.org/pipermail/mae...er/021348.html https://garage.maemo.org/pipermail/p...er/001091.html There are more places with the python optification discussion, but those three aren't bad for starters. |
Re: what is mounting python?
Quote:
Is the current binding version of Python perfectly okay? Does it place much of a storage burden on root storage space (as suggested earlier in this thread)? Should we delay and wait for the optified version? Will the optified version automatically replace the current version when it hits extras? Or do we need to even worry about that at all? |
Re: what is mounting python?
Quote:
i referenced the fhs to show that there are certain things (like python) which are expected to be in certain paths. which is why we need the whole optification in the first place :) thanks for the links, yerga. i really ought to subscribe to the mailing list(s). :D mounting really seems to be the best way to optify python. hopefully it's the only exception, filling up the mount table would not be nice. |
Re: what is mounting python?
Quote:
|
All times are GMT. The time now is 17:47. |
vBulletin® Version 3.8.8