Browse Source

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

debian/1.8.y
David Kalnischkies 10 years ago
parent
commit
92f212774b
  1. 2
      apt-pkg/deb/dpkgpm.cc

2
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.

Loading…
Cancel
Save