Bug#378028: [Buildd-tools-devel] Bug#378028: "E: Only one command may
be specified"
Roger Leigh
rleigh at whinlatter.ukfsn.org
Wed Jul 12 19:16:58 UTC 2006
merge 378025 378028
thanks
David Liontooth <liontooth at cogweb.net> writes:
> The upgrade from 0.99.2-1 to 0.99.2-2 broke this script:
Are you sure it wasn't the 0.99.0-1 -> ... upgrade? The only change
in 0.99.2-2 was a testsuite personality fix to stop a build failure on
the hppa architecture.
> #!/bin/bash
> ARGS=""
> for i in "$@" ; do
> ARGS="$ARGS '$i'"
> done
> exec dchroot -c ia32 -d -q "`basename $0`" "$ARGS"
>
> I symlink the application to this script and it runs in chroot. Now
> I get this error:
>
> $ oowriter
> E: Only one command may be specified
> I: Run "dchroot --help" to list usage example and all available options
0.99.0 used a command-line options syntax incompatible with previous
releases. The old behaviour was restored in 0.99.1, and this has been
the same since then.
This is documented in the NEWS file (/usr/share/doc/schroot/NEWS.gz)
and also in the dchroot(1) manual page.
dchroot only accepts a single option. This is a command to run with
"sh -c", so may be a shell script.
See http://lists.debian.org/debian-user/2006/07/msg00236.html .
If you want to have each option as a separate argument, please use
schroot instead. The dchroot(1) manual page gives instructions for
upgrading (and you can continue to use dchroot after the upgrade).
> Downgrading to dchroot 0.99.2-1 restores previous functionality.
Are you *really sure* about that version?
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please sign and encrypt your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060712/35cf3d64/attachment.pgp
More information about the Buildd-tools-devel
mailing list