Hi,

On 2011-08-11 20:07, Jonathan Nieder wrote:
> Using "strace -f -e execve" we can find the failing syscall:
> 
>       [pid  7256] execve("/bin/sh", ["sh", "-c", "echo 'VERSION 
> 2\nacquire::cdrom::"...], [/* 17 vars */]) = -1 E2BIG (Argument list too long)
> 
> Presumably this was already known. :)

Uhh. Perhaps yes in the time of writing, but without TODO it easily got
forgotten.

> A natural fix would be to tweak
> PackagesWorker::__do_dpkg_pre_packages_actions to set up a pipe and
> write to it instead of composing a huge echo statement.

Agreed.

Thanks for the report!

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Developer



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to