From 90139c7075afb283428d561b81037039bc7ba149 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 21 Nov 2015 18:15:22 +0100 Subject: show potentially arch-qualified fullname in 'apt show' We do not show the architecture as a dedicated field as this is rather technical information, but as packagename it makes sense to show the architecture as other part of apt will refer to it in this way. --- apt-private/private-show.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'apt-private') diff --git a/apt-private/private-show.cc b/apt-private/private-show.cc index 34214d955..c2517e130 100644 --- a/apt-private/private-show.cc +++ b/apt-private/private-show.cc @@ -219,6 +219,7 @@ static bool DisplayRecordV2(pkgCacheFile &CacheFile, pkgCache::VerIterator const RW.push_back(pkgTagSection::Tag::Remove("Description")); RW.push_back(pkgTagSection::Tag::Remove("Description-md5")); // improve + RW.push_back(pkgTagSection::Tag::Rewrite("Package", V.ParentPkg().FullName(true))); RW.push_back(pkgTagSection::Tag::Rewrite("Installed-Size", installed_size)); RW.push_back(pkgTagSection::Tag::Remove("Size")); RW.push_back(pkgTagSection::Tag::Rewrite("Download-Size", package_size)); -- cgit v1.2.3-70-g09d2