Scratchbox repositories

m (How?)
m (Warning)
Line 27: Line 27:
  Preparing to replace passwd 1:4.0.3-31sarge5.osso7 (using .../passwd_1%3a4.0.3-31sarge5.osso7_i386.deb) ...
  Preparing to replace passwd 1:4.0.3-31sarge5.osso7 (using .../passwd_1%3a4.0.3-31sarge5.osso7_i386.deb) ...
  Unpacking replacement passwd ...
  Unpacking replacement passwd ...
-
  dpkg: error processing
+
  dpkg: error processing /var/cache/apt/archives/passwd_1%3a4.0.3-31sarge5.osso7_i386.deb (--unpack):
-
/var/cache/apt/archives/passwd_1%3a4.0.3-31sarge5.osso7_i386.deb (--unpack):
+
   trying to overwrite `/usr/sbin/add-shell', which is also in package debianutils
   trying to overwrite `/usr/sbin/add-shell', which is also in package debianutils
  Errors were encountered while processing: /var/cache/apt/archives/passwd_1%3a4.0.3-31sarge5.osso7_i386.deb
  Errors were encountered while processing: /var/cache/apt/archives/passwd_1%3a4.0.3-31sarge5.osso7_i386.deb
  E: Sub-process /scratchbox/devkits/debian-sarge/bin/dpkg returned an error code (1)
  E: Sub-process /scratchbox/devkits/debian-sarge/bin/dpkg returned an error code (1)
 +
 +
When that happens, you can't dist-upgrade either :(
= Diablo =
= Diablo =

Revision as of 17:46, 10 August 2008

Contents

Why?

Since distributions seem to use different formats for the "/etc/apt/source.list" file, we decided to create this page for the benefit of people that don't want to reinstall scratchbox every few weeks... ;)

How?

In the Scratchbox, do:

$ vi "/etc/apt/sources.list"
<put new entries>
$ apt-get update
$ apt-get dist-upgrade

Chinook

deb http://repository.maemo.org/ chinook free non-free
deb-src http://repository.maemo.org/ chinook free

Warning

Note that for at least one user, the current chinook repository doesn't work anymore:

(Reading database ... 12047 files and directories currently installed.)
Preparing to replace passwd 1:4.0.3-31sarge5.osso7 (using .../passwd_1%3a4.0.3-31sarge5.osso7_i386.deb) ...
Unpacking replacement passwd ...
dpkg: error processing /var/cache/apt/archives/passwd_1%3a4.0.3-31sarge5.osso7_i386.deb (--unpack):
 trying to overwrite `/usr/sbin/add-shell', which is also in package debianutils
Errors were encountered while processing: /var/cache/apt/archives/passwd_1%3a4.0.3-31sarge5.osso7_i386.deb
E: Sub-process /scratchbox/devkits/debian-sarge/bin/dpkg returned an error code (1)

When that happens, you can't dist-upgrade either :(

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