Просмотр исходного кода

* better error string for a failed dpkg-source

Michael Vogt лет назад: 21
Родитель
Сommit
ceb00be992
2 измененных файлов с 2 добавлено и 0 удалено
  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)
 	    {
 	       fprintf(stderr,_("Unpack command '%s' failed.\n"),S);
+	       fprintf(stderr,_("Check if the 'dpkg-dev' package is installed.\n");
 	       _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
   * allow cdrom failures and fallback to other sources in that case
     (closes: #44135)
+  * better error text when dpkg-source fails 
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Mon, 12 Sep 2005 13:45:53 +0200