From: David Kalnischkies Date: Mon, 3 Sep 2012 11:03:02 +0000 (+0200) Subject: report the package name with architecture in the "no file" error message X-Git-Tag: 0.9.7.5~4^2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/92f212774bebbff6aabd3081910f570a77180911?ds=sidebyside;hp=3663572002ef82c146c125afea8942fe842f25c4 report the package name with architecture in the "no file" error message --- diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 296426c80..ae9143e0d 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/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.