Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20155 - Package install/uninstall/upgrade history tracking
Summary: Package install/uninstall/upgrade history tracking
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 03:51 UTC by Eric Thibodeau
Modified: 2011-10-30 22:37 UTC (History)
0 users

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 Eric Thibodeau 2003-04-29 03:51:09 UTC
Here is a copy/paste of the forum discussion: 
Portage should store in [insert data retention system of choice here, ie: db, mysql, flat file] the 
complete package history of a system from it's life to death.  
  
 This db would containe date stamped entries (duh!) of packages with their install, upgrade, 
uninstall history as well as their use and compile flags. I beleive this would be an incredibly 
useful tool for system admins AND users so that one could be able to track down where and 
when a system went Ying instead of Yang. This database would be able to bring back a system 
to any state prior to any call to the emerge system (neat huh!).  
  
 Portage already detects which config files require some changing, so these could be stored in a 
config.tbz file (which would most probably be VERY small) and have a reference to it in the 
aformentionned database.  
  
 I don't think any of this would take a tremendous amount of space but I do see it as a 
precious resource for system administrator that would like to have a free conscious when 
managing their Gentoo server and stations, giving them the ultimate tool to go back a few 
steps.
Comment 1 SpanKY gentoo-dev 2003-04-29 12:08:03 UTC
you can review emerge.log in /var/log/
Comment 2 Eric Thibodeau 2003-04-29 12:18:16 UTC
Uhm...shoot me someone....hehehe Okay, so that is defenately a good start :) At least past 
history could be added to the database. 
- There is a big number that appears in the log at one point (at the begining of each entry), is 
that an unformated date stamp? 
- What about centralising the information I listed in the original post (C and USE flags, maintain 
config files). 
 
Obviously, you guys do what you want with this, this could be a completely different app that 
gathers all the scattered info. But I beleive portage has all the info readily available during the 
whole process so it would make sens if it at least dumped this info in an organized fashion in a 
db(ish) format. 
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-08-03 12:11:22 UTC
genlop / splat exist.