Reply
Thread Tools
Posts: 112 | Thanked: 24 times | Joined on May 2010 @ New Zealand
#11
Ok i'll provide the output from Leafpad later but i think i found out the problem.

I first ran this batch of commands:

sudo gainroot
apt-get update
apt-get install moodlight
and it gave me this output:

moodlight: Depends: python-pygame (>= 1.8.1release-0maemo1) but it is not going to be installed.

E: Broken packages.

So i thought, ok, i'll just run this:

apt-get install pytho-pygame
but it gave me this output instead:

moodlight: Depends: libsdl-ttf2.0 (>=2.0.9)) but it is not installable.

E: Broken packages.

so then i ran this output (which is the error i reported already, but trying it again):

apt-get install libsdl-ttf2.0
and it gave me this output:

Package libsdl-ttf2.0 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source.

E: Package libsdl-ttf2.0 has no installation candidate.

but basically, if all that makes sense to you, it's almost like a loop, where moodlight requires python-pygame, which requires libsdl-ttf2.0, which won't get installed.


I also had a look at this post here:

http://talk.maemo.org/showpost.php?p...1&postcount=56

and it didn't work for me.


Also, have also tried these commands:

Or all not upgraded..
sudo gainroot
apt-get update
apt-get upgrade

and..
apt-get autoremove

and they didn't help either.



I'm trying to find out the command to reinstsall the QT package, i found this and tried it but it doesn't work:

http://talk.maemo.org/showpost.php?p...7&postcount=72


And also i tried this too but it doesn't work:

http://wiki.forum.nokia.com/index.ph...up_Qt_Mobility

so ya what do i do now???



UPDATE

OK, sorry for so many updates and edits, but i almost got this sorted, i think. I now understand what JonWW meant on the 7th post of this topic (first page), i disabled the repos Extra-testing and Extra-devel, and any other 3rd party ones like Mozilla or Opera.

Then, i tried all those steps i listed above again, and now they work.


To be more precise, i basically ran the apt-get remove python-pygame command first, and then apt-get remove libsdl-ttf2.0-0, and finally apt-get remove libsdl-ttf2.0.

Now, basically at this step, i've removed 3 components. So first, i thought i should try install the QT package again, so i did by using this command:

apt-get install libqtm-*
which is found in the link just above this updated comment. And that worked fine, so that's a good.

Next, I tested 3 things. I first ran the apt-get install libsdl-ttf2.0-0, and that installed fine. Then, i ran apt-get install python-pygame, and that showed an error saying it can't overwrite to this path because libsdl-ttf2.0-0 is already there. So i removed both, and then tried apt-get install python-pygame again, and this time it worked.

The 2nd thing i tried is remove python-pygame and the libsdl-ttf2.0-0, then install libsdl-ttf2.0-0 again, and then tried to install libsdl-ttf2.0, and this failed.




Ok so to sum it up, here's my findings and conclusions. Sorry if it's a super long post and if it seems confusing, but i'm noob at all this and just discovered this so maybe it's something obvious to many of you already, but anyway here's what i learned:

1. libsdl-ttf2.0 is NOT THE SAME as libsdl-ttf2.0-0. (I have no idea which one is newer, if someone can tell me, plz do).

2. python-pygame requires libsdl-ttf2.0-0. BUT, if you have libsdl-ttf2.0-0 installed ALREADY, then python-pygame won't install as the package itself already contains the libsdl-ttf2.0-0 component, and will try to overwrite it in the folder location, so basically both libsdl-ttf2.0-0 and python-pygame installs to the same folder, and that python-pygame ITSELF contains libsdl-ttf2.0-0 ALREADY.

So basically, remove libsdl-ttf2.0-0, and just install python-pygame.



3. Now this is the tricky and most confusing part to me.

The app: "Moodlight" requires these components:

libsdl-tff2.0
python-pygame

but the thing is, you can't install libsdl-tff2.0 if there is libsdl-tff2.0-0 installed (and vice versa), as they have conflicts. If you remove python-pygame and libsdl-tff2.0-0, then you can install libsdl-tff2.0 fine, but then Moodlight still requires python-pygame. So i have no idea how the hell this works.......

Last edited by chaoscreater; 2010-08-02 at 11:56.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#12
You have done good. Pretty much the cause of action i would have taken.

To bad it didn't solve your problem. Moodlight have a dependecy problem. It need pygame that is newer or equal to v1.8.1 installed. It will therefore not install the this version cause that might cause a dependency problem for another program depending on another version. If i remember the older/newer correct (< =older; > = newer).. it could be the other way around.

As you can see here.
moodlight: Depends: python-pygame (>= 1.8.1release-0maemo1) but it is not going to be installed.

I was hoping autoremove would solve this for you.. cause it will install or uninstall programs in the pipe. Now you could try uninstalling the 2.0.9 and hope it not breaks anything. I think it will be no problems cause you said you installed it manually before.

First i like you to try an upgrade.. that might install the newer versions of python.

1. sudo gainroot
2. apt-get upgrade

Then remove the package that casue problem:
1. sudo gainroot
2. apt-get remove libsdl-ttf2.0

you might also want to try:
1. sudo gainroot
2. apt-get remove python-pygame

And then try install moodlight again:
1. sudo gainroot
2. apt-get install moodlight

You could try applie the "-f" force option.. it could be dangerous as it will force the installation. (apt-get -f install moodlight)

I guess you understand "sudo gainroot" and that you only need to do it once to get to the root shell.
 
Posts: 112 | Thanked: 24 times | Joined on May 2010 @ New Zealand
#13
Originally Posted by AlMehdi View Post
You have done good. Pretty much the cause of action i would have taken.

To bad it didn't solve your problem. Moodlight have a dependecy problem. It need pygame that is newer or equal to v1.8.1 installed. It will therefore not install the this version cause that might cause a dependency problem for another program depending on another version. If i remember the older/newer correct (< =older; > = newer).. it could be the other way around.

As you can see here.
moodlight: Depends: python-pygame (>= 1.8.1release-0maemo1) but it is not going to be installed.

I was hoping autoremove would solve this for you.. cause it will install or uninstall programs in the pipe. Now you could try uninstalling the 2.0.9 and hope it not breaks anything. I think it will be no problems cause you said you installed it manually before.

First i like you to try an upgrade.. that might install the newer versions of python.

1. sudo gainroot
2. apt-get upgrade

Then remove the package that casue problem:
1. sudo gainroot
2. apt-get remove libsdl-ttf2.0

you might also want to try:
1. sudo gainroot
2. apt-get remove python-pygame

And then try install moodlight again:
1. sudo gainroot
2. apt-get install moodlight

You could try applie the "-f" force option.. it could be dangerous as it will force the installation. (apt-get -f install moodlight)

I guess you understand "sudo gainroot" and that you only need to do it once to get to the root shell.

Ya i know about sudo gainroot, i just copied and pasted just so it's clear what section or part that i'm quoting

Ya i actually tried the -f command and it didn't work, i guess the same folder just doesn't let you install libsdl-tff2.0 or libsdl-tff2.0-0, i.e it doesn't let you have both of those in it, only one.


I tried the first option already, didn't really help much. Not that i'm getting anymore errors now since i found out it was the libsdl-tff problem causing the conflicts, but anyway it didn't solve the major problem for me.

I haven't actually tried the 2nd one, maybe i will. I'm just not sure if i restart my phone, whether this will brick it. I remember on my first N900, when i tried to install QT 4.6.2 before PR 1.2 was released, it bricked my device. And QT consists of components like these right?? So if libsdl-tff2.0 is newer than libsdl-tff2.0-0, and i install the one i shouldn't install (as like you said, it might cause problems to other programs that depend on it), then i'm screwed.


Maybe Moodlight just updated to use the newer component, so i guess it doesn't really matter, i should probably play it safe and just forget about installing it for now. I think.




EDIT:

BTW new question, how do i use X-Terminal to install apps from here:

http://repository.maemo.org/extras/p...ntle/non-free/

because those are in .deb files.


For the link here:
http://repository.maemo.org/extras-d...antle/install/

i can install fine using the same command, apt-get install (package name).

But for the first link, it's slightly different and doesn't work for me. Of course, i can use the app manager, but now i've truly found out how much faster it is to use X-Terminal since i've never really used it that much before.

Last edited by chaoscreater; 2010-08-02 at 12:16.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#14
I saw your last update.. and you have pretty much figured it out. Looks like a dependency problem for moodlight. But you said you had it installed on PR1.2 erlier so it don't make sense.

I just checked and Moodlight need pygame 1.9.1 and libsdl-ttf2.0 (2.0.9-1).. so uninstalling pygame and libsdl should solve it.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#15
To install .deb files..

First you download it to the n900.. doesn't matter where. Then you use "dpkg -i" to install it.

(you need to install wget if you haven't.. no need for a browser)

Code:
1. sudo gainroot
2. cd /home/user/MyDocs/Downloads/
3. wget http://repository.maemo.org/extras-t....2.0-2_all.deb  
4. dpkg -i moodlight_0.2.0-2_all.deb
Edit: And yes.. the terminal is a lot better in many sircumstances. You have another app manager too Faster Application Manager.. It is still in extras-devel though.

Last edited by AlMehdi; 2010-08-02 at 12:43.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#16
To find a package "real" name you sometimes need "apt-cache search <program>" Where you change <program> to the one you looking for.
 
Posts: 112 | Thanked: 24 times | Joined on May 2010 @ New Zealand
#17
great, thanks for all your help, appreciate it
 
Posts: 112 | Thanked: 24 times | Joined on May 2010 @ New Zealand
#18
Ok i think most of the errors i had before are now gone and fixed.

But i still have a few problems. First off, i just downloaded and installed the app called "Faster Application Manager" as recommended, is that an actual app that you launch?? Or does it just tweak and improve the current App Manager?? Because i don't see the app anywhere in my list, so i'm just gonna assume it's a tweak added to the default one on the N900, it did seem to load a bit faster, i think....



2nd problem is What i've already mentioned in the first post, and it's still not solved. I don't know if this applies to some other apps as well, but so far i've only noticed one, and that is the "Contacts Merger", or AKA "Merge your Duplicate Contacts". (The file name is actually Contacts Merger but it's the same thing anyway).

If i remember correctly, i'm pretty sure it's an app, not a tweak. It should show up somewhere in your list, i think in "Utilities" folder. I remember using it on my first N900 and it worked fine. Now, i can't find it on my current N900, it installed fine and never gave me any errors, but i just don't see it. I tried finding any options in the Contacts app as i thought maybe it's a tweak instead, but it's not there either.

So then i used X-Terminal to reinstall it, and still doesn't show up. Does anyone know why??
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:07.