Your message dated Thu, 13 Aug 2015 15:03:18 +0200 with message-id <20150813130318.GA21261@crossbow> and subject line Re: Bug#359989: apt: [apt-get source] fails if dpkg-source is not installed has caused the Debian Bug report #359989, regarding apt: [apt-get source] fails if dpkg-source is not installed to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 359989: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=359989 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt: [apt-get source] fails if dpkg-source is not installed
- From: Jari Aalto <jari.aalto@cante.net>
- Date: Thu, 30 Mar 2006 00:23:45 +0200
- Message-id: <20060329222345.18805.12621.reportbug@cante>
Package: apt Version: 0.6.43.3 Severity: normal Note, this bug report is from Debian STABLE 3.1 (*), but send from Debian/unstable, because the machine did not have an email connection. SYMPTOMS test:/tmp# apt-get source jwm Reading Package Lists... Done Building Dependency Tree... Done Need to get 331kB of source archives. Get:1 http://debian.cante.net stable/main jwm 1.1-1 (dsc) [337B] Get:2 http://debian.cante.net stable/main jwm 1.1-1 (tar) [331kB] Fetched 331kB in 0s (397kB/s) sh: dpkg-source: not found Unpack command 'dpkg-source -x jwm_1.1-1.dsc' failed. E: Child process failed SUGGESTION It would be better if apt checked the existence of dpkg-source before attempting download and notify user to install dpkg-dev package. Catching this eerror condition at a very early state would be preferrable that at the end. -- Package-specific info: -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.15-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US) Versions of packages apt depends on: ii libc6 2.3.6-4 GNU C Library: Shared libraries an ii libgcc1 1:4.0.3-1 GCC support library ii libstdc++6 4.0.3-1 The GNU Standard C++ Library v3 Versions of packages apt recommends: pn debian-archive-keyring <none> (no description available) -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 359989-done@bugs.debian.org
- Subject: Re: Bug#359989: apt: [apt-get source] fails if dpkg-source is not installed
- From: David Kalnischkies <david@kalnischkies.de>
- Date: Thu, 13 Aug 2015 15:03:18 +0200
- Message-id: <20150813130318.GA21261@crossbow>
- In-reply-to: <E1FbI5N-0002rc-7Q@cante>
- References: <20060329222345.18805.12621.reportbug@cante> <E1FbI5N-0002rc-7Q@cante>
On Wed, May 03, 2006 at 05:12:13PM +0300, Jari Aalto wrote: > | The error message in the latest apt is: > | _("Unpack command '%s' failed.\n"),S); > | _("Check if the 'dpkg-dev' package is installed.\n")); > | > | This should be sufficient IMHO. I don't think the command should fail > | before the download because having the source available may be still > | helpful and a subsequent apt-get source (after install dpkg-dev) > | should do the right thing and unpack the source. > > Erm, this looks like backwards A: > > 1. run apt-get just to see it fail > 2. install additional package > 2. re-run apt-get to make it work > > When B: > > 1. run apt-get, refuse to continue, because > preliminary setup is not satisfied > (missing command dpkg-source) > > Catching errors as early as possible is considered > much better from usability perspective. Expect that apt-get source can be used without using dpkg-source, it is just the last step which is the unpack with dpkg-source which can't be done. Beside, your B is just a reworded A as B is failing in 1 just as well, so you have to install something else and rerun again either way… So, seems to be the best we can do without breaking users who don't want to install dpkg-source – and apt is happily picking up files it has downloaded previously (e.g. in a failed 1.) so you haven't lost anything. Hence closing. Best regards David KalnischkiesAttachment: signature.asc
Description: Digital signature
--- End Message ---