Hi.

Is there some sort of logfile that urpmi maintains about its rpm actions?

I would like to have a log file, maybe /var/log/urpmi/installed, which
should list the package names which were installed and the date/time when
this package was installed.  Further, there should be
/var/log/urpmi/removed, which should list all the true removals.  That is,
it should list whenever urpme was run, and not the "kinda" removals that are
done when updating a package.  Further, there might be
/var/log/urpmi/combined, which should contain the contents of both files
plus a "flag" indicating whether this was an install or removal.   Well, I
could live with only this file being implemented as long as something like
"grep 'removal' /var/log/urpmi/combined" would lsit all the removals.  And
lastly there should be a /var/log/urpmi/updates, listing which packages were
updated and which one was present beforehand.

Format of those files:

installed:

date    package_name_version_release

removed:

date    package_name_version_release

combined:

date    type    package_name_version_release

updates:

date    old_package_name_version_release        new_pkg_name_version_release

This would allow to easily keep track of what package actions where done
when.

Maybe this should be implemented in rpm, so that really everything might be
logged.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die g�nstige Art an Linux Distributionen zu kommen
                Uptime: 4 days 23 hours 32 minutes

Reply via email to