Version 3 (modified by james, 10 years ago)
add things from Pk transaction.db

this is a draft for a yum transaction database

the idea is to keep track of all the info of what happened during a transaction, what caused it, the commands which invoked it, the state of things when it was invoked, etc

things to track

  • yum.conf.*
  • all the repos enabled and timestamps/checksums of their repomd.xml files
  • all the enabled plugins (nevra+pkgId)
  • yum nevra+pkgId
  • all the cli options (if any)
  • nevra + checksums in the rpmdb before the ts
  • nevra + checksums after the ts
  • package dependencies/relationships within the ts?
  • the proposed actions in the ts
  • the proposed actions in the ts broken down into install/remove te's
  • any/all logging output from the ts (tricksy)
  • result/errorcode of the ts run
  • timestamp of the operation
  • getuid(), getloginuid()? -- something so that different users doing "sudo yum blah" could be differentiated?
  • duration

This is part of the YumProposedDbs page