]> git.saurik.com Git - apt.git/commitdiff
report the package name with architecture in the "no file" error message
authorDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 3 Sep 2012 11:03:02 +0000 (13:03 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 3 Sep 2012 11:03:02 +0000 (13:03 +0200)
apt-pkg/deb/dpkgpm.cc

index 296426c80f478f05065afe2642d047d6ae0baaf8..ae9143e0d842e26c930b34bc3a4c45d3dd4a8fed 100644 (file)
@@ -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.