bool include_summary=true);
-
+// helper to describe global state
bool ShowList(std::ostream &out, std::string Title, std::string List,
std::string VersionsList);
void ShowBroken(std::ostream &out,CacheFile &Cache,bool Now);
void Stats(std::ostream &out, pkgDepCache &Dep);
+// helpers to display single package data
+std::string
+GetArchiveSuite(pkgCacheFile &CacheFile, pkgCache::VerIterator ver);
+
// prompting
bool YnPrompt(bool Default=true);
bool AnalPrompt(const char *Text);
else
package_size = _("unknown");
+ std::string suite = GetArchiveSuite(CacheFile, V);
TFRewriteData RW[] = {
{"Conffiles",0},
{"Description",0},
{"Description-md5",0},
{"Installed-Size", installed_size.c_str(), 0},
{"Size", package_size.c_str(), "Download-Size"},
+ {"Archive-Origin", suite.c_str(), 0},
{}
};
if(TFRewrite(stdout, Tags, NULL, RW) == false)