maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Adding repos with command line? (https://talk.maemo.org/showthread.php?t=76269)

Vento 2011-09-02 19:06

Adding repos with command line?
 
As the title how can I add Extra-Devel and Extras-Testing repository or a general repoistory with xterm?

marxian 2011-09-02 19:41

Re: Adding repos with command line?
 
You can open the list of repositories in vi by entering:

Code:

sudo gainroot
vi /etc/apt/sources.list.d/hildon-application-manager.list

Then add your chosen repositories. My list looks like this:

Code:

deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/203 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.3 free non-free
deb http://repository.maemo.org/extras-testing fremantle free non-free
deb http://repository.maemo.org/extras-devel/ fremantle free non-free

You can also use leafpad if you are not familiar with vi.

qwazix 2011-09-02 19:47

Re: Adding repos with command line?
 
I nano /etc/apt/sources.list so that HAM doesn't mess up with my changes

and I comment out devel whenever I want. I suppose it will be pretty easy to make a script that prepends or removes a hash and then apt-get updates...

marmistrz 2011-09-02 20:13

Re: Adding repos with command line?
 
and is there add-apt-repository?


All times are GMT. The time now is 06:09.

vBulletin® Version 3.8.8