Report forwarded
to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>: Bug#766524; Package dpkg.
(Thu, 23 Oct 2014 19:15:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Vogt <mvo@debian.org>:
New Bug report received and forwarded. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>.
(Thu, 23 Oct 2014 19:15:06 GMT) (full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: Please provide a way to install/unpack/configure without using argv[]
Date: Thu, 23 Oct 2014 15:12:52 -0400
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
Information forwarded
to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>: Bug#766524; Package dpkg.
(Thu, 23 Oct 2014 20:24:15 GMT) (full text, mbox, link).
Acknowledgement sent
to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>.
(Thu, 23 Oct 2014 20:24:15 GMT) (full text, mbox, link).
To: Michael Vogt <mvo@debian.org>, 766524@bugs.debian.org
Subject: Re: Bug#766524: dpkg: Please provide a way to
install/unpack/configure without using argv[]
Date: Thu, 23 Oct 2014 22:20:54 +0200
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
Changed Bug title to 'dpkg: Please reenable and fix --command-fd' from 'dpkg: Please provide a way to install/unpack/configure without using argv[]'
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Sat, 01 Nov 2014 19:21:04 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.