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

report the package name with architecture in the "no file" error message

David Kalnischkies лет назад: 14
Родитель
Сommit
92f212774b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apt-pkg/deb/dpkgpm.cc

+ 1 - 1
apt-pkg/deb/dpkgpm.cc

@@ -187,7 +187,7 @@ pkgDPkgPM::~pkgDPkgPM()
 bool pkgDPkgPM::Install(PkgIterator Pkg,string File)
 {
    if (File.empty() == true || Pkg.end() == true)
-      return _error->Error("Internal Error, No file name for %s",Pkg.Name());
+      return _error->Error("Internal Error, No file name for %s",Pkg.FullName().c_str());
 
    // If the filename string begins with DPkg::Chroot-Directory, return the
    // substr that is within the chroot so dpkg can access it.