[pkg-fso-maint] [BUG?] Busybox ar exits with code 1 if FILES already exist

Luca Capello luca at pca.it
Wed Mar 18 22:39:30 UTC 2009


Hi there!

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090318/dee9fae3/attachment.pgp 


More information about the pkg-fso-maint mailing list