这是indexloc提供的服务,不要输入任何密码

Debian Bug report logs - #766524
dpkg: Please reenable and fix --command-fd

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Michael Vogt <mvo@debian.org>

Date: Thu, 23 Oct 2014 19:15:02 UTC

Severity: wishlist

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


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).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michael Vogt <mvo@debian.org>
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).


Message #10 received at 766524@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
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).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jul 28 14:29:04 2025; Machine Name: bembo

Debian Bug tracking system

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/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.