Bug 198265

Summary: yum.log does not show package version when erasing
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: brsmith, katzj, palo.simo, stephent98, Stuart.Kirk
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-18 20:51:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Tyler 2006-07-10 18:41:52 UTC
Description of problem:
/var/log/yum.log does not show the package version when erasing,
while it does show the package version when installing or updating.

Version-Release number of selected component (if applicable):
yum-2.6.1-0.fc5

How reproducible:
always

Steps to Reproduce:
1. yum erase foo
2. tail /var/log/yum.log
3. The version of foo just erased is not in yum.log.
  
Actual results from /var/log/yum.log:
May 17 07:39:11 Erased: vnc-server
May 17 07:39:13 Erased: vnc

Expected results:
Package version should be shown as in:
May 19 14:40:33 Updated: ntp.i386 4.2.0.a.20050816-11.FC5
May 19 14:40:37 Installed: kmod-nvidia.i686 1.0.8756-3.2.6.16_1.2111_FC5

Comment 1 Jeremy Katz 2006-09-18 20:51:43 UTC
Unfortunately, there's no data passed back from rpm as to what the version of
the removed package was and thus there's not anything we can really do :(

Comment 2 Stuart R. Kirk 2008-10-14 05:08:06 UTC
*** Bug 466827 has been marked as a duplicate of this bug. ***

Comment 3 James Antill 2009-02-02 17:35:07 UTC
*** Bug 483389 has been marked as a duplicate of this bug. ***

Comment 4 Steve Tyler 2013-08-04 21:07:37 UTC
This is fixed in F19.
Changing resolution to CURRENTRELEASE.

$ sudo grep Erased /var/log/yum.log | head -1
Jun 29 22:46:12 Erased: evolution-ews-3.8.3-1.fc19.x86_64
$ rpm -q yum rpm
yum-3.4.3-104.fc19.noarch
rpm-4.11.1-1.fc19.x86_64