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

Debian Bug report logs - #1086012
dpkg: don't spawn a subprocess when it's not needed

version graph

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

Reported by: Matteo Croce <technoboy85@gmail.com>

Date: Thu, 24 Oct 2024 22:45:02 UTC

Severity: wishlist

Tags: patch

Found in version dpkg/1.21.22

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#1086012; Package dpkg. (Thu, 24 Oct 2024 22:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Matteo Croce <technoboy85@gmail.com>:
New Bug report received and forwarded. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Thu, 24 Oct 2024 22:45:02 GMT) (full text, mbox, link).


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

From: Matteo Croce <technoboy85@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: don't spawn a subprocess when it's not needed
Date: Fri, 25 Oct 2024 00:41:56 +0200
[Message part 1 (text/plain, inline)]
Package: dpkg
Version: 1.21.22
Severity: wishlist

Dear Maintainer,

I'm working on the dpkg codebase, and I've found that when extracting a
.deb with an uncompressed data.tar, we can install it even without calling
dpk-deb as subprocess.
Find a patch attached.

Regards,

-- Package-specific info:
This system uses merged-usr-via-aliased-dirs, going behind dpkg's
back, breaking its core assumptions. This can cause silent file
overwrites and disappearances, and its general tools misbehavior.
See <https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>.

-- System Information:
Debian Release: 12.7
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.0-saturno (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-5+b1
ii  libc6        2.36-9+deb12u8
ii  liblzma5     5.4.1-0.2
ii  libmd0       1.0.4-2
ii  libselinux1  3.4-1+b6
ii  libzstd1     1.5.4+dfsg2-5
ii  tar          1.34+dfsg-1.2+deb12u1
ii  zlib1g       1:1.2.13.dfsg-1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            2.6.1
pn  debsig-verify  <none>

-- no debconf information
[0001-dpkg-don-t-spawn-a-subprocess-if-not-needed.patch (text/plain, attachment)]

Added tag(s) patch. Request was from Matteo Croce <technoboy85@gmail.com> to control@bugs.debian.org. (Fri, 25 Oct 2024 10:15:02 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 13:25:30 2025; Machine Name: berlioz

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.