View Single Post
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.