maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Application manager broken (https://talk.maemo.org/showthread.php?t=41544)

fatalsaint 2010-01-20 22:39

Re: Application manager broken
 
Quote:

Originally Posted by kurtisboyd (Post 485423)
Installed rootsh and rooted the device:

apt-get update over 3G gets packages from downloads.maemo.nokia.com only

apt-get update over WiFi gives me:
[connecting to repository.maemo.org (1.0.0.0) ]
Ign https://downloads.maemo.nokia.com ./ Release.gpg
Err http://repository.maemo.org fremantle /free Translation-en_GB

"Could not connect to repository.maemo.org:80 (1.0.0.0) connection timed out"

now it says
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Release.gpg
20% [Working]
^^ and that number is going up veeerry slowly.

This gives me more to work with. When on WiFI it looks like a DNS problem.. try using the google DNS servers described in a thread where someone in ireland was getting similar responses.

Again in this thread with almost identical readouts to yours with wifi. But, this may lead to being a problem in how the new firmware uses DNS entries.

Try adding 8.8.8.8 and 8.8.4.4 to your /etc/resolv.conf and see if that fixes your wifi problems.

For the 3G - what exactly is the error?

fatalsaint 2010-01-20 22:41

Re: Application manager broken
 
Quote:

Originally Posted by ndi (Post 485437)
On the other hand, some others no longer work, like Google Latitude Updater, it's missing some QT4 dependencies. I had it before the PR1.1. Why would anyone remove libs active apps depend on but leave the apps?

For people on 1.0? Shouldn't all dependencies be in the repos?

In theory, yes. But I've also wondered this myself on how Maemo is going to handle dependencies. For example, say someone ports a CLI app that does something useful (pianobar, for example, for pandora radio) and then someone else creates a GUI front-end for it.. if the GUI frontend gets votes *before* pianobar itself gets votes.. would the GUI wind up in extras before pianobar can? How is this prevented?

Definitely a topic for a different thread though..

ndi 2010-01-20 22:43

Re: Application manager broken
 
Didn't he say no error, it's just very very slow?

Also, my wifi actually NATs to my PC, second NIC. The PC resolves repository.maemo.org just fine. I did notice, though, that doing a DNS on the name THEN tapping update makes it update in like 5 seconds, which is odd. It usually takes like 20 or so.

--

++ [ 0:43:37.79] [Ndi] D:\Admin\Projects\LANMap>dns repository.maemo.org
[DNS] lookup on "repository.maemo.org" resolved. Host : a515.g.akamai.net
IP list:
81.196.26.177
81.196.26.154

The format's a little odd, it's a custom W7

mikkov 2010-01-20 22:44

Re: Application manager broken
 
Quote:

Originally Posted by fatalsaint (Post 485442)
In theory, yes. But I've also wondered this myself on how Maemo is going to handle dependencies. For example, say someone ports a CLI app that does something useful (pianobar, for example, for pandora radio) and then someone else creates a GUI front-end for it.. if the GUI frontend gets votes *before* pianobar itself gets votes.. would the GUI wind up in extras before pianobar can? How is this prevented?

GUI wouldn't be allowed to enter Extras before pianobar is there as long as GUI is packaged properly (has pianobar as a dependency)

fatalsaint 2010-01-20 22:45

Re: Application manager broken
 
Quote:

Originally Posted by mikkov (Post 485448)
GUI wouldn't be allowed to enter Extras before pianobar is there as long as GUI is packaged properly (has pianobar as a dependency)

Very good information to have.. thank you.

kurtisboyd 2010-01-20 22:49

Re: Application manager broken
 
Quote:

Originally Posted by fatalsaint (Post 485438)
This gives me more to work with. When on WiFI it looks like a DNS problem.. try using the google DNS servers described in a thread where someone in ireland was getting similar responses.

Again in this thread with almost identical readouts to yours with wifi. But, this may lead to being a problem in how the new firmware uses DNS entries.

Try adding 8.8.8.8 and 8.8.4.4 to your /etc/resolv.conf and see if that fixes your wifi problems.

For the 3G - what exactly is the error?

I'll have a go at changing the DNS settings after the terminal thing is done. Since my last post it is only 33% now so it'll probably take an hour or so.

And the 3G error (I'll confirm this when this thing is done as well) is something along the lines of:

I'll try and refresh the sources over 3G and it'll say "sources were only partially refeshed, click details for a detailed report" or something, and in the details part for the packages that didn't refresh it says "Proxy CONNECT aborted" (I'm pretty sure - again, I'll double check soon).

fatalsaint 2010-01-20 22:50

Re: Application manager broken
 
Quote:

Originally Posted by ndi (Post 485445)
++ [ 0:43:37.79] [Ndi] D:\Admin\Projects\LANMap>dns repository.maemo.org
[DNS] lookup on "repository.maemo.org" resolved. Host : a515.g.akamai.net
IP list:
81.196.26.177
81.196.26.154

The format's a little odd, it's a custom W7

And that's all fine.. but the people experiencing this application manager problem appear to have DNS servers that are returning bad ip addresses for the maemo.org repositories. Most notably: 1.0.0.0.

As the other guy said in a link I posted - pre-1.1 he was able to manually edit his advanced settings and set his DNS servers to google's.. and they worked. But *after* the 1.1 update, it appears the advanced settings are not taking effect; or are at least being ignored.. and instead the other /var/run/resolv.conf.wlan0 is being used with the DHCP DNS servers, not the manually added ones.

This would "appear" to be a bug introduced in 1.1 that the Advanced Settings->DNS is not working (would need testing). This does not solve the problem of people unable to get to repositories because of bad DNS servers - but unfortunately theres not much we can do about it. We have to somehow force the Google DNS servers to be used instead, in these cases. Not difficult: If the Advanced Settings worked.. since they aren't appearing to - you have to do it by hand.

kurtisboyd 2010-01-20 23:08

Re: Application manager broken
 
Quote:

Originally Posted by fatalsaint (Post 485460)
And that's all fine.. but the people experiencing this application manager problem appear to have DNS servers that are returning bad ip addresses for the maemo.org repositories. Most notably: 1.0.0.0.

As the other guy said in a link I posted - pre-1.1 he was able to manually edit his advanced settings and set his DNS servers to google's.. and they worked. But *after* the 1.1 update, it appears the advanced settings are not taking effect; or are at least being ignored.. and instead the other /var/run/resolv.conf.wlan0 is being used with the DHCP DNS servers, not the manually added ones.

This would "appear" to be a bug introduced in 1.1 that the Advanced Settings->DNS is not working (would need testing). This does not solve the problem of people unable to get to repositories because of bad DNS servers - but unfortunately theres not much we can do about it. We have to somehow force the Google DNS servers to be used instead, in these cases. Not difficult: If the Advanced Settings worked.. since they aren't appearing to - you have to do it by hand.

So, by changing my DNS settings, technically everything should work fine over WiFi, and I just won't be able to download things over 3G from the repos that don't work because of the "Proxy CONNECT aborted" error?

I can live with that I guess.

EDIT: Terminal thing is done:

Reading package lists... Done
W: Failed to fetch http://repository.maemo.org/extras/d...le/Release.gpg Could not connect to repository.maemo.org:80 (1.0.0.0), connection timed out

(Then there are a lot more "failed to fetch" errors, all because they timed out)

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems

:(

Rob1n 2010-01-20 23:14

Re: Application manager broken
 
Quote:

Originally Posted by kurtisboyd (Post 485492)
So, by changing my DNS settings, technically everything should work fine over WiFi, and I just won't be able to download things over 3G from the repos that don't work because of the "Proxy CONNECT aborted" error?

I can live with that I guess.

Do any https sites work in the browser? The app manager is only doing standard http/https downloads.

egoshin 2010-01-20 23:16

Re: Application manager broken
 
Quote:

Originally Posted by ndi (Post 485437)
Do you guys speak of the AM log? The AM > top menu > show log? Because mine is empty. I had stuff in there before 1.1, all "ignoring version on <insert lib here>". Empty now, it just says "App Manager etc etc -51"

You are lucky! You are not censored!


All times are GMT. The time now is 23:10.

vBulletin® Version 3.8.8