maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   How to change repository files to correct new ones? (https://talk.maemo.org/showthread.php?t=90347)

adam917 2013-06-04 06:25

How to change repository files to correct new ones?
 
Basically apt-get is complaining about timeouts when I try to update packages & I noticed it was coming from a few repos in particular (I think the ones that have been shut down - repo.pub.meego.com or rzr??). I have installed Inception & have found that some of my packages, namely the systemui one, are outdated when it tries to download the update.

I don't know how to use Nano to edit the list file to delete the old repos (though what should they be replaced with?).

Thanks

ladoga 2013-06-04 08:38

Re: How to change repository files to correct new ones?
 
Navigate into /etc/apt/sources.list.d directory and delete list files of repositories that no longer work.

After doing that, run apt-get update.

saleki 2013-06-04 09:17

and which repositories to replace them with?

willi6868 2013-06-18 21:56

Re: How to change repository files to correct new ones?
 
Can someone please provide a guide how to remove repo.pub.meego??

Vi is not opening the 'sources.list.d' :confused:

gaiosgf 2013-06-18 22:12

Re: How to change repository files to correct new ones?
 
what is the osa.list?how to remove?

minimos 2013-06-19 05:34

Re: How to change repository files to correct new ones?
 
Quote:

Originally Posted by willi6868 (Post 1353045)
Can someone please provide a guide how to remove repo.pub.meego??

Vi is not opening the 'sources.list.d' :confused:

sources.list.d is a directory, so I doubt you'll be able to open it with any editor. ;)
Do you want just to remove the repo.pub.meego repositories or change them to skeiron.org where they have been rehosted?

If you want to just go to the default configuration, open a terminal on the device, run devel-su to become root and type "ls /etc/apt/sources.list.d". You will see a few filenames.
Keep a file whose name begin for "aegis-ssu-keyring" (endpart depends on your N9 variant, and the file "osa.list" (this is Ovi/Nokia Store).
Rests are additional repositories, and to go back to original device configuration you can delete them.

If instead you want to convert the old repo.pub.meego.com repositories to their rehosted copies on skeiron, you can run this command:
Code:

sed -i s%http\:\/\/repo\.pub\.meego\.com%http\:\/\/skeiron\.org\/repo\/repo\.pub\.meego\.com% /etc/apt/sources.list.d/*

minimos 2013-06-19 05:35

Re: How to change repository files to correct new ones?
 
Quote:

Originally Posted by gaiosgf (Post 1353050)
what is the osa.list?how to remove?

osa.list is used to access Ovi Store. Are you sure you want to remove it and lose access to it?

www.rzr.online.fr 2013-06-19 06:15

Re: How to change repository files to correct new ones?
 
for shared repo

http://rzr.online.fr/q/harmattan# Shared Repo over 1K projects .. *update url*

gaiosgf 2013-06-19 16:04

Re: How to change repository files to correct new ones?
 
I do not want to delete it.I wanted to know what they are used.thanks.

Eztran 2013-06-19 18:03

Re: How to change repository files to correct new ones?
 
Quote:

Originally Posted by minimos (Post 1353106)
Code:

sed -i s%http\:\/\/repo\.pub\.meego\.com%http\:\/\/skeiron\.org\/repo\/repo\.pub\.meego\.com% /etc/apt/sources.list.s/*

Surely you'd want sources.list.d there?

minimos 2013-06-19 21:21

Re: How to change repository files to correct new ones?
 
Quote:

Originally Posted by Eztran (Post 1353270)
Surely you'd want sources.list.d there?

You're absolutely right!

willi6868 2013-06-20 11:02

Re: How to change repository files to correct new ones?
 
Quote:

Originally Posted by Eztran (Post 1353270)
Code:

sed -i s%http\:\/\/repo\.pub\.meego\.com%http\:\/\/skeiron\.org\/repo\/repo\.pub\.meego\.com% /etc/apt/sources.list.s/*

I deavtivated repo.pub.meego (and harmattan-dev) with MeeCatalog but coderus' repo (Wazapp) is still active.

My repos:
Code:

~ $ ls -al /etc/apt/sources.list.d/
total 32
drwxr-xr-x    2 root    root          4096 Apr 11 15:32 .
drwxr-xr-x    6 root    root          4096 Jun 18 23:56 ..
-rw-r--r--    1 user    users          81 Mar 22 19:42 aegis.incepted-repo-enabler.list
-rw-r--r--    1 user    users          222 Mar 22 19:42 aegis.ssu-keyring-001.list
-rw-r--r--    1 root    root            58 May  4 12:47 coderus.list
-rw-r--r--    1 user    users          311 Jun 18 23:36 meecatalog.list
-rw-r--r--    1 user    users          22 Mar 22 19:42 osa.list
-rw-r--r--    1 user    users          64 Mar 22 19:42 sdk.list
~ $

I would like to move to the new repo.pub on skeiren but would also like to delete coderus' repo.

Which code should I run? Is there also a workaround with MeeCatalog for easy deactivating and reactivating of repos? :rolleyes:

djcrash1981 2013-06-20 16:57

Re: How to change repository files to correct new ones?
 
Hi all,

I'm trying to add the http://skeiron.org/repo/repo.pub.meego.com to my source list but every time the result is the same, when I run apt-get update when it comes to the skeiron repo can't find the Packages.gz file.

I've tried with this two lines:
deb http://skeiron.org/repo/repo.pub.meego.com ./
and
deb http://skeiron.org/repo/repo.pub.mee...ttan_standard/ ./

And both fail, what I'm missing?

Regards,
Djcrash1981

minimos 2013-06-20 20:58

Re: How to change repository files to correct new ones?
 
Quote:

Originally Posted by djcrash1981 (Post 1353515)

Well, the second line should work, but if you check it has a Packages file which is 0 bytes long, i.e. there is nothing there.
The first one is not pointing to a specific repository.
For instance coderus repository is
http://skeiron.org/repo/repo.pub.mee...rus/harmattan/
so as you can see there is a part http://skeiron.org/repo/repo.pub.meego.com/ that is common to all repositories hosted on skeiron.org and then the part home:/coderus/harmattan/ that is specific of the developer and the particular project inside that.

willi6868 2013-06-20 21:57

Re: How to change repository files to correct new ones?
 
Took some time to understand but I looked closely and a simple 'rm coderus.list' did it!
Why didn't someone write this? :D

mcbook 2013-06-21 11:58

Re: How to change repository files to correct new ones?
 
i was going to but then i didn't :D

oguzhanssan 2017-03-01 21:12

Re: How to change repository files to correct new ones?
 
any new resource ?


All times are GMT. The time now is 18:27.

vBulletin® Version 3.8.8