{
Status = StatIdle;
ErrorText = LookupTag(Message,"Message");
+ UsedMirror = LookupTag(Message,"UsedMirror");
if (QueueCounter <= 1)
{
/* This indicates that the file is not available right now but might
Args[i++] = report.c_str();
Args[i++] = UsedMirror.c_str();
Args[i++] = FailCode.c_str();
+ Args[i++] = NULL;
pid_t pid = ExecFork();
if(pid < 0)
{
}
else if(pid == 0)
{
- execvp(report.c_str(), (char**)Args);
+ execvp(Args[0], (char**)Args);
+ std::cerr << "Could not exec " << Args[0] << std::endl;
+ _exit(100);
}
if(!ExecWait(pid, "report-mirror-failure"))
{
_error->Warning("Couldn't report problem to '%s'",
- _config->Find("Acquire::Mirror::ReportFailures").c_str());
+ _config->Find("Methods::Mirror::ProblemReporting").c_str());
}
}
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-01-24 17:20+0100\n"
+"POT-Creation-Date: 2007-02-01 12:41+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#: apt-inst/extract.cc:467 apt-pkg/contrib/configuration.cc:750
#: apt-pkg/contrib/cdromutl.cc:153 apt-pkg/sourcelist.cc:324
-#: apt-pkg/acquire.cc:421 apt-pkg/clean.cc:38 methods/mirror.cc:99
+#: apt-pkg/acquire.cc:421 apt-pkg/clean.cc:38 methods/mirror.cc:96
#, c-format
msgid "Unable to read %s"
msgstr ""
msgstr ""
#: apt-pkg/contrib/cdromutl.cc:149 apt-pkg/acquire.cc:427 apt-pkg/clean.cc:44
-#: methods/mirror.cc:105
+#: methods/mirror.cc:102
#, c-format
msgid "Unable to change to %s"
msgstr ""
msgid "IO Error saving source cache"
msgstr ""
-#: apt-pkg/acquire-item.cc:128
+#: apt-pkg/acquire-item.cc:131
#, c-format
msgid "rename failed, %s (%s -> %s)."
msgstr ""
-#: apt-pkg/acquire-item.cc:275 apt-pkg/acquire-item.cc:984
+#: apt-pkg/acquire-item.cc:279 apt-pkg/acquire-item.cc:988
msgid "MD5Sum mismatch"
msgstr ""
-#: apt-pkg/acquire-item.cc:679
+#: apt-pkg/acquire-item.cc:683
msgid "There is no public key available for the following key IDs:\n"
msgstr ""
-#: apt-pkg/acquire-item.cc:792
+#: apt-pkg/acquire-item.cc:796
#, c-format
msgid ""
"I wasn't able to locate a file for the %s package. This might mean you need "
"to manually fix this package. (due to missing arch)"
msgstr ""
-#: apt-pkg/acquire-item.cc:851
+#: apt-pkg/acquire-item.cc:855
#, c-format
msgid ""
"I wasn't able to locate file for the %s package. This might mean you need to "
"manually fix this package."
msgstr ""
-#: apt-pkg/acquire-item.cc:887
+#: apt-pkg/acquire-item.cc:891
#, c-format
msgid ""
"The package index files are corrupted. No Filename: field for package %s."
msgstr ""
-#: apt-pkg/acquire-item.cc:974
+#: apt-pkg/acquire-item.cc:978
msgid "Size mismatch"
msgstr ""