From bf53f39c9a0221b670ffff74053ed36fc502d5a0 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 11 Apr 2018 12:59:06 +0200 Subject: Support --with-source in show & search commands --- cmdline/apt-cache.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cmdline') diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index 085962699..f1b1e144d 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -470,12 +470,7 @@ static bool DumpAvail(CommandLine &) for (pkgCache::VerFile **J = VFList; *J != 0;) { pkgCache::PkgFileIterator File(*Cache,(*J)->File + Cache->PkgFileP); - if (File.IsOk() == false) - { - _error->Error(_("Package file %s is out of sync."),File.FileName()); - break; - } - + // FIXME: Add support for volatile/with-source files FileFd PkgF(File.FileName(),FileFd::ReadOnly, FileFd::Extension); if (_error->PendingError() == true) break; -- cgit v1.2.3