Editing Scratchbox repositories
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
Since distributions seem to use different formats for the | Since distributions seem to use different formats for the | ||
- | "/etc/apt/ | + | "/etc/apt/source.list" file, we decided to create this page for the benefit |
- | of | + | of people that don't want to reinstall scratchbox every few weeks... ;) |
== How? == | == How? == | ||
- | In '''Scratchbox''', do: | + | In the '''Scratchbox''', do: |
$ vi "/etc/apt/sources.list" | $ vi "/etc/apt/sources.list" | ||
Line 13: | Line 13: | ||
$ apt-get update | $ apt-get update | ||
$ apt-get dist-upgrade | $ apt-get dist-upgrade | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
== Chinook == | == Chinook == | ||
Line 60: | Line 39: | ||
$ dpkg -i --force-all /var/cache/apt/archives/debianutils<tab | $ dpkg -i --force-all /var/cache/apt/archives/debianutils<tab | ||
- | Or if that doesn't work either, you can, AS A LAST RESORT, try editing "/etc/apt/sources.list" for "Diablo" (see | + | Or if that doesn't work either, you can, AS A LAST RESORT, try editing "/etc/apt/sources.list" for "Diablo" (see below), and then: |
$ apt-get install passwd | $ apt-get install passwd | ||
Line 84: | Line 63: | ||
So it finally shuts up and you have involuntarily updated to Diablo. ;-) | So it finally shuts up and you have involuntarily updated to Diablo. ;-) | ||
- | + | == Diablo == | |
+ | |||
+ | deb http://repository.maemo.org/ diablo/sdk free non-free | ||
+ | deb-src http://repository.maemo.org/ diablo/sdk free | ||
+ | deb http://repository.maemo.org/ diablo/tools free non-free | ||
+ | deb-src http://repository.maemo.org/ diablo/tools free | ||
+ | |||
+ | === Porting Debian Packages === | ||
+ | If you are interested in porting applications from Debian then you may want to add: | ||
+ | deb-src http://www.mirrorservice.org/sites/ftp.debian.org/debian/ etch main contrib | ||
+ | to /etc/apt/sources.list.d/debian-source.list | ||
+ | This allows '''apt-get source <package>''' to pull in source that should be reasonably compatible with Diablo. |
Learn more about Contributing to the wiki.