Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243220 - portage: emerge.log should show old package that is removed during upgrade
Summary: portage: emerge.log should show old package that is removed during upgrade
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
: 268459 (view as bug list)
Depends on:
Blocks: 210077 268228
  Show dependency tree
 
Reported: 2008-10-22 14:32 UTC by Derek Dolney
Modified: 2009-05-03 22:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Dolney 2008-10-22 14:32:20 UTC
At the end of an package update emerge, the version string reported on the "Cleaning" and the "Post-Build Cleaning" lines in emerge.log are the new package version. I think it makes more sense if at least one of these lines reported the old package version.

If I do an emerge -e world, and there are a handful of updates mixed in with everything, can I later look in emerge.log (or anywhere) to find out which packaged were updated and what was the version that was cleaned?
Comment 1 Zac Medico gentoo-dev 2008-10-22 16:43:08 UTC
Changing the meaning of the 'Post-Build Cleaning' section is probably not a good idea since any changes to the format break tools that are designed to parse it. However, we can add a new section that contains the desired information.

Comment 2 Anders Hellgren gentoo-dev 2009-03-28 09:39:59 UTC
I guess this is really a regression from portage-2.1.4 or so. Previously, portage logged unmerges during autoclean in addition to Post-Build Cleaning etc.

$ genlop -u portage
 * sys-apps/portage
[snip]
     Sat Nov 10 10:24:09 2007 <<< sys-apps/portage-2.1.3.16
     Sat Nov 10 10:24:09 2007 >>> sys-apps/portage-2.1.3.19
     Thu Feb 14 18:23:17 2008 <<< sys-apps/portage-2.1.3.19
     Thu Feb 14 18:23:17 2008 >>> sys-apps/portage-2.1.4.4
     Thu Oct  9 20:08:45 2008 >>> sys-apps/portage-2.1.4.5
     Fri Dec 19 21:32:38 2008 >>> sys-apps/portage-2.1.6.1
Comment 3 Zac Medico gentoo-dev 2009-03-28 19:37:19 UTC
(In reply to comment #2)
> I guess this is really a regression from portage-2.1.4 or so. Previously,
> portage logged unmerges during autoclean in addition to Post-Build Cleaning
> etc.

That's true. In svn r13241 I've restored the old messages.
Comment 4 Zac Medico gentoo-dev 2009-04-11 04:26:15 UTC
This is fixed in 2.2_rc29.
Comment 5 Derek Dolney 2009-04-11 20:59:39 UTC
Yep, it is fixed. Thanks!
Comment 6 Zac Medico gentoo-dev 2009-05-02 02:38:19 UTC
This is fixed in 2.1.6.12.
Comment 7 Zac Medico gentoo-dev 2009-05-03 22:59:40 UTC
*** Bug 268459 has been marked as a duplicate of this bug. ***