string SourcesURI = _config->FindDir("Dir::State::lists") +
URItoFileName(IndexURI("Sources"));
string SourcesURIgzip = SourcesURI + ".gz";
string SourcesURI = _config->FindDir("Dir::State::lists") +
URItoFileName(IndexURI("Sources"));
string SourcesURIgzip = SourcesURI + ".gz";
SourcesURI = SourcesURIgzip;
return new debSrcRecordParser(SourcesURI,this);
SourcesURI = SourcesURIgzip;
return new debSrcRecordParser(SourcesURI,this);
return _error->Error("Problem with MergeList %s",PackageFile.c_str());
// Check the release file
return _error->Error("Problem with MergeList %s",PackageFile.c_str());
// Check the release file
{
FileFd Rel(ReleaseFile,FileFd::ReadOnly);
if (_error->PendingError() == true)
{
FileFd Rel(ReleaseFile,FileFd::ReadOnly);
if (_error->PendingError() == true)
/* This is really only used for progress reporting. */
unsigned long debTranslationsIndex::Size() const
{
/* This is really only used for progress reporting. */
unsigned long debTranslationsIndex::Size() const
{