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

[cmdline/apt-get.cc] correct the order of picked package binary vs source
in the source command in the msg "No source package x picking y instead"

David Kalnischkies лет назад: 17
Родитель
Сommit
717ec7d41a
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      cmdline/apt-get.cc
  2. 1 0
      debian/changelog

+ 1 - 1
cmdline/apt-get.cc

@@ -1309,7 +1309,7 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs,
 
       // show name mismatches
       if (IsMatch == true && Parse->Package() != Src)       
-	 ioprintf(c1out,  _("No source package '%s' picking '%s' instead\n"), Parse->Package().c_str(), Src.c_str());
+	 ioprintf(c1out,  _("No source package '%s' picking '%s' instead\n"), Src.c_str(), Parse->Package().c_str());
       
       if (VerTag.empty() == false)
       {

+ 1 - 0
debian/changelog

@@ -6,6 +6,7 @@ apt (0.7.22.3) unstable; urgency=low
       instead of the full package list. (Closes: #537450)
     - ShowBroken() in build-dep (by Mike O'Connor, Closes: #145916)
     - check for statfs.f_type (by Robert Millan, Closes: #509313)
+    - correct the order of picked package binary vs source in source
   * apt-pkg/contrib/strutl.cc:
     - enable thousand separator according to the current locale
       (by Luca Bruno, Closes: #223712)