Parcourir la source

* better error string for a failed dpkg-source

Michael Vogt il y a 21 ans
Parent
commit
ceb00be992
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      cmdline/apt-get.cc
  2. 1 0
      debian/changelog

+ 1 - 0
cmdline/apt-get.cc

@@ -2013,6 +2013,7 @@ bool DoSource(CommandLine &CmdL)
 	    if (system(S) != 0)
 	    if (system(S) != 0)
 	    {
 	    {
 	       fprintf(stderr,_("Unpack command '%s' failed.\n"),S);
 	       fprintf(stderr,_("Unpack command '%s' failed.\n"),S);
+	       fprintf(stderr,_("Check if the 'dpkg-dev' package is installed.\n");
 	       _exit(1);
 	       _exit(1);
 	    }	    
 	    }	    
 	 }
 	 }

+ 1 - 0
debian/changelog

@@ -4,6 +4,7 @@ apt (0.6.41.1) unstable; urgency=low
     - unmount the cdrom when apt failed to locate any package files
     - unmount the cdrom when apt failed to locate any package files
   * allow cdrom failures and fallback to other sources in that case
   * allow cdrom failures and fallback to other sources in that case
     (closes: #44135)
     (closes: #44135)
+  * better error text when dpkg-source fails 
 
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Mon, 12 Sep 2005 13:45:53 +0200
  -- Michael Vogt <michael.vogt@ubuntu.com>  Mon, 12 Sep 2005 13:45:53 +0200