maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   No SW-updates after installing N9repomirror 0.7.2 (https://talk.maemo.org/showthread.php?t=96455)

explit 2016-02-16 10:30

No SW-updates after installing N9repomirror 0.7.2
 
Good morning all!

Have a strange prob:
I have a Nokia N9 16GB PR_009 (Norway)
After fresh Image and MMC-Reflash, also with --erase-user-data.
The Phone bootups fine.
I enable Installation from unknown sources in the Settings.
Afterwards i download N9repomirror from OpenRepos and install it.
I checked also the contents of the /etc/apt/sources.list.d

There are 3 files:

aegis.ssu-keyring-009.list (0 bytes)
n9repomirror.lis with all correct Repos
osa.list (22 bytes)

But now, when i go to the Application and press Software Updates - i get no updates for Twitter, Maps etc. Also Installation of Developer-Mode is not possible, because i get the Messages, that the Package dependencies couldn't be installed.
The strange thing is that that worked the same way on this phone during this Weekend. (I need to reflash my N9 because of the Permanent reboots after a reboot during the Softwere-Install.

What can be the problem...

aspergerguy 2016-02-16 14:34

Re: No SW-updates after installing N9repomirror 0.7.2
 
Hi,
You don't mention whether using WiFi or 3G access point here, but information in this post by rainisto may possibly help:
http://talk.maemo.org/showpost.php?p...8&postcount=17

chilango 2016-02-16 14:34

Re: No SW-updates after installing N9repomirror 0.7.2
 
check in system programms if repomirror is correct installed. If not. go to openrepos.net and download earlyer version 0.6.1.
Remove version 0.7.2 and install manual 0.6.1

explit 2016-02-16 15:43

Re: No SW-updates after installing N9repomirror 0.7.2
 
Quote:

Originally Posted by chilango (Post 1498937)
check in system programms if repomirror is correct installed. If not. go to openrepos.net and download earlyer version 0.6.1.
Remove version 0.7.2 and install manual 0.6.1

I checked, repomirror is correct installed.
where can I get 0.6.1 N9repomirror?
on the openrepos i can download only 0.6.0 and 0.7.2

i used 0.7.2 becaus my N9 is PR009, and 0.6.x is only for the PR001, or am I wrong?

chilango 2016-02-16 18:11

Re: No SW-updates after installing N9repomirror 0.7.2
 
Sorry my fault. 0.6.0
The old version is the only that worked in y non PR001 N9

pasko 2016-02-16 19:38

Re: No SW-updates after installing N9repomirror 0.7.2
 
Hi.

Sometimes the apt-get process gets stuck, leaving behind the file "/var/lib/dpkg/lock" and not allowing the process to work properly in the next excution:
I would manually erase this file and try again to update the repositories:

Code:

:$ rm -rf /var/lib/dpkg/lock
Execute as root.
Regards.

x1f 2016-02-16 20:43

Re: No SW-updates after installing N9repomirror 0.7.2
 
I have flashed my phone and enabled developer mode about a week ago, everything worked well. But now I also can't enable, for example devtools. When I run apt-get update, th phone cant connect to coderus.openrepos.net - it try to connect via ipv6:
Code:

W: Can't get https://coderus.openrepos.net/n9mirror/apps/ ./ ru.gz Failed to connect to 2a01:4f8:171:2c09::2: Network is unreachable
Why is it trying to connect with ipv6? Problem is the same with any internet connection - wifi or 3g. I can easy access to coderus repo with browser, but not with apt-get

Also, I don't think, that 0.6.0 version of n9repomirror will help - the differ between 0.6.0 and 0.7.2 is only in postinst script, 0.6.0 version clears only aegis.ssu-keyring-001.list file in sources.list.d, and 0.7.2 version clears any aegis.ssu-keyring-XXX.list file, XXX depends on your firmware version.

explit 2016-02-17 08:05

Re: No SW-updates after installing N9repomirror 0.7.2
 
Thanks for the clearance i see it now too. What can we make, that the Connection would go thru ipv4?

nieldk 2016-02-17 09:47

Re: No SW-updates after installing N9repomirror 0.7.2
 
Hmm i have two identical devices, same fw. One is working . Number two, New flash. Not working.....

pasko 2016-02-17 10:45

Re: No SW-updates after installing N9repomirror 0.7.2
 
Hi.

I've read something about Home WiFi routers broadcasting IPv6 routes by default although this does not explain one behaving properly and not the 2nd one.
BTW, I've seen this IPv6 messages as well in one of my devices.
Regards.

nieldk 2016-02-17 11:04

Re: No SW-updates after installing N9repomirror 0.7.2
 
Quote:

Originally Posted by pasko (Post 1499027)
Hi.

I've read something about Home WiFi routers broadcasting IPv6 routes by default although this does not explain one behaving properly and not the 2nd one.
BTW, I've seen this IPv6 messages as well in one of my devices.
Regards.

Not sure if its IPv6 at all. I have tried two different ISPs, three different routers and also mobile data connection.

However, since this seems to have started short time ago, I would say something else is the matter here.

Did

1) openrepos.net change something
2) coderus.openrepos.net changed something

For both, could be ISPs responsible for thise domains (DNS records) or, a local router, handling incoming requests for a local server ?

nieldk 2016-02-17 11:20

Re: No SW-updates after installing N9repomirror 0.7.2
 
OK, #1 device also not working now (it was previously)
Now, gives error

" Cant complete the download.
Connection to the application provider
was lost. Try again later."

apt-get update on #1 device gives

"W: Failed to fetch https://coderus.openrepos.net/n9mirr..././Release.gpg
Failed to connect to 2a01:4f8:171:2c09::2: Network is unreachable"

nieldk 2016-02-17 11:59

Re: No SW-updates after installing N9repomirror 0.7.2
 
So, this is solvable by adding a line in /etc/hosts

Code:

138.201.21.10 coderus.openrepos.net
Problem, this cant be done as normal user.
Perhaps n9repomirror can be updated to add this line ?

x1f 2016-02-17 13:33

Re: No SW-updates after installing N9repomirror 0.7.2
 
1 Attachment(s)
Quote:

Originally Posted by nieldk (Post 1499040)
Perhaps n9repomirror can be updated to add this line ?

Here it is.
I edited postinst script - it adds this line to /etc/hosts. Worked on my phone.
Thanks for idea, nieldk :)
But this is temporary decision. If coderus will change hosting, for example, it will break.

nieldk 2016-02-17 13:49

Re: No SW-updates after installing N9repomirror 0.7.2
 
Quote:

Originally Posted by x1f (Post 1499049)
Here it is.
I edited postinst script - it adds this line to /etc/hosts. Worked on my phone.
Thanks for idea, nieldk :)
But this is temporary decision. If coderus will change hosting, for example, it will break.

Somehow it wouldnt suproce me if he did LOL
Thanks for this, it works good.

PS! I have uploaded it to openrepos.net (couldnt download your link from n9)
I will delete again if you want full credit for this :)

x1f 2016-02-17 14:00

Re: No SW-updates after installing N9repomirror 0.7.2
 
Quote:

Originally Posted by nieldk (Post 1499055)
PS! I have uploaded it to openrepos.net (couldnt download your link from n9)
I will delete again if you want full credit for this :)

That's good :)
I'm new in this forum, and firstly didn't find, how can I attach a file :D
Now I did it.

Custodian 2016-02-17 14:02

Re: No SW-updates after installing N9repomirror 0.7.2
 
Such solution is a bad solution. You should not repackage repomirror, but should create a new package with adding/removing ipv4 address to hosts file.

nieldk 2016-02-17 14:07

Re: No SW-updates after installing N9repomirror 0.7.2
 
Quote:

Originally Posted by Custodian (Post 1499059)
Such solution is a bad solution. You should not repackage repomirror, but should create a new package with adding/removing ipv4 address to hosts file.

Good suggestion!
I will remove it from openrepos.net

EDIT: it is removed, thanks for pointing out the 'dangers'

Pras4 2016-02-17 16:45

Re: No SW-updates after installing N9repomirror 0.7.2
 
Guys, I love you all :D

Now I can use my n9, after three months. LOL.

nieldk 2016-02-17 20:47

Re: No SW-updates after installing N9repomirror 0.7.2
 
N9repomirror should work again as ipv6 records have now been disabled for coderus.openrepos.net
Thanks to @custodian for letting us know ;)

nieldk 2016-02-17 21:57

Re: No SW-updates after installing N9repomirror 0.7.2
 
Well according to Basil (custodian) iam a troll, and noone except me is having this issue.
i salute you.

eekkelund 2016-02-17 22:49

Re: No SW-updates after installing N9repomirror 0.7.2
 
Quote:

Originally Posted by nieldk (Post 1499105)
Well according to Basil (custodian) iam a troll, and noone except me is having this issue.
i salute you.

I don't want to be offensive or anything, but I had the same issue day before yesterday..

nieldk 2016-02-18 08:03

Re: No SW-updates after installing N9repomirror 0.7.2
 
Given that an overall of ~50% support ipv6 i think it's safe to assume this change to openrepos.net is severe .


All times are GMT. The time now is 17:58.

vBulletin® Version 3.8.8