summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorIshan Jayawardena <udeshike@gmail.com>2011-07-22 17:23:20 +0530
committerIshan Jayawardena <udeshike@gmail.com>2011-07-22 17:23:20 +0530
commit48ebb4bf6bef1c1ff214e21f303ac78d2145de2d (patch)
tree9a681e9b47c61b98e677880b7e6e29e9837ad759 /apt-pkg/acquire-item.cc
parent6cbe417f510a776abdb6c9bc8dc44de3b2c78d51 (diff)
Improvements to progress reporting.
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index a4dff39e3..c22b7fb31 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -2264,14 +2264,16 @@ void pkgAcqDebdelta::Failed(string Message,pkgAcquire::MethodConfig *Cnf)
if (DebdeltaStatus == Fetching)
FileStatus = "fetch " + Desc.URI;
else if (DebdeltaStatus == Patching)
+ {
FileStatus = "patch " + DestFile;
- std::cerr << "\n[Debdelta] Failed to " << FileStatus << "." << std::endl;
+ std::cerr << "Failed to " << FileStatus << "." << std::endl;
+ }
if (Debug)
{
std::cerr << "[Debdelta] Message:\n=====================\n" << Message
<< "\n=====================" << std::endl;
}
- std::cerr << "\n[Debdelta] Queuing the regular deb for downloading..." << std::endl;
+ //std::cerr << "Queuing the regular deb for downloading..." << std::endl;
// download the regular deb if debdelta failed to download or the patching failed.
Complete = true; // false;
Status = pkgAcquire::Item::StatDone; // StatError;