Bug#378028: [Buildd-tools-devel] Bug#378028: "E: Only one command may be specified"

David Liontooth liontooth at cogweb.net
Wed Jul 12 20:18:46 UTC 2006


Roger Leigh wrote:
> 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.
>   
You're right -- it's not working in 0.99.2-1.
>   
>>  #!/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)
>   
I don't see this file in the schroot package; could you please check?
> and also in the dchroot(1) manual page.
>   
Right, I see that.

My system is currently working fine with dchroot 0.13, and it appears I
need to understand in some detail how schroot and dchroot works in order
to make things work with the new packages. I'll stick with 0.13 until
new and working shell scripts for schroot are available.

Thanks for your work on these packages!

Dave






More information about the Buildd-tools-devel mailing list