From 60a0cb424e91acebc2bba0f9add220b474e432e6 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 18 Jun 2016 09:59:08 +0200 Subject: source: if download is skipped, don't try to unpack If apt decides it can't download a file it is relatively pointless to try to tell dpkg-source to unpack it. --- apt-private/private-source.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/apt-private/private-source.cc b/apt-private/private-source.cc index dd52a8822..220f1bd5a 100644 --- a/apt-private/private-source.cc +++ b/apt-private/private-source.cc @@ -438,6 +438,7 @@ bool DoSource(CommandLine &CmdL) { ioprintf(c1out, "Skipping download of file '%s' as requested hashsum is not available for authentication\n", localFile.c_str()); + Dsc[J].Dsc.clear(); continue; } -- cgit v1.2.3