maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Weird problem with installing files from App Manager!! (https://talk.maemo.org/showthread.php?t=59504)

chaoscreater 2010-07-31 05:40

Weird problem with installing files from App Manager!!
 
Ok, so I updated it to PR 1.2 through OTA (over the air, i.e updated it through the App Manager), and it worked fine.

I begin to restore from the backup I made, and everything restored fine and most apps restored fine, except a few that showed error messages saying i'm missing a few key components. I can't remember exactly, but most of them are missing the libqt 4.6 or something like that.

Which is strange, since that shouldn't be the problem if i' updated to PR 1.2.

So now, i dunno if i should reinstall PR 1.2 again but using Maemo Flasher or using Nokia Software Updater, i'd rather not install again coz i had to leave it on for several hours to install all that crap so i dun wanna do that again if possible.

I'm not sure if it's really the problem due to me updating PR 1.2 through OTA (even though it was successful with no errors whatsoever), or whether it's because i'm using an older Nokia N900.

Just to give a quick re-cap, basically i bought my first N900 (brand new) on April 2010 this year. I then sold it after using it for 2 months coz i couldn't justify paying $900 NZD for it, even though it's a good phone. After a month, i started to miss it a lot, so i bought it again but from a different seller, and this time is a second hand one, which i bought for $600 and still has warranty on it.

However, this one seemed different, the keyboard is smooth, compared to the first one i had which was a bit rough. APPARENTLY, people told me that the one with the rough keyboard is the newer model, whereas the smooth keyboard is the old one.


Now, i've read a lot of posts where people had defected N900s, and that they had problems with updating to PR 1.2 or have problems AFTER updating to PR 1.2, and just a lot of problems with their N900 in general etc etc. I've never had those problems on my first N900, but now that i have apparently the old model, is this the reason why i'm having this problem??


I couldn't find any documentations on the differences between these models either. The only thing i know is that the newer models come shipped with PR 1.1.1 already, and when i got this second one, it had that installed already as well. Right now, i'm asking whether the seller updated it before selling to me, or whether it came like that. But anyway, if someone can provide some documentation or changelogs regarding these 2 slightly different models, it'd be awesome.



Anyway, i need help with this. Some stuff such as Easy Debian couldn't be restored because like i mentioned already, it requires those key components.

chaoscreater 2010-08-02 08:17

Re: Weird problem with installing files from App Manager!!
 
Update:

Ok so i used Maemo Flasher to flash to the firmware and eMMC. It worked fine, but i still get the errors when installing certain files.

Anyone know what's wrong coz i have absolutely no clue. And also, one of the apps i installed correctly/successfully, called "Merge your contacts) don't show up.

It's suppose to show up under Utilities, but it's not there. I tried to find it in the options for the "Conversation" app, it's not there either. I uninstalled, and then reinstalled again but it's still not there. I remember on my first N900, it showed up under the Utilities folder so i dunno what's wrong with this one.


Lastly, i tried to restore the application list i backed up again, i.e i tried to make it restore the failed apps again, some of them actually managed to install fine after the 2nd try, but some still show the same error.

As an example, i couldn't get the app "Moodlight" to install successfully at all. It kept showing the error: "libsdl-ttf2.0(>=2.0.9) missing", i tried using the apt-get install command in X-terminal and it downloaded the required files fine but it still doesn't work....

AlMehdi 2010-08-02 08:41

Re: Weird problem with installing files from App Manager!!
 
I have never heard anything about the new vs older n900. This should however not cause you problems softwarewise..

I have not tried those programs you are talking about. But it could mean that they might not be supported on PR1.2.. i am not sure. You should try to upgrade to the latest version of the programs. Possibly enable extras-devel if necessary.

If you want any help... you will need to print out those errors you got. Otherwise it would be difficult to help.

chaoscreater 2010-08-02 08:46

Re: Weird problem with installing files from App Manager!!
 
Quote:

Originally Posted by AlMehdi (Post 772794)
I have never heard anything about the new vs older n900. This should however not cause you problems softwarewise..

I have not tried those programs you are talking about. But it could mean that they might not be supported on PR1.2.. i am not sure. You should try to upgrade to the latest version of the programs. Possibly enable extras-devel if necessary.

If you want any help... you will need to print out those errors you got. Otherwise it would be difficult to help.

Well, when the first batch of Nokia N900 were released, they didn't come with PR 1.1.1 firmware installed on them (coz the firmware wasn't even out at that time). Those apparently have the smoother keyboard.

Then, after a couple of months, they released what apparently is the newer model, with the PR 1.1.1 pre-installed and has the keyboard with a rougher texture.

I've used both so i can definitely tell there is a difference.



And like i said, those apps worked fine on my first N900. I've never had any of this problem at all. And my first N900 was updated to PR 1.2 already. SO ya, those apps do work with PR 1.2. Already enabled the extra-devels too......


as for the errors, there're too many, i didn't write them down. I have about 2.6GB of stuff that needs to be restored and downloaded, so i can't just go through all the failed ones and write down their app name and error message. I did however provide one, which is actually in the last paragraph of my previous comment so you couldn't have missed it....

AlMehdi 2010-08-02 09:27

Re: Weird problem with installing files from App Manager!!
 
You said you solved that one by installing it seperatly. So i didn't bother with it. You don't have to write every error down manually.. just copy/paste or attach the log.

What happens when you do it in terminal? Copy/paste the output..

chaoscreater 2010-08-02 09:41

Re: Weird problem with installing files from App Manager!!
 
Quote:

Originally Posted by AlMehdi (Post 772830)
You said you solved that one by installing it seperatly. So i didn't bother with it. You don't have to write every error down manually.. just copy/paste or attach the log.

What happens when you do it in terminal? Copy/paste the output..


no i didn't......i didn't solve it.......

Quote:

As an example, i couldn't get the app "Moodlight" to install successfully at all. It kept showing the error: "libsdl-ttf2.0(>=2.0.9) missing", i tried using the apt-get install command in X-terminal and it downloaded the required files fine but it still doesn't work....


If that was confusing to read then i'll summarize this in simple steps:

1. I used the "Backups" app to restore the "Application List", i.e it downloads all the apps i ever downloaded, and attempts to reinstall them. On the first run, quite a few failed to install properly, because they lack or are missing certain application packages or important components.

2. After the first run is finished, i.e after the whole process is done, I then repeated step 1 because i want to try and get the failed apps to reinstall again, hoping that they'll work again this time. SOME, managed to install fine this time, but some still failed.

3. As an example, the app "Moodlight" failed to install in both tries. It kept showing the error: "Application packages missing: libsdl-ttf2.0(>=2.0.9)".

4. I then attempted to use X-Terminal to install the "libsdl-ttf2.0" package by entering *something like this*:

sudo gainroot
apt-get update
apt-get install libsdl-ttf2.0


*note, this isn't exactly what i entered because i forgot. I entered commands similar to this as i found it on some website which i unfortunately didn't bookmark.


As for the output, it installs successfully and didn't give me any errors, however i still couldn't install Moodlight properly.


Lastly, i can't copy and paste the errors produced by the application manager, i can only write them down, and i'll try and do that by restoring the apps for the 3rd time later on. For the X-Terminal, i can, but it didn't give me errors, it installed fine but application manager just keeps showing the same error.





*Update*:

And now, here's another weird problem. I went into Application Manager, and then "Uninstall", and there it is, the app "Moodlight" is installed already and showing in the list. I then launched the app from the Menu and it worked fine. However, whenever i try to do an update or restore application list from backup, "Moodlight" always shows it's not installed properly and always attempts to update it, which always give me the same error as i posted above.



And here're some more errors i got (all are "Application packages missing:") :

libqtm-bearer
libxslt1.1(>=1.1.1.9-1osso4+om5)
libfribidio
liblzo202

JonWW 2010-08-02 10:04

Re: Weird problem with installing files from App Manager!!
 
Try disabling different repositories, I forget which one cause problems for me with a python dependency.

chaoscreater 2010-08-02 10:10

Re: Weird problem with installing files from App Manager!!
 
Quote:

Originally Posted by JonWW (Post 772865)
Try disabling different repositories, I forget which one cause problems for me with a python dependency.

rly?? But i don't have any 3rd party repos other than just the Maemo-Testing and Maemo-Devel ones......and i'd like to continue receive updates as well since 90% of my apps are from the Maemo-Testing repo.



I guess my big question is, has there been any major changes where ppl have had tons of problems installing apps from the past month or so till now recently?? I've only stopped using the N900 for about a month (coz i sold my first one like i mentioned before already), and bought it again just 3 days ago, so there shouldn't be any major changes in between this period.....


Also, i tested my backups on my first N900 3 times already before i sold it, and they worked fine, so it couldn't be the backups either.



UNLESS, the backups are device independent, so maybe that's why there're conflicts on this 2nd N900 i use.....

AlMehdi 2010-08-02 10:11

Re: Weird problem with installing files from App Manager!!
 
Try use the terminal as it shows better what have gone wrong.

I am not sure if this is the correct path for the log.. but if you use "leafpad /home/user/.hildon-application-manager/last-update" it should show you a log. You will need leafpad installed.

You did right by this..
sudo gainroot
apt-get update
apt-get install libsdl-ttf2.0

But try with moodlight instead..
sudo gainroot
apt-get update
apt-get install moodlight

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

and..
apt-get autoremove

If you want to install many programs at the same time.. then just add with a space between. "apt-get install moodlight leafpad libfribidio" e.t.c.

chaoscreater 2010-08-02 10:14

Re: Weird problem with installing files from App Manager!!
 
Quote:

Originally Posted by AlMehdi (Post 772877)
Try use the terminal as it shows better what have gone wrong.

I am not sure if this is the correct path for the log.. but if you use "leafpad /home/user/.hildon-application-manager/last-update" it should show you a log. You will need leafpad installed.

You did right by this..
sudo gainroot
apt-get update
apt-get install libsdl-ttf2.0

But try with moodlight instead..
sudo gainroot
apt-get update
apt-get install moodlight

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

and..
apt-get autoremove

If you want to install many programs at the same time.. then just add with a space between. "apt-get install moodlight leafpad libfribidio" e.t.c.


Ok thanks, i will give that a try.

What does the "apt-get autoremove" command do?? I've seen it before so many times but unsure of what it does. And for the
Quote:

Or all not upgraded..
part, what does that do?? Upgrade everything all over again??


Anyway i will try this and provide output from Leafpad.

chaoscreater 2010-08-02 11:09

Re: Weird problem with installing files from App Manager!!
 
Ok i'll provide the output from Leafpad later but i think i found out the problem.

I first ran this batch of commands:

Quote:

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

Quote:

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:

Quote:

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

Quote:

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):

Quote:

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

Quote:

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:

Quote:

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:

Quote:

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.......

AlMehdi 2010-08-02 12:02

Re: Weird problem with installing files from App Manager!!
 
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.

chaoscreater 2010-08-02 12:11

Re: Weird problem with installing files from App Manager!!
 
Quote:

Originally Posted by AlMehdi (Post 772970)
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.

AlMehdi 2010-08-02 12:23

Re: Weird problem with installing files from App Manager!!
 
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.

AlMehdi 2010-08-02 12:38

Re: Weird problem with installing files from App Manager!!
 
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.

AlMehdi 2010-08-02 12:45

Re: Weird problem with installing files from App Manager!!
 
To find a package "real" name you sometimes need "apt-cache search <program>" Where you change <program> to the one you looking for.

chaoscreater 2010-08-03 03:17

Re: Weird problem with installing files from App Manager!!
 
great, thanks for all your help, appreciate it :)

chaoscreater 2010-08-03 06:26

Re: Weird problem with installing files from App Manager!!
 
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??


All times are GMT. The time now is 01:08.

vBulletin® Version 3.8.8