maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Developer Mode Alternative? (https://talk.maemo.org/showthread.php?t=95335)

peterleinchen 2015-06-21 15:21

Re: Developer Mode Alternative?
 
Something that ancelads repo package should already do!
At least as I understood his comments?

craciunovi 2015-06-22 06:43

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by craciunovi (Post 1473850)
No. I did not try reflashing the phone.
Thanks for the tip and for the sequence described.
I will reflash the phone and than try the sequence described by you.
And, of course i post here the results.

Hello everybody.

Thank you for the tips and help.
Reflashing the phone, did the job.

ginggs 2015-07-15 09:46

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by peterleinchen (Post 1468675)
Comment out all entries inside
aegis-ssu-keyring-001.list
and do a 'apt-get update'.

Seems like those older repos have higher priority...

Should we also comment out the entry in:
/etc/apt/sources.list.d/osa.list
?

peterleinchen 2015-07-15 21:43

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by ginggs (Post 1476684)
Should we also comment out the entry in:
/etc/apt/sources.list.d/osa.list
?

No, did someone say so? ;)
Frankly, I do not know exactly what this is for. But I stilll have it unchanged and everything is fine.

coderus 2015-07-15 22:35

Re: Developer Mode Alternative?
 
osa is ovi store afaik, it's not functioning, so you can just remove it

ginggs 2015-07-15 22:52

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by peterleinchen (Post 1476804)
No, did someone say so? ;)
Frankly, I do not know exactly what this is for. But I stilll have it unchanged and everything is fine.

Contents of /etc/apt/sources.list.d/osa.list:
Code:

deb-exec /usr/bin/osa
I don't know what deb-exec does, but osa has something to do with getting updates from the Ovi store.

Back when the store was around, this process was often the cause of "Checking for Updates" never completing, see:
http://talk.maemo.org/showthread.php?t=86084

peterleinchen 2015-07-16 05:45

Re: Developer Mode Alternative?
 
I thought so but was not sure.

I never had problems with updating. And even with closed store it works fine. Getting updates from openrepos, too. Do you have warehouse installed?
(My device is in open mode.)

But as coderus said go ahead and comment it out.

ginggs 2015-07-16 07:46

Re: Developer Mode Alternative?
 
Quote:

Originally Posted by peterleinchen (Post 1476821)
I never had problems with updating. And even with closed store it works fine. Getting updates from openrepos, too. Do you have warehouse installed?
(My device is in open mode.)

I have warehouse installed, but my device is not in open mode.

Just some further information:

'deb-exec' is not a command, but instead a (Nokia-specific?) extension to the repository types in apt (Debian only has 'deb' and 'deb-src').
Instead of fetching the list of packages from the repository, 'deb-exec' runs the command '/usr/bin/osa' which then presumably returns the list of packages.
Running 'strings' on '/usr/bin/osa' shows this command can make http connections to s60-store.ovi.com, api.store.ovi.com and p.d.ovi.com.
It also references a file called '/var/lib/ovi-adapter/known-products' which seems to contain information on the packages one has previously downloaded from the store (so you only get shown updates to packages already have?).

fiat1100d 2015-08-30 07:13

Re: Developer Mode Alternative?
 
Hi,

I am quite new to Nokia N9 and had difficulties in installing developer-mode, even with the N9RepoMirror tool installed.
Since I did not want to reflash the phone, I did "clean" it (bought it used) but some configuration file from, probably, older Harmattan version was left.

I had to modify and repack the N9RepoMirror .deb so that the postinst script also removed old repos from
aegis-ssu-keyring-232.list
file, other than the "standard" aegis-ssu-keyring-001.list
(had managed to install the terminal and noticed there was one more file in /etc/apt/sources.list.d).

After this, installed the "fixed" N9RepoMirror and was able to install developer-mode, WareHouse etc.

Just wanted to share my experience :)
Thank you for explaining what files are involved in repo checks!

peterleinchen 2015-08-30 11:27

Re: Developer Mode Alternative?
 
Now, after downloading ancelads package and checking the postinst script, I understand why some may still have problems.

Code:

#!/bin/sh

echo Remove all default offline repositories
: > /etc/apt/sources.list.d/aegis.ssu-keyring-001.list
echo Done

exit 0

Not all have the general 001 firmware/repository, but localized 232/480/whatever repo list.

So those do not get cleaned but still are in place and take precedence.

I guess following command line would be better:
gzip /etc/apt/sources.list.d/aegis.ssu-keyring-*.list

which will not delete -but keep info compressed- old lists. And would be valid for all firmware versions.
Pre-conditions: gzip preinstalled (I think so) and apt not complaining about some binary files (I guess so).


All times are GMT. The time now is 05:42.

vBulletin® Version 3.8.8