[pkg-fso-maint] install.sh: OpenMoko's Wiki mentions a problem

Luca Capello luca at pca.it
Mon Feb 9 22:47:22 UTC 2009


Hi Steffen!

On Sat, 07 Feb 2009 00:02:36 +0100, Steffen Moeller wrote:
> On http://wiki.openmoko.org/wiki/Debian#Problem_with_usage_install.sh
> I found this text:
> If partition table creation passes with an error use the following patch:
>
> --- install.sh	2009-01-19 17:36:26.000000000 +0300
> +++ install_good.sh	2009-01-19 17:44:51.000000000 +0300
> @@ -405,9 +405,9 @@
>
>  echo " * Waiting for partitions to appear"
>  SLEEP_SECONDS=3
> -while ! ([ "$SINGLE_PART" = "true" ] && test -e ${SD_DEVICE}p1) ||\
> -	test -e ${SD_DEVICE}p1 -a -e ${SD_DEVICE}p2; do
> -	if [ "$SLEEP_SECONDS" = 15 ]; then
> +while ! (([ "$SINGLE_PART" = "true" ] && test -e ${SD_DEVICE}p1) ||\
> +	test -e ${SD_DEVICE}p1 -a -e ${SD_DEVICE}p2); do
> +	if [ "$SLEEP_SECONDS" = 30 ]; then
>  		echo "E: Partitioning has failed, partitions have not been created"
>  		exit 1

The original code above is outdated [1] and the diff introduces at the
same time two changes which have different meanings: the first one, like
you stated at the end of your mail, is clearly correct [2]; the second
one just adds more time to the check.  Is this really needed?

> I am logged in to those wiki pages at the very moment and would just
> remove that para once you tell me so.

Steffen, can you please remove the whole part?

I have now discovered, on the same page, the other two problems:


- apt-get segmentation fault

  Whenever you get a segmentation fault while using apt-get or aptitude,
  clean the database so it will rebuild it

    rm /var/cache/apt/*.bin

  This is not a *solution*, but a mere workaround and that advice is not
  a good thing.


- If Zhone doesn't start it is most likely due to a bug in the
  python-evas package[3] (fixed in new install). Install the alternate
  package:

    wget http://www.ginguppin.de/files/python-evas_0.2.1-2_armel.deb
    dpkg -i python-evas_0.2.1-2_armel.deb

  This problem has been reported as bug #508710 [3]: unfortunately,
  without following the instructions at [4], thus the pkg-fso-maint
  mailing list has not been cc:ed.

  Arne, since the problem should be solved in the (semi-)official
  pkg-fso repository (python-evas_0.3.1+svn20081220-0.2~fr.1), can you
  please remove your files and link to the pkg-fso repository instead?


Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://git.debian.org/?p=pkg-fso/files.git;a=commitdiff;h=d55f309cd6a94e77b00d86621091b2ef842e333e
[2] http://lists.alioth.debian.org/pipermail/pkg-fso-maint/2009-February/000525.html
[3] http://bugs.debian.org/508710
[4] http://wiki.debian.org/DebianOnFreeRunner#head-c33d5a71a5654ad5592accc5e699ec6f64933582
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090209/a3bfe3cf/attachment.pgp 


More information about the pkg-fso-maint mailing list