From: Steven McDonald
Date: Fri, 25 Nov 2011 11:11:59 +0000 (+1100)
Subject: and moar
X-Git-Url: http://git.steven-mcdonald.id.au/?a=commitdiff_plain;ds=sidebyside;h=ac280ce1b7bc5bab433dd1b6fa6073cf63adfe9d;hp=e722002673f3438ca78dd41bfb8c3e12ff9a178b;p=www.git
and moar
---
diff --git a/tutorials/debian_on_samsung_galaxy.shtml b/tutorials/debian_on_samsung_galaxy.shtml
index 8cf176c..1354189 100644
--- a/tutorials/debian_on_samsung_galaxy.shtml
+++ b/tutorials/debian_on_samsung_galaxy.shtml
@@ -40,7 +40,23 @@ Assumptions made:
You have an Android smartphone with access to a root shell via SSH. I run
CyanogenMod 7.1 on my Galaxy S
-II, but any Android system with root SSH access will do.
+II, but any Android system with root SSH access will do, provided it has
+the following utilities:
+
+ - cat
+ - chroot
+ - dd
+ - ln
+ - mkdir
+ - mke2fs
+ - mount
+ - tar
+ - wget (used by cdebootstrap)
+
+If you don't have these utilities available to you, you will either need
+to find a way of installing them, or else find alternative ways of
+performing some of the steps in this how-to. Doing either is outside the
+scope of this how-to.
You have a reasonably fast and high-capacity Internet connection
@@ -77,10 +93,11 @@ So, to install cdebootstrap:
-
Download the cdebootstrap-static
-package for your architecture. Both armel and armhf packages should work
-on recent Android phones; if you have an older phone, you may need to
-stick with armel. I'll be using armhf in this tutorial, but you are free
-to choose whichever architecture suits you best.
+package for your architecture. Both armel and armhf
+packages should work on recent Android phones; if you have an older
+phone, you may need to stick with armel. I'll be using
+armhf in this tutorial, but you are free to choose whichever
+architecture suits you best.
-
Now, copy the files needed for cdebootstrap to work across to
@@ -164,11 +181,11 @@ Now comes the fun bit, where we actually set up a Debian system. Still on
your phone, run cdebootstrap to set up a file system tree in
/debian. You may want to tweak the options below; I'm using
ftp.debian-ports.org as my mirror because (at the time of
-writing) the armhf architecture is not yet fully integrated into the
-official archive. If you're using armel, or if you happen to live in the
-future, you can use your normal Debian mirror for this. Obviously, feel
-free to replace unstable with whichever suite you want to
-install.
+writing) the armhf architecture is not yet fully integrated into
+the official archive. If you're using armel, or if you happen to
+live in the future, you can use your normal Debian mirror for this.
+Obviously, feel free to replace unstable with whichever suite
+you want to install.
@@ -225,6 +242,25 @@ other remaining circular dependencies that could be fixed in a similar
way.
+
+Once you have resolved a few circular dependencies and want to try again,
+it is a good idea to run:
+
+
+
+# dpkg --configure -a
+
+
+
+before telling dpkg to try installing packages again, as the
+shell glob *.deb will simply present the packages in
+alphabetical order, which is usually not a sensible order in terms of
+satisyfing dependencies. dpkg --configure -a will make sure that
+packages which are already installed (and thus don't depend on any which
+aren't installed yet) get configured before those which aren't already
+installed (and might depend on installed packages being configured).
+
+
Installing a standard Debian package set