Bug#766524: dpkg: Please provide a way to install/unpack/configure without using argv[]

2014-10-23 Thread Michael Vogt
Package: dpkg
Severity: wishlist

Dear Dpkg Maintainer,

apt is currently unpacking/configuring packages by running
dpkg --unpack pkg1.deb pkg2.deb ... pkgN.deb
dpkg --configure pkg1 pkg2 ... pkgN

this can be problematic for big installations when the commandline
gets very long and exceeds _SC_ARG_MAX.

One possible solution might be to have something like --archivefiles-fd
or --arg-file argument where frontends to apt can feed data into.

If thats a direction that sounds sensible I can start working on a
patch for this.

Cheers,
 Michael


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



Bug#766524: dpkg: Please provide a way to install/unpack/configure without using argv[]

2014-10-23 Thread Guillem Jover
Hi!

On Thu, 2014-10-23 at 15:12:52 -0400, Michael Vogt wrote:
 Package: dpkg
 Severity: wishlist

 apt is currently unpacking/configuring packages by running
 dpkg --unpack pkg1.deb pkg2.deb ... pkgN.deb
 dpkg --configure pkg1 pkg2 ... pkgN
 
 this can be problematic for big installations when the commandline
 gets very long and exceeds _SC_ARG_MAX.
 
 One possible solution might be to have something like --archivefiles-fd
 or --arg-file argument where frontends to apt can feed data into.
 
 If thats a direction that sounds sensible I can start working on a
 patch for this.

There's already the --command-fd command, but it's disabled for now
because it still suffers from some issues. This is in dpkg's TODO
list, and I could just enable it back the first thing in 1.18.0,
targetting experimental, so that it can be tested. I think I remember
at least some of the problems with it, related to at least massive
memory usage due to the non-freeing memory allocator, and might even
have some fixes on some branch. But there might be other issues.

Thanks,
Guillem


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