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 1: Line 1:
-
== Why? ==
+
= Why? =
Since distributions seem to use different formats for the
Since distributions seem to use different formats for the
-
"/etc/apt/sources.list" file, we decided to create this page for the benefit
+
"/etc/apt/source.list" file, we decided to create this page for the benefit
-
of developers who don't want to reinstall Scratchbox every few weeks... ;)
+
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 14: Line 14:
  $ apt-get dist-upgrade
  $ apt-get dist-upgrade
-
== Fremantle ==
+
= Chinook =
-
 
+
-
{{main|Documentation/Maemo_5_Final_SDK_Installation}}
+
-
 
+
-
deb http://repository.maemo.org/extras''-devel'' fremantle free non-free
+
-
deb-src http://repository.maemo.org/extras''-devel'' fremantle free
+
-
 
+
-
== 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.
+
-
See [[Packaging#Porting_an_existing_Debian_package|Porting Debian packages]] for more details.
+
-
 
+
-
== Chinook ==
+
  deb http://repository.maemo.org/ chinook free non-free
  deb http://repository.maemo.org/ chinook free non-free
  deb-src http://repository.maemo.org/ chinook free
  deb-src http://repository.maemo.org/ chinook free
-
=== Warning ===
+
== Warning ==
Note that for at least one user, the current chinook repository doesn't work
Note that for at least one user, the current chinook repository doesn't work
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 above), and then:
+
Or if that doesn't work either, you can, AS A LAST RESORT, try editing "/etc/apt/sources.list" for "Diablo", and then:
  $ apt-get install passwd
  $ apt-get install passwd
-
This will update "passwd" to Diablo's "passwd". If you expect anything to work after that, did I tell you already that this advice comes with no warranty? ;)
+
This will update "passwd" to Diablo's "passwd". If you expect anything to work after that, HAHAHA. Did I tell you this advice comes with no warranty?
 +
No really, if you are lucky (about as lucky as not getting run over when crossing the street on foot while traffic is high), it could work.
-
No really, in the worst case your Scratchbox will be broken after that and you'll have to reinstall Scratchbox.
+
Don't forget to dist-update as soon as possible afterwards so that the remainder of the system is updated too (and hopefully doesn't choke on the already-updated "passwd"):
-
 
+
-
If it actually did work, don't forget to dist-update as soon as possible afterwards so that the remainder of the system is updated too (and hopefully doesn't choke on the already-updated "passwd"):
+
  $ apt-get dist-upgrade
  $ apt-get dist-upgrade
-
In any case, should the following happen after you updated the distribution one way or another:
+
In any case, should this happen after you updated the distribution one way or another:
  Preparing to replace passwd 1:4.0.3-31sarge5.osso7 (using .../passwd_1%3a4.0.3-31sarge5.osso8_i386.deb) ...
  Preparing to replace passwd 1:4.0.3-31sarge5.osso7 (using .../passwd_1%3a4.0.3-31sarge5.osso8_i386.deb) ...
Line 82: Line 60:
  $ fakeroot dpkg -i /var/cache/apt/archives/passwd_1%3a4.0.3-31sarge5.osso8_i386.deb  
  $ fakeroot dpkg -i /var/cache/apt/archives/passwd_1%3a4.0.3-31sarge5.osso8_i386.deb  
-
So it finally shuts up and you have involuntarily updated to Diablo. ;-)
+
So it finally shuts up.
-
[[Category:Scratchbox]]
+
= 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

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: