[pkg-fso-maint] [BUG?] Busybox ar exits with code 1 if FILES already exist
Steffen Moeller
steffen_moeller at gmx.de
Thu Mar 19 18:57:01 UTC 2009
Hello,
attached the two patches that I consider to address the issues - the push of mine before
pushed the wrong bits ... one should not Push when what one should do is Rush.
Luca? The data.tar.gz must be some remnant of an earlier aborted installation of some
sort. If you don't have other ideas, e.g. an exit 1 added to the ( )s upon failure, then I
would perform analogously for the other invocations of (cd /tmp ; ar) .
Many greetings
Steffen
Steffen Moeller wrote:
> I need to rush (1min) for my train. Please be so kind to check if the very latest
> install.sh does fix the issues. I could not test it.
>
> Luca Capello wrote:
>> Cc:ing the pkg-fso-maint@ mailing list for information, please continue
>> the discussion on the smartphones-userland@ one, I set R-T and M-F-T
>> accordingly, TIA.
>>
>> Another error I experienced while re-installing Debian on my FR [1] is
>> linked to busybox ar:
>> =====
>> om-gta02:~# time ./install.sh all
>> [...]
>>
>> W: tar does not support gzip archives
>> Downloading tar package
>> tar.deb 100% [...] 772k 00:00:00 ETA
>> ar: can't open 'data.tar.gz': File exists
>> * network running
>> I: System setup looks good
>> Fetching time from ntp.fu-berlin.de with rdate
>> I: Time is now Wed Mar 18 21:24:27 CET 2009
>> [...]
>> =====
>>
>> It seems that busybox and GNU ar work differently if the files to be
>> extracted already exist: busybox ar will exit with code 1, while GNU ar
>> just rewrite them.
>>
>> Is this a busybox bug? Unfortunately, Debian busybox does not provide
>> ar, so I cannot test with previous busybox versions.
>>
>> For the pkg-fso-maint@ people: since ar exits with code 1, the
>> install.sh script should exit as well, independently of the problem I
>> just described above.
>>
>> Thx, bye,
>> Gismo / Luca
>>
>> Footnotes:
>> [1] http://lists.linuxtogo.org/pipermail/smartphones-userland/2009-March/001333.html
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Smartphones-userland mailing list
>> Smartphones-userland at linuxtogo.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
>
>
> _______________________________________________
> pkg-fso-maint mailing list
> pkg-fso-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Hardening-installation-of-GNU-tar.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090319/70bf47aa/attachment.patch
More information about the pkg-fso-maint
mailing list